Skip to content

Commit e6cfa38

Browse files
authored
Add worker heartbeats capability (#623)
1 parent f185229 commit e6cfa38

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

openapi/openapiv2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12175,6 +12175,10 @@
1217512175
"asyncUpdate": {
1217612176
"type": "boolean",
1217712177
"title": "True if the namespace supports async update"
12178+
},
12179+
"workerHeartbeats": {
12180+
"type": "boolean",
12181+
"title": "True if the namespace supports worker heartbeats"
1217812182
}
1217912183
},
1218012184
"description": "Namespace capability details. Should contain what features are enabled in a namespace."
@@ -15461,7 +15465,7 @@
1546115465
"additionalProperties": {
1546215466
"type": "string"
1546315467
},
15464-
"description": "A key-value map for any customized purpose.\nIf data already exists on the namespace, \nthis will merge with the existing key values."
15468+
"description": "A key-value map for any customized purpose.\nIf data already exists on the namespace,\nthis will merge with the existing key values."
1546515469
},
1546615470
"state": {
1546715471
"$ref": "#/definitions/v1NamespaceState",

openapi/openapiv3.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9059,6 +9059,9 @@ components:
90599059
asyncUpdate:
90609060
type: boolean
90619061
description: True if the namespace supports async update
9062+
workerHeartbeats:
9063+
type: boolean
9064+
description: True if the namespace supports worker heartbeats
90629065
description: Namespace capability details. Should contain what features are enabled in a namespace.
90639066
NamespaceReplicationConfig:
90649067
type: object
@@ -12555,7 +12558,10 @@ components:
1255512558
type: object
1255612559
additionalProperties:
1255712560
type: string
12558-
description: "A key-value map for any customized purpose.\n If data already exists on the namespace, \n this will merge with the existing key values."
12561+
description: |-
12562+
A key-value map for any customized purpose.
12563+
If data already exists on the namespace,
12564+
this will merge with the existing key values.
1255912565
state:
1256012566
enum:
1256112567
- NAMESPACE_STATE_UNSPECIFIED

temporal/api/namespace/v1/message.proto

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ message NamespaceInfo {
3434
bool sync_update = 2;
3535
// True if the namespace supports async update
3636
bool async_update = 3;
37+
// True if the namespace supports worker heartbeats
38+
bool worker_heartbeats = 4;
3739
}
3840

3941
// Whether scheduled workflows are supported on this namespace. This is only needed
@@ -68,8 +70,8 @@ message UpdateNamespaceInfo {
6870
string description = 1;
6971
string owner_email = 2;
7072
// A key-value map for any customized purpose.
71-
// If data already exists on the namespace,
72-
// this will merge with the existing key values.
73+
// If data already exists on the namespace,
74+
// this will merge with the existing key values.
7375
map<string, string> data = 3;
7476
// New namespace state, server will reject if transition is not allowed.
7577
// Allowed transitions are:

0 commit comments

Comments
 (0)