Skip to content

feat: updated SystemIdentifier to have type instead of region#70

Merged
gogro merged 3 commits intomainfrom
feat/api-changes-for-system-sepration
Dec 18, 2025
Merged

feat: updated SystemIdentifier to have type instead of region#70
gogro merged 3 commits intomainfrom
feat/api-changes-for-system-sepration

Conversation

@NamanBalaji
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 8, 2025

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedDec 17, 2025, 3:21 PM

…ted api messages

feat: updated SystemIdntifier to have type instead of region and related api messages
@NamanBalaji NamanBalaji force-pushed the feat/api-changes-for-system-sepration branch from 5dcee4a to 0fabe40 Compare December 8, 2025 14:23
message SetSystemLabelsRequest {
string external_id = 1;
SystemIdentifier system_identifier = 1;
string region = 2;
Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor Author

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;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont reuse indices please

Copy link
Copy Markdown
Contributor Author

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 ?

@jmpTeixeira02
Copy link
Copy Markdown

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?

Copy link
Copy Markdown
Contributor

@gogro gogro left a 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

@sonarqubecloud
Copy link
Copy Markdown

@NamanBalaji NamanBalaji changed the base branch from system-sepration to main December 17, 2025 15:20
@NamanBalaji NamanBalaji self-assigned this Dec 17, 2025
@gogro gogro merged commit 087d245 into main Dec 18, 2025
7 of 8 checks passed
@gogro gogro deleted the feat/api-changes-for-system-sepration branch December 18, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants