Skip to content

Commit 85b9721

Browse files
committed
add version status to ListWorkerDeployments
1 parent f6c47f9 commit 85b9721

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

openapi/openapiv2.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6812,6 +6812,9 @@
68126812
},
68136813
"routingConfig": {
68146814
"$ref": "#/definitions/v1RoutingConfig"
6815+
},
6816+
"status": {
6817+
"$ref": "#/definitions/v1VersionStatus"
68156818
}
68166819
},
68176820
"title": "A subset of WorkerDeploymentInfo"

openapi/openapiv3.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8251,6 +8251,15 @@ components:
82518251
format: date-time
82528252
routingConfig:
82538253
$ref: '#/components/schemas/RoutingConfig'
8254+
status:
8255+
enum:
8256+
- VERSION_STATUS_UNSPECIFIED
8257+
- VERSION_STATUS_CURRENT
8258+
- VERSION_STATUS_RAMPING
8259+
- VERSION_STATUS_DRAINING
8260+
- VERSION_STATUS_DRAINED
8261+
type: string
8262+
format: enum
82548263
description: A subset of WorkerDeploymentInfo
82558264
ListWorkflowExecutionsResponse:
82568265
type: object

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2146,6 +2146,7 @@ message ListWorkerDeploymentsResponse {
21462146
string name = 1;
21472147
google.protobuf.Timestamp create_time = 2;
21482148
temporal.api.deployment.v1.RoutingConfig routing_config = 3;
2149+
temporal.api.enums.v1.VersionStatus status = 4;
21492150
}
21502151
}
21512152

0 commit comments

Comments
 (0)