Skip to content

Commit 2c8564b

Browse files
committed
Add serverless_deployments capability flag
1 parent 18e3e3f commit 2c8564b

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

openapi/openapiv2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9239,7 +9239,7 @@
92399239
"properties": {
92409240
"computeConfig": {
92419241
"$ref": "#/definitions/v1ComputeConfig",
9242-
"description": "Optional. Contains the new worker compute configuration for the Worker\nDeployment. Used as the default compute configuration for new Worker\nDeployment Versions created for this Worker Deployment."
9242+
"description": "Optional. Contains the new worker compute configuration for the Worker\nDeployment. Used for worker scale management."
92439243
},
92449244
"identity": {
92459245
"type": "string",
@@ -13055,6 +13055,10 @@
1305513055
"nexus": {
1305613056
"type": "boolean",
1305713057
"description": "True if the server supports Nexus operations.\nThis flag is dependent both on server version and for Nexus to be enabled via server configuration."
13058+
},
13059+
"serverlessDeployments": {
13060+
"type": "boolean",
13061+
"description": "True if the server supports serverless deployments.\nThis flag is dependent both on server version and for serverless deployments\nto be enabled via server configuration."
1305813062
}
1305913063
},
1306013064
"description": "System capability details."

openapi/openapiv3.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9351,8 +9351,7 @@ components:
93519351
- $ref: '#/components/schemas/ComputeConfig'
93529352
description: |-
93539353
Optional. Contains the new worker compute configuration for the Worker
9354-
Deployment. Used as the default compute configuration for new Worker
9355-
Deployment Versions created for this Worker Deployment.
9354+
Deployment. Used for worker scale management.
93569355
identity:
93579356
type: string
93589357
description: Optional. The identity of the client who initiated this request.
@@ -10171,6 +10170,12 @@ components:
1017110170
description: |-
1017210171
True if the server supports Nexus operations.
1017310172
This flag is dependent both on server version and for Nexus to be enabled via server configuration.
10173+
serverlessDeployments:
10174+
type: boolean
10175+
description: |-
10176+
True if the server supports serverless deployments.
10177+
This flag is dependent both on server version and for serverless deployments
10178+
to be enabled via server configuration.
1017410179
description: System capability details.
1017510180
GetWorkerBuildIdCompatibilityResponse:
1017610181
type: object

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,11 @@ message GetSystemInfoResponse {
12681268
// This flag is dependent both on server version and for Nexus to be enabled via server configuration.
12691269
bool nexus = 11;
12701270

1271+
// True if the server supports serverless deployments.
1272+
// This flag is dependent both on server version and for serverless deployments
1273+
// to be enabled via server configuration.
1274+
bool serverless_deployments = 12;
1275+
12711276
}
12721277
}
12731278

0 commit comments

Comments
 (0)