Any reason the OODT File Manager wouldn’t work? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Chief Architect Instrument Software and Science Data Systems Section (398) NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 168-519, Mailstop: 168-527 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Associate Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----Original Message----- From: DImuthu Upeksha <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, July 16, 2015 at 5:45 PM To: "[email protected]" <[email protected]> Subject: POC : File Management service for GridChem -Airavata integration >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 > > >
