generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 105
Update user attributes XContent parsing logic #878
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
Merged
cwperks
merged 25 commits into
opensearch-project:main
from
cloud-gov:update-user-attribute-name-serde
Sep 23, 2025
+119
−43
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3667f1f
update User.toXContent() to create array of attributes as key=value f…
markdboyd f0f0b03
update testUserXContentIncludesCustomAttributes to test for correct s…
markdboyd 08265dc
update User.parse() for XContent to parse the custom attribute names …
markdboyd 3c5214a
update test to validate that custom_attribute_names are set properly
markdboyd e18bf52
update User.toXContent() to remove custom_attributes property
markdboyd 6a92d54
update test of User.toXContent() to verify that custom_attributes is …
markdboyd 60b3279
apply spotless formatting
markdboyd b3907db
update User.parse() for XContent to parse custom_attribute_names entr…
markdboyd a64b951
add tests for parsing of custom_attribute_names for User.parse() of X…
markdboyd 0efdd9f
apply spotless formatting
markdboyd e53fbea
remove parsing of custom_attributes from XContent in User.parse() sin…
markdboyd 58d1b3b
update test for User.parse() of XContent to remove custom attributes …
markdboyd 75633d7
update User.toString() to include custom attribute names as list inst…
markdboyd 3009510
apply spotless formatting
markdboyd 8f75530
remove CUSTOM_ATTRIBUTES field on User
markdboyd 74d2fb9
add javadoc to User.parse() for XContent
markdboyd 1f1bedb
update User.parse() to throw IOException when custom_attribute_names …
markdboyd 0b411af
refactor logic for getting parsing user attribute info from custom_at…
markdboyd 730d50d
remove duplicate logic
markdboyd 73dbe1b
update User.parseAttributeInfoFromCustomAttributeName to throw Illega…
markdboyd ccfddde
update thrown exceptions for User.parse() of string
markdboyd fd273cd
remove unnecessary throws declarations
markdboyd 2e2979e
remove more unnecessary throws declarations
markdboyd 1749759
update test to use a java text block
markdboyd da33e93
apply spotless formatting
markdboyd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.