-
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
Conversation
|
The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).
|
…ted api messages feat: updated SystemIdntifier to have type instead of region and related api messages
5dcee4a to
0fabe40
Compare
| message SetSystemLabelsRequest { | ||
| string external_id = 1; | ||
| SystemIdentifier system_identifier = 1; | ||
| string region = 2; |
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.
should region move to SystemIdentifier?
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.
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.
|
|
||
| message UpdateSystemL1KeyClaimRequest { | ||
| string external_id = 1; | ||
| SystemIdentifier system_identifier = 1; |
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 ?
|
After applying this changes to the CMK Client there are some things that feel a little weird. Some operations such as Update use this new SystemIdentifier (externalID and Type) all on the same field, but ListSystems for example contains everything at the root level. Just for consistency could we pick one way of doing it and apply it elsewhere? |
gogro
left a comment
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.
cannot break api right now
…er (#72) Co-authored-by: Naman Balaji <namanb487@gmail.com>
|



No description provided.