Skip to content

Commit

Permalink
Add namespace level capabilities (#341)
Browse files Browse the repository at this point in the history
Add namespace level capabilities
  • Loading branch information
Quinn-With-Two-Ns authored Jan 30, 2024
1 parent 1dcc8e1 commit 34e5d97
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions temporal/api/namespace/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ message NamespaceInfo {
// A key-value map for any customized purpose.
map<string, string> data = 5;
string id = 6;
// All capabilities the namespace supports.
Capabilities capabilities = 7;

// Namespace capability details. Should contain what features are enabled in a namespace.
message Capabilities {
// True if the namespace supports eager workflow start.
bool eager_workflow_start = 1;
// True if the namespace supports sync update
bool sync_update = 2;
// True if the namespace supports async update
bool async_update = 3;
}

// Whether scheduled workflows are supported on this namespace. This is only needed
// temporarily while the feature is experimental, so we can give it a high tag.
Expand Down

0 comments on commit 34e5d97

Please sign in to comment.