Release Date: Thursday, August 25, 2016
Release Highlights
Change Log
- New Feature
- Improvement
- EAGLE-51 - Refactor client re-login logic to avoid duplicate code in all Client Apis
- EAGLE-74 - Generate AbstractWebApp and allow users to extend and customize behavior of the web service
- EAGLE-75 - Add exception handling in WebApp to return proper http response
- EAGLE-78 - HTTP Server Lifecycle should follow app's lifecycle
- EAGLE-80 - Auto document the generated REST API in an Eagle service
- EAGLE-83 - Auto open service client
- EAGLE-84 - Asynchronous invocation of request-reply service methods
New Feature
Improvement
EAGLE-51 - Refactor client re-login logic to avoid duplicate code in all Client Apis |
Non-functional refactor for code cleanup, efficiency and a step towards supporting zero garbage implementation. Upgrade to X 3.4.68 or higher required. |
EAGLE-74 - Generate AbstractWebApp and allow users to extend and customize behavior of the web service |
Refactored web app functionality to generate AbstractWebApp and allow users to extend and customize behavior of the web service. |
EAGLE-75 - Add exception handling in WebApp to return proper http response |
Added exception handling in Web App to return proper http response. |
EAGLE-78 - HTTP Server Lifecycle should follow app's lifecycle |
Refactored the lifecycle of HTTP server, embedded by the service's web app's App.java, to follow the same lifecycle as the app itself. |
EAGLE-80 - Auto document the generated REST API in an Eagle service |
Eagle comments in the ADM and ASM models to be aggregated into the generated WebApp and integrated with a REST API documentation tool so that my comments eventually self document the REST API. This story should do the following: |
EAGLE-83 - Auto open service client |
Prior to this release, a user had to invoke open() on an Eagle service client before issuing service requests. This story enhances the client to automatically invoke open() when the first service request is issued. |
EAGLE-84 - Asynchronous invocation of request-reply service methods |
Prior to this release, all service requests issued on an Eagle service client completed synchronously i.e. the thread invoking the request method blocks and waits for the response to come back before returning to the caller. This release implements the capability to do asynchronous request-reply. To perform asynchronous request-reply, the user would invoke the OperationRequestAsync method (newly generated in this release) which is the async request method corresponding to the synchronous OperationRequest method (generated prior to this release). The method would send the request and immediately return to the caller. To asynchronously receive the response for the request, the client should provide the object containing @EventHandler methods to handle the response messages to the Client constructor. This would result in the response messages being asynchronously dispatched to the registered handlers. The OperationRequest methods continue to be generated for synchronously request-reply invocation of service methods. |