Skip to content

Commit 983d345

Browse files
committed
Remove conflict token from CreateWorkerDeploymentVersion
1 parent 06713e4 commit 983d345

3 files changed

Lines changed: 4 additions & 57 deletions

File tree

openapi/openapiv2.json

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10943,11 +10943,6 @@
1094310943
"requestId": {
1094410944
"type": "string",
1094510945
"description": "A unique identifier for this create request for idempotence. Typically UUIDv4.\nIf a second request with the same ID is recieved, it is considered a successful no-op.\nRetrying with a different request ID for the same deployment name + build ID is an error."
10946-
},
10947-
"conflictToken": {
10948-
"type": "string",
10949-
"format": "byte",
10950-
"description": "Optional. This value is returned so that it can be optionally passed to APIs\nthat write to the Worker Deployment state to ensure that the state\ndid not change between this API call and a future write."
1095110946
}
1095210947
},
1095310948
"description": "Used to update the compute config of a Worker Deployment Version."
@@ -12643,14 +12638,7 @@
1264312638
}
1264412639
},
1264512640
"v1CreateWorkerDeploymentVersionResponse": {
12646-
"type": "object",
12647-
"properties": {
12648-
"conflictToken": {
12649-
"type": "string",
12650-
"format": "byte",
12651-
"description": "This value is returned so that it can be optionally passed to APIs that\nwrite to the WorkerDeployment state to ensure that the state did not\nchange between this API call and a future write."
12652-
}
12653-
}
12641+
"type": "object"
1265412642
},
1265512643
"v1CreateWorkflowRuleResponse": {
1265612644
"type": "object",
@@ -17128,14 +17116,7 @@
1712817116
}
1712917117
},
1713017118
"v1UpdateWorkerDeploymentVersionComputeConfigResponse": {
17131-
"type": "object",
17132-
"properties": {
17133-
"conflictToken": {
17134-
"type": "string",
17135-
"format": "byte",
17136-
"description": "This value is returned so that it can be optionally passed to APIs that\nwrite to the WorkerDeployment state to ensure that the state did not\nchange between this API call and a future write."
17137-
}
17138-
}
17119+
"type": "object"
1713917120
},
1714017121
"v1UpdateWorkerDeploymentVersionMetadataResponse": {
1714117122
"type": "object",

openapi/openapiv3.yaml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9657,14 +9657,7 @@ components:
96579657
description: Creates a new WorkerDeploymentVersion.
96589658
CreateWorkerDeploymentVersionResponse:
96599659
type: object
9660-
properties:
9661-
conflictToken:
9662-
type: string
9663-
description: |-
9664-
This value is returned so that it can be optionally passed to APIs that
9665-
write to the WorkerDeployment state to ensure that the state did not
9666-
change between this API call and a future write.
9667-
format: bytes
9660+
properties: {}
96689661
CreateWorkflowRuleRequest:
96699662
type: object
96709663
properties:
@@ -15429,13 +15422,6 @@ components:
1542915422
A unique identifier for this create request for idempotence. Typically UUIDv4.
1543015423
If a second request with the same ID is recieved, it is considered a successful no-op.
1543115424
Retrying with a different request ID for the same deployment name + build ID is an error.
15432-
conflictToken:
15433-
type: string
15434-
description: |-
15435-
Optional. This value is returned so that it can be optionally passed to APIs
15436-
that write to the Worker Deployment state to ensure that the state
15437-
did not change between this API call and a future write.
15438-
format: bytes
1543915425
description: Used to update the compute config of a Worker Deployment Version.
1544015426
UpdateWorkerDeploymentVersionComputeConfigRequest_ScalingGroupUpdate:
1544115427
type: object
@@ -15448,14 +15434,7 @@ components:
1544815434
format: field-mask
1544915435
UpdateWorkerDeploymentVersionComputeConfigResponse:
1545015436
type: object
15451-
properties:
15452-
conflictToken:
15453-
type: string
15454-
description: |-
15455-
This value is returned so that it can be optionally passed to APIs that
15456-
write to the WorkerDeployment state to ensure that the state did not
15457-
change between this API call and a future write.
15458-
format: bytes
15437+
properties: {}
1545915438
UpdateWorkerDeploymentVersionMetadataRequest:
1546015439
type: object
1546115440
properties:

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,10 +2412,6 @@ message CreateWorkerDeploymentVersionRequest {
24122412
}
24132413

24142414
message CreateWorkerDeploymentVersionResponse {
2415-
// This value is returned so that it can be optionally passed to APIs that
2416-
// write to the WorkerDeployment state to ensure that the state did not
2417-
// change between this API call and a future write.
2418-
bytes conflict_token = 1;
24192415
}
24202416

24212417
// Used for manual deletion of Versions. User can delete a Version only when all the
@@ -2480,18 +2476,9 @@ message UpdateWorkerDeploymentVersionComputeConfigRequest {
24802476
// If a second request with the same ID is recieved, it is considered a successful no-op.
24812477
// Retrying with a different request ID for the same deployment name + build ID is an error.
24822478
string request_id = 4;
2483-
2484-
// Optional. This value is returned so that it can be optionally passed to APIs
2485-
// that write to the Worker Deployment state to ensure that the state
2486-
// did not change between this API call and a future write.
2487-
bytes conflict_token = 5;
24882479
}
24892480

24902481
message UpdateWorkerDeploymentVersionComputeConfigResponse {
2491-
// This value is returned so that it can be optionally passed to APIs that
2492-
// write to the WorkerDeployment state to ensure that the state did not
2493-
// change between this API call and a future write.
2494-
bytes conflict_token = 1;
24952482
}
24962483

24972484
// Used to validate the compute config without attaching it to a Worker Deployment Version.

0 commit comments

Comments
 (0)