From 3e6faa0ed3dc5d230c92b25e27bf80bab5424a9e Mon Sep 17 00:00:00 2001 From: aniewielska Date: Mon, 23 Nov 2020 18:12:58 +0000 Subject: [PATCH] Introduce fixed service info type --- openapi/task_execution_service.openapi.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/openapi/task_execution_service.openapi.yaml b/openapi/task_execution_service.openapi.yaml index e937a6b..705bf25 100644 --- a/openapi/task_execution_service.openapi.yaml +++ b/openapi/task_execution_service.openapi.yaml @@ -518,6 +518,17 @@ components: type: string example: us-west-1 description: Resources describes the resources requested by a task. + tesServiceType: + allOf: + - $ref: 'https://raw.githubusercontent.com/ga4gh-discovery/ga4gh-service-info/v1.0.0/service-info.yaml#/components/schemas/ServiceType' + - type: object + required: + - artifact + properties: + artifact: + type: string + enum: [tes] + example: tes tesServiceInfo: allOf: - $ref: 'https://raw.githubusercontent.com/ga4gh-discovery/ga4gh-service-info/v1.0.0/service-info.yaml#/components/schemas/Service' @@ -533,6 +544,8 @@ components: example: - file:///path/to/local/funnel-storage - s3://ohsu-compbio-funnel/storage + type: + $ref: '#/components/schemas/tesServiceType' tesState: type: string readOnly: True