Skip to content

Commit af66aed

Browse files
committed
make proto
1 parent 01149a5 commit af66aed

2 files changed

Lines changed: 44 additions & 4 deletions

File tree

openapi/openapiv2.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@
19921992
},
19931993
"/api/v1/namespaces/{namespace}/worker-deployments/{deploymentName}/set-current-version": {
19941994
"post": {
1995-
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.\nExperimental. This API might significantly change or be removed in a future release.",
1995+
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.\nThis API is eventually consistent. When it returns success, we guarantee that the new\nRoutingConfig has been committed durably to the Worker Deployment Manager. The relevant\ntask queues will receive the new configuration in the background. To check whether all\ntask queue partitions have the latest config, see `routing_config_propagation_state`.\nExperimental. This API might significantly change or be removed in a future release.",
19961996
"operationId": "SetWorkerDeploymentCurrentVersion2",
19971997
"responses": {
19981998
"200": {
@@ -2037,7 +2037,7 @@
20372037
},
20382038
"/api/v1/namespaces/{namespace}/worker-deployments/{deploymentName}/set-ramping-version": {
20392039
"post": {
2040-
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.\nExperimental. This API might significantly change or be removed in a future release.",
2040+
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.\nThis API is eventually consistent. When it returns success, we guarantee that the new\nRoutingConfig has been committed durably to the Worker Deployment Manager. The relevant\ntask queues will receive the new configuration in the background. To check whether all\ntask queue partitions have the latest config, see `routing_config_propagation_state`.\nExperimental. This API might significantly change or be removed in a future release.",
20412041
"operationId": "SetWorkerDeploymentRampingVersion2",
20422042
"responses": {
20432043
"200": {
@@ -5466,7 +5466,7 @@
54665466
},
54675467
"/namespaces/{namespace}/worker-deployments/{deploymentName}/set-current-version": {
54685468
"post": {
5469-
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.\nExperimental. This API might significantly change or be removed in a future release.",
5469+
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.\nThis API is eventually consistent. When it returns success, we guarantee that the new\nRoutingConfig has been committed durably to the Worker Deployment Manager. The relevant\ntask queues will receive the new configuration in the background. To check whether all\ntask queue partitions have the latest config, see `routing_config_propagation_state`.\nExperimental. This API might significantly change or be removed in a future release.",
54705470
"operationId": "SetWorkerDeploymentCurrentVersion",
54715471
"responses": {
54725472
"200": {
@@ -5511,7 +5511,7 @@
55115511
},
55125512
"/namespaces/{namespace}/worker-deployments/{deploymentName}/set-ramping-version": {
55135513
"post": {
5514-
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.\nExperimental. This API might significantly change or be removed in a future release.",
5514+
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.\nThis API is eventually consistent. When it returns success, we guarantee that the new\nRoutingConfig has been committed durably to the Worker Deployment Manager. The relevant\ntask queues will receive the new configuration in the background. To check whether all\ntask queue partitions have the latest config, see `routing_config_propagation_state`.\nExperimental. This API might significantly change or be removed in a future release.",
55155515
"operationId": "SetWorkerDeploymentRampingVersion",
55165516
"responses": {
55175517
"200": {
@@ -13918,6 +13918,16 @@
1391813918
}
1391913919
}
1392013920
},
13921+
"v1TaskQueuePropagation": {
13922+
"type": "string",
13923+
"enum": [
13924+
"TASK_QUEUE_PROPAGATION_UNSPECIFIED",
13925+
"TASK_QUEUE_PROPAGATION_IN_PROGRESS",
13926+
"TASK_QUEUE_PROPAGATION_COMPLETED"
13927+
],
13928+
"default": "TASK_QUEUE_PROPAGATION_UNSPECIFIED",
13929+
"description": "Indicates whether a change to the Task Queue User Data has been\npropagated to all relevant Task Queues and their partitions.\n\n - TASK_QUEUE_PROPAGATION_UNSPECIFIED: Task Queue Propagation unspecified.\n - TASK_QUEUE_PROPAGATION_IN_PROGRESS: Task Queue Propagation is currently in progress.\n - TASK_QUEUE_PROPAGATION_COMPLETED: Task Queue Propagation has completed successfully."
13930+
},
1392113931
"v1TaskQueueReachability": {
1392213932
"type": "object",
1392313933
"properties": {
@@ -14591,6 +14601,10 @@
1459114601
"routingConfig": {
1459214602
"$ref": "#/definitions/v1RoutingConfig"
1459314603
},
14604+
"routingConfigPropagationState": {
14605+
"$ref": "#/definitions/v1TaskQueuePropagation",
14606+
"description": "Indicates whether the routing_config has been fully propagated to all\nrelevant task queues and partitions."
14607+
},
1459414608
"lastModifierIdentity": {
1459514609
"type": "string",
1459614610
"description": "Identity of the last client who modified the configuration of this Deployment. Set to the\n`identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and\n`SetWorkerDeploymentRampingVersion`."

openapi/openapiv3.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,10 @@ paths:
17711771
description: |-
17721772
Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping
17731773
Version if it is the Version being set as Current.
1774+
This API is eventually consistent. When it returns success, we guarantee that the new
1775+
RoutingConfig has been committed durably to the Worker Deployment Manager. The relevant
1776+
task queues will receive the new configuration in the background. To check whether all
1777+
task queue partitions have the latest config, see `routing_config_propagation_state`.
17741778
Experimental. This API might significantly change or be removed in a future release.
17751779
operationId: SetWorkerDeploymentCurrentVersion
17761780
parameters:
@@ -1810,6 +1814,10 @@ paths:
18101814
description: |-
18111815
Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for
18121816
gradual ramp to unversioned workers too.
1817+
This API is eventually consistent. When it returns success, we guarantee that the new
1818+
RoutingConfig has been committed durably to the Worker Deployment Manager. The relevant
1819+
task queues will receive the new configuration in the background. To check whether all
1820+
task queue partitions have the latest config, see `routing_config_propagation_state`.
18131821
Experimental. This API might significantly change or be removed in a future release.
18141822
operationId: SetWorkerDeploymentRampingVersion
18151823
parameters:
@@ -4858,6 +4866,10 @@ paths:
48584866
description: |-
48594867
Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping
48604868
Version if it is the Version being set as Current.
4869+
This API is eventually consistent. When it returns success, we guarantee that the new
4870+
RoutingConfig has been committed durably to the Worker Deployment Manager. The relevant
4871+
task queues will receive the new configuration in the background. To check whether all
4872+
task queue partitions have the latest config, see `routing_config_propagation_state`.
48614873
Experimental. This API might significantly change or be removed in a future release.
48624874
operationId: SetWorkerDeploymentCurrentVersion
48634875
parameters:
@@ -4897,6 +4909,10 @@ paths:
48974909
description: |-
48984910
Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for
48994911
gradual ramp to unversioned workers too.
4912+
This API is eventually consistent. When it returns success, we guarantee that the new
4913+
RoutingConfig has been committed durably to the Worker Deployment Manager. The relevant
4914+
task queues will receive the new configuration in the background. To check whether all
4915+
task queue partitions have the latest config, see `routing_config_propagation_state`.
49004916
Experimental. This API might significantly change or be removed in a future release.
49014917
operationId: SetWorkerDeploymentRampingVersion
49024918
parameters:
@@ -11906,6 +11922,16 @@ components:
1190611922
format: date-time
1190711923
routingConfig:
1190811924
$ref: '#/components/schemas/RoutingConfig'
11925+
routingConfigPropagationState:
11926+
enum:
11927+
- TASK_QUEUE_PROPAGATION_UNSPECIFIED
11928+
- TASK_QUEUE_PROPAGATION_IN_PROGRESS
11929+
- TASK_QUEUE_PROPAGATION_COMPLETED
11930+
type: string
11931+
description: |-
11932+
Indicates whether the routing_config has been fully propagated to all
11933+
relevant task queues and partitions.
11934+
format: enum
1190911935
lastModifierIdentity:
1191011936
type: string
1191111937
description: |-

0 commit comments

Comments
 (0)