vivekshresta opened a new pull request #26:
URL: https://github.com/apache/airavata-mft/pull/26


   As part of developing MFT dashboard, a few APIs are missing and this pull 
request addresses a few of them.
   
   The two main features in this PR are:
   1. **Persistent storage**: Previously, only current running transfers could 
be tracked. Added persistent storage support in controller service to store 
TransferRequests which are initiated. Code to track the status of a request and 
the time taken to reach that status are also added.
   2. **Grpc support for controller service**: The current communication 
between the API service and controller service is asynchronous and done through 
consul. When a client requests for the details of all transfer requests or a 
single transfer request, the call needs to be synchronous. Added grpc support 
for controller service. Made a slight change in the way the grpc stubs are 
stored. Since host and port are both keys, concatenated them to create a unique 
key that has a mapping with the grpc stub. Introduced three new modules in 
refactoring(client, service and stub).
   For now, marked controller's server port as 8082 and grpc port as 7005. This 
can be changed after review.
   3. Small changes in the build scripts which involve changing the path of 
controller war file in builld.sh. Renamed few files to follow the same standard 
in other modules.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to