Feature #13138

Task #13068: PerformFISH Analytical Toolkit Service

Import interface - Perform service

Added by Fabio Sinibaldi about 1 year ago. Updated 7 months ago.

Status:ClosedStart date:Jan 14, 2019
Priority:NormalDue date:
Assignee:Fabio Sinibaldi% Done:

100%

Category:application
Sprint:zz - PerformFish Service
Milestones:
Duration:

Description

This ticket tracks the activity regarding the develop of Import interface.

Expected Methods are :

Submit :
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)

History

#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

#2 Updated by Fabio Sinibaldi about 1 year ago

  • % Done changed from 50 to 90

#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 @fabio.sinibaldi@isti.cnr.it ? Do we have a farmId for testing purposes?

https://perform.dev.d4science.org/perform-service/gcube/service/import/{farmid}

#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.

#5 Updated by Fabio Sinibaldi 12 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Feedback

#6 Updated by Fabio Sinibaldi 12 months ago

Added method
"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.

#7 Updated by Fabio Sinibaldi 7 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF