From a2e65a6b127d620d90479330c08ca2951ed17e57 Mon Sep 17 00:00:00 2001 From: Nikos Papailiou Date: Fri, 24 Jan 2025 16:12:16 +0200 Subject: [PATCH 1/2] Update API spec for Nextflow --- openapi-v1.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/openapi-v1.yaml b/openapi-v1.yaml index c1a95c6..5b0001d 100644 --- a/openapi-v1.yaml +++ b/openapi-v1.yaml @@ -183,6 +183,8 @@ definitions: - python # r - r + # nextflow + - nextflow UDFType: description: UDF Type @@ -4593,6 +4595,32 @@ definitions: allowed to run indefinitely (subject to the server’s global limits). type: number x-nullable: true + storage: + description: > + Storage options for mounting persistent volumes. + type: array + x-omitempty: true + items: + $ref: "#/definitions/TGUDFStorage" + + TGUDFStorage: + description: Storage options for mounting persistent volumes. + type: object + properties: + path: + description: > + Mount path for the attached volume. + type: string + size: + description: > + Storage size. + type: string + example: 8Gi + storage_class: + description: > + Storage class to use for creating the volume. + type: string + example: gp2 FragmentMetadata: description: Fragment Metadata From 133b5e1801278174cdcf2915c59ece99a70256c0 Mon Sep 17 00:00:00 2001 From: Nikos Papailiou Date: Wed, 29 Jan 2025 15:36:46 +0200 Subject: [PATCH 2/2] Add Nextflow monitoring implementation with root taskgraphs --- openapi-v1.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/openapi-v1.yaml b/openapi-v1.yaml index 5b0001d..b0bf29c 100644 --- a/openapi-v1.yaml +++ b/openapi-v1.yaml @@ -3909,6 +3909,7 @@ definitions: enum: - batch - realtime + - nextflow TaskGraphLog: description: Logging information about the execution of a task graph. @@ -4013,6 +4014,20 @@ definitions: type: string x-omitempty: true description: The region of the cloud provider where this task graph executed. + root_task_graph_uuid: + type: string + x-omitempty: true + description: > + The UUID of the root taskgraph that this taskgraph is related to. + This is used to provide consistent tracking and UI view for graphs that + are executed by a set of taskgraphs. + children_task_graph_uuids: + description: > + If this is a root taskgraph, this contains the list of all its children + taskgraph UUIDs. + type: array + items: + type: string TaskGraphNodeMetadata: description: Metadata about an individual node in a task graph. @@ -10467,6 +10482,11 @@ paths: description: The UUID of the task graph entry. type: string required: true + - name: root_task_graph_uuid + in: query + description: UUID of the root taskgraph that this graph is assosiated with + type: string + required: false post: description: > Submit a single task graph for execution.