8000 Add include_deleted filter to ListNamespace API by alexshtin · Pull Request #167 · temporalio/api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add include_deleted filter to ListNamespace API #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions temporal/api/namespace/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,10 @@ message UpdateNamespaceInfo {
// Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
temporal.api.enums.v1.NamespaceState state = 4;
}

message NamespaceFilter {
// By default namespaces in NAMESPACE_STATE_DELETED state are not included.
// Setting include_deleted to true will include deleted namespaces.
// Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.
bool include_deleted = 1;
}
1 change: 1 addition & 0 deletions temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ message RegisterNamespaceResponse {
message ListNamespacesRequest {
int32 page_size = 1;
bytes next_page_token = 2;
temporal.api.namespace.v1.NamespaceFilter namespace_filter = 3;
}

message ListNamespacesResponse {
Expand Down
0