airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DImuthu Upeksha <dimuthu.upeks...@gmail.com>
Subject POC : File Management service for GridChem -Airavata integration
Date Fri, 17 Jul 2015 00:45:25 GMT
Hi All,

I have been working on coming up with an file management service to support
GridChem client - Airavata integration because currently there is no a
proper way to manage (upload/ download/ move) input and output files from
Airavata to local client and vice versa.

I considered two approaches

1. Simple way is to wrap normal scp based file upload and download
mechanism with a java client and provide it as an API
This method is very simple and straight forward however it is required to
store client's public key in Airavata side in order to do a scp call. So
usability and maintenance of this approach is somewhat complex and tiresome.

2. Implement a service using Thrift with TBinaryProtocol to move files from
Server to Client and vice versa. To ensure security for each service call,
an access token is required. This access token can be verified with
Hasini's OAuth security model.
Basic implementation of the Service can be found from [1]. This was written
by looking at GMS file service [2] functionalities.

[1] https://github.com/DImuthuUpe/ThriftFileService
[2]
https://github.com/SciGaP/GridChem-Middleware-Service/blob/master/src/org/gridchem/service/FileService.java

Thanks,
Dimuthu
-- 
Regards

W.Dimuthu Upeksha
Undergraduate
Department of Computer Science And Engineering

University of Moratuwa, Sri Lanka

Mime
View raw message