Use partitions.json to generate PartitionMetadata classes#6694
Open
S-Saranya1 wants to merge 5 commits intomasterfrom
Open
Use partitions.json to generate PartitionMetadata classes#6694S-Saranya1 wants to merge 5 commits intomasterfrom
S-Saranya1 wants to merge 5 commits intomasterfrom
Conversation
davidh44
reviewed
Jan 30, 2026
| @@ -0,0 +1,6 @@ | |||
| { | |||
| "type": "feature", | |||
| "category": "AWS SDK for Java v", | |||
Contributor
There was a problem hiding this comment.
Suggested change
| "category": "AWS SDK for Java v", | |
| "category": "AWS SDK for Java v2", |
| private static final String ID = "aws"; | ||
|
|
||
| private static final String NAME = "AWS Standard"; | ||
| private static final String NAME = "aws"; |
Contributor
There was a problem hiding this comment.
Any reason for this change?
Contributor
Author
There was a problem hiding this comment.
Fixed this, added a display naming mapping since partitions.json doesn't have this field, keeping the public API behavior same.
davidh44
approved these changes
Feb 11, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Migrate PartitionMetadata code generation from endpoints.json to partitions.json.
Motivation and Context
Currently, PartitionMetadata classes are being generated from endpoints.json. Endpoints.json is legacy and adds latency during client initialization, this PR migrates PartitionMetadataGenerator to use partitions.json as the data source instead.
Modifications
Testing