Skip to content

Commit 7acda96

Browse files
authored
Add WorkflowPauseEnabled to namespace capabilities (#683)
**What changed?** Add a `workflow_pause` to namespace capabilities **Why?** UI will use this capability while workflow pause is in public preview **Breaking changes** No **Server PR** NA
1 parent 0477814 commit 7acda96

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12615,6 +12615,10 @@
1261512615
"reportedProblemsSearchAttribute": {
1261612616
"type": "boolean",
1261712617
"title": "True if the namespace supports reported problems search attribute"
12618+
},
12619+
"workflowPause": {
12620+
"type": "boolean",
12621+
"title": "True if the namespace supports pausing workflows"
1261812622
}
1261912623
},
1262012624
"description": "Namespace capability details. Should contain what features are enabled in a namespace."

openapi/openapiv3.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9344,6 +9344,9 @@ components:
93449344
reportedProblemsSearchAttribute:
93459345
type: boolean
93469346
description: True if the namespace supports reported problems search attribute
9347+
workflowPause:
9348+
type: boolean
9349+
description: True if the namespace supports pausing workflows
93479350
description: Namespace capability details. Should contain what features are enabled in a namespace.
93489351
NamespaceInfo_Limits:
93499352
type: object

temporal/api/namespace/v1/message.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ message NamespaceInfo {
3838
bool worker_heartbeats = 4;
3939
// True if the namespace supports reported problems search attribute
4040
bool reported_problems_search_attribute = 5;
41+
// True if the namespace supports pausing workflows
42+
bool workflow_pause = 6;
4143
}
4244

4345
// Namespace configured limits

0 commit comments

Comments
 (0)