From 48029be5a68f2bf0064f90196e8aac4e39502f56 Mon Sep 17 00:00:00 2001 From: Philipp Winter Date: Fri, 19 Jul 2024 09:56:29 -0500 Subject: [PATCH] Update how cloud provider and region are set. Remove the `CloudRegion` object that previously encapsulated the cloud provider and region. --- openapi-v1.yaml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/openapi-v1.yaml b/openapi-v1.yaml index 2c9df61..55456a5 100644 --- a/openapi-v1.yaml +++ b/openapi-v1.yaml @@ -1192,8 +1192,14 @@ definitions: x-omitempty: true description: > If set, the client-defined ID of the node within this task's graph. - region: - $ref: "#/definitions/CloudRegion" + cloud_provider: + type: string + x-omitempty: true + description: The name of the cloud provider where this task executed. + cloud_region: + type: string + x-omitempty: true + description: The region of the cloud provider where this task executed. PaginationMetadata: properties: @@ -3944,8 +3950,14 @@ definitions: task_graph_id: type: string description: The UUID of the task graph. - region: - $ref: "#/definitions/CloudRegion" + cloud_provider: + type: string + x-omitempty: true + description: The name of the cloud provider where this task graph executed. + cloud_region: + type: string + x-omitempty: true + description: The region of the cloud provider where this task graph executed. TaskGraphNodeMetadata: description: Metadata about an individual node in a task graph. @@ -4857,19 +4869,6 @@ definitions: # Retry task transient errors - OnTransientError - CloudRegion: - description: Represents the region of a particular cloud provider - type: object - properties: - provider: - description: The cloud provider's name, e.g. "AWS" - type: string - enum: - - AWS - region: - description: The cloud provider's region, e.g. "us-east-1" - type: string - paths: /.stats: get: