Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update how cloud provider and region are set. #471

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 16 additions & 17 deletions openapi-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down
Loading