-
Notifications
You must be signed in to change notification settings - Fork 1
feat: updated SystemIdentifier to have type instead of region #70
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,7 +65,7 @@ | |
| } | ||
|
|
||
| message DeleteSystemRequest { | ||
| string external_id = 1; | ||
| SystemIdentifier system_identifier = 1; | ||
|
Check failure on line 68 in proto/kms/api/cmk/registry/system/v1/system.proto
|
||
| string region = 2; | ||
| } | ||
|
|
||
|
|
@@ -74,7 +74,7 @@ | |
| } | ||
|
|
||
| message UpdateSystemL1KeyClaimRequest { | ||
| string external_id = 1; | ||
| SystemIdentifier system_identifier = 1; | ||
|
Check failure on line 77 in proto/kms/api/cmk/registry/system/v1/system.proto
|
||
| string region = 2; | ||
| string tenant_id = 3; | ||
| bool l1key_claim = 4; | ||
|
|
@@ -102,7 +102,7 @@ | |
| } | ||
|
|
||
| message UpdateSystemStatusRequest { | ||
| string external_id = 1; | ||
| SystemIdentifier system_identifier = 1; | ||
|
Check failure on line 105 in proto/kms/api/cmk/registry/system/v1/system.proto
|
||
| string region = 2; | ||
| kms.api.cmk.types.v1.Status status = 3; | ||
| } | ||
|
|
@@ -113,11 +113,11 @@ | |
|
|
||
| message SystemIdentifier { | ||
| string external_id = 1; | ||
| string region = 2; | ||
| string type = 2; | ||
| } | ||
|
|
||
| message SetSystemLabelsRequest { | ||
| string external_id = 1; | ||
| SystemIdentifier system_identifier = 1; | ||
| string region = 2; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should region move to SystemIdentifier?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Idea is to have a clear sepration between "logical" and regional systems. SystemIdentifier currently serves the purpose of identifying the logical system so I don't think adding region to it makes sense. |
||
| map<string, string> labels = 3; | ||
| } | ||
|
|
@@ -127,7 +127,7 @@ | |
| } | ||
|
|
||
| message RemoveSystemLabelsRequest { | ||
| string external_id = 1; | ||
| SystemIdentifier system_identifier = 1; | ||
| string region = 2; | ||
| repeated string label_keys = 3; // Keys of labels to delete | ||
| } | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont reuse indices please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need backwards compatibility for this ?