Feature #13069

Task #13068: PerformFISH Analytical Toolkit Service

Mappings interface

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

Status:ClosedStart date:Dec 19, 2018
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 Mappings interface.

Expected Methods are :

Batch :
input = parameters name,type,farmid
output = JSON object Batch
collateral effect = registers Batch if not present

Farm :
input = parameter farmid OR farmuuid
output = JSON object Farm


Related issues

Duplicated by gCube - Task #13035: PerformFish Anonymization services Rejected Dec 13, 2018

History

#1 Updated by Fabio Sinibaldi about 1 year ago

  • Duplicated by Task #13035: PerformFish Anonymization services added

#2 Updated by Fabio Sinibaldi about 1 year ago

Interface specifications :
BasePath = 'mappings'

Batch method specifications :
HTTP method = GET
path = 'batch'
Query Parameter 'name' mandatory
Query Parameter 'type' mandatory
Query Parameter 'farmid' mandatory

Farm method specifications :
HTTP method = GET
path = 'farm'
Query Parameter 'farmid'
Query Parameter 'farmuuid'

NB : in Farm method either 'farmid' or 'farmuuid' needs to be specified. If 'farmid' is specified, 'farmuuid' is ignored.

#3 Updated by Fabio Sinibaldi about 1 year ago

  • % Done changed from 0 to 70
  • Status changed from New to In Progress

#4 Updated by Fabio Sinibaldi about 1 year ago

Methods of this interface will only be accessible by DM's clientID.

#5 Updated by Fabio Sinibaldi about 1 year ago

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

Interface implementation is completed, and will be available for integration testing as soon as #13112 is completed.

#6 Updated by Fabio Sinibaldi about 1 year ago

JSON example output

Farm :
{"id":12682549,"companyId":8531951,"associationId":13241865,"companyUUID":"b5017581-c247-4c8d-9d80-e50cded598e0","associationUUID":"86bfe74a-b0f8-42b0-a810-ac3f242db51e","uuid":"0f168c76-c5dd-4584-ad84-51fb3a5a2f05"}

Batch : {"id":2,"uuid":"e851b1c3-03bf-465d-9197-b4a2ef591966","name":"gino","type":"pino","farmId":12682549}

#7 Updated by Fabio Sinibaldi about 1 year ago

Preproduction instance up & running.
Example call :
http://perform.dev.d4science.org/perform-service/gcube/service/mappings/farm?farmid=12682549

NB : only DataMiner tokens are accepted for this interface.

#8 Updated by Fabio Sinibaldi 7 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF