Skip to content

Commit e4246bb

Browse files
authored
Add namespace option to search attributes operations (#258)
1 parent 386b7cf commit e4246bb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

temporal/api/namespace/v1/message.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ message NamespaceConfig {
6262
// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
6363
temporal.api.enums.v1.ArchivalState visibility_archival_state = 5;
6464
string visibility_archival_uri = 6;
65+
// Map from field name to alias.
66+
map<string, string> custom_search_attribute_aliases = 7;
6567
}
6668

6769
message BadBinaries {

temporal/api/operatorservice/v1/request_response.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import "temporal/api/enums/v1/common.proto";
3838
message AddSearchAttributesRequest {
3939
// Mapping between search attribute name and its IndexedValueType.
4040
map<string, temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
41+
string namespace = 2;
4142
}
4243

4344
message AddSearchAttributesResponse {
@@ -46,12 +47,14 @@ message AddSearchAttributesResponse {
4647
message RemoveSearchAttributesRequest {
4748
// Search attribute names to delete.
4849
repeated string search_attributes = 1;
50+
string namespace = 2;
4951
}
5052

5153
message RemoveSearchAttributesResponse {
5254
}
5355

5456
message ListSearchAttributesRequest {
57+
string namespace = 1;
5558
}
5659

5760
message ListSearchAttributesResponse {

0 commit comments

Comments
 (0)