Skip to content
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

Change Namespace data map to contain bytes #361

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions temporal/api/namespace/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ message NamespaceInfo {
string description = 3;
string owner_email = 4;
// A key-value map for any customized purpose.
map<string, string> data = 5;
map<string, bytes> data = 5;
string id = 6;
// All capabilities the namespace supports.
Capabilities capabilities = 7;
Expand Down Expand Up @@ -92,7 +92,7 @@ message UpdateNamespaceInfo {
// A key-value map for any customized purpose.
// If data already exists on the namespace,
// this will merge with the existing key values.
map<string, string> data = 3;
map<string, bytes> data = 3;
// New namespace state, server will reject if transition is not allowed.
// Allowed transitions are:
// Registered -> [ Deleted | Deprecated | Handover ]
Expand Down
2 changes: 1 addition & 1 deletion temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ message RegisterNamespaceRequest {
repeated temporal.api.replication.v1.ClusterReplicationConfig clusters = 5;
string active_cluster_name = 6;
// A key-value map for any customized purpose.
map<string, string> data = 7;
map<string, bytes> data = 7;
string security_token = 8;
bool is_global_namespace = 9;
// If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
Expand Down
Loading