Commit Graph

109 Commits

Author SHA1 Message Date
Madawa Soysa
5482c12ac5 Implement logout handler
Fixes entgra/product-iots#113
2019-06-25 16:06:16 +10:00
Madawa Soysa
c6a96d6682 Fix possible NPE when media type is not specified
Content type is automatically generated from the Http client hence removing
2019-06-25 16:04:46 +10:00
lasanthaDLPDS
340d28c03b Improve UI intercepter response 2019-06-21 18:31:05 +05:30
Madawa Soysa
f15fdae8a5 Refactor ui request interceptor
Related to: entgra/product-iots#103
2019-06-21 17:16:26 +10:00
Madawa Soysa
cd9e3e52ed Implement multipart request handling through invoker
This commit improves the Invoker handler to handle multi part requests by generating the proxy request body using the body of the incoming multi part requests.

Fixes entgra/product-iots#111
Related to entgra/product-iots#103
2019-06-21 15:22:17 +10:00
Madawa Soysa
a8843711e0 Fix issue with auth data persistence key
This commit changes the auth data persistance key to the value of platform instead of using a hard coded constant.

Fixes entgra/product-iots#110
Related to entgra/product-iots#103
2019-06-21 15:11:19 +10:00
Madawa Soysa
0e4234db97 Retrieve session auth data from the header value X-Platform
Fixes entgra/product-iots#110
Related to entgra/product-iots#103
2019-06-21 14:59:27 +10:00
lasanthaDLPDS
7f0be5f28b Merge with upstream master 2019-06-17 20:13:12 +05:30
Madawa Soysa
2260bd004d Implement GET/POST/PUT/DELETE methods and refactor module name
This commit implements the related HTTP methods in the request interceptor servlet to intercept and send the request to the backend.

Also refactored the module name request-handler -> ui-request-interceptor.

Fixes entgra/product-iots#108
2019-06-17 15:58:44 +10:00