Task #13068: PerformFISH Analytical Toolkit Service
Import interface - Perform service
|Status:||Closed||Start date:||Jan 14, 2019|
|Assignee:||Fabio Sinibaldi||% Done:|
|Sprint:||zz - PerformFish Service|
This ticket tracks the activity regarding the develop of Import interface.
Expected Methods are :
input = batch_type,source_url,source_version,farmid
collateral effect = calls DM in order to import source excel data
Get submitted :
input = farmid
output = List of ImportRoutineDescriptor (JSON)
#1 Updated by Fabio Sinibaldi about 1 year ago
- % Done changed from 30 to 50
Interface specifications :
BasePath = 'import'
Submit method specifications :
HTTP method = POST
Query Parameter 'batch_type' mandatory
Query Parameter 'farmid' mandatory
Query Parameter 'source' mandatory
Query Parameter 'source_version' mandatory
Get Submitted method specifications :
HTTP method = GET
path = farmid
#3 Updated by Massimiliano Assante about 1 year ago
An actual call via GET for the getSubmitted method should be as follows (in preVRE), correct @firstname.lastname@example.org ? Do we have a farmId for testing purposes?
#4 Updated by Fabio Sinibaldi about 1 year ago
Yes, that url is correct. Please note that the service might not be available depending on bugfixing status.
For the farm parameter, any farmid from the database used by the GUI would be correct.
Anyway currently the test db contains at least one farm, with id 12682549.
#6 Updated by Fabio Sinibaldi 12 months ago
"Get last by status", returns same output format of Get Submitted, grouped per batch_type, filtered by status and with having MAX(end_time).
HTTP method = GET
path = "last"/farmid
Query Parameter 'status' optional (default value : "COMPLETE")
Updated feature already available on preproduction environment.