-
Couldn't load subscription status.
- Fork 337
Remove support for unused custom User serialization #5339
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
DarshitChanpura
merged 4 commits into
opensearch-project:main
from
nibix:remove-custom-serialization
May 15, 2025
Merged
Remove support for unused custom User serialization #5339
DarshitChanpura
merged 4 commits into
opensearch-project:main
from
nibix:remove-custom-serialization
May 15, 2025
Conversation
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
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5339 +/- ##
==========================================
- Coverage 72.03% 71.84% -0.19%
==========================================
Files 384 380 -4
Lines 23927 23677 -250
Branches 3656 3636 -20
==========================================
- Hits 17235 17011 -224
+ Misses 4856 4846 -10
+ Partials 1836 1820 -16
🚀 New features to boost your workflow:
|
cwperks
reviewed
May 15, 2025
src/main/java/org/opensearch/security/support/Base64Helper.java
Outdated
Show resolved
Hide resolved
cwperks
reviewed
May 15, 2025
src/main/java/org/opensearch/security/support/Base64Helper.java
Outdated
Show resolved
Hide resolved
|
Thank you @nibix , overall the PR lgtm and is a nice simplification in the code. |
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
cwperks
approved these changes
May 15, 2025
DarshitChanpura
approved these changes
May 15, 2025
bce9fad
into
opensearch-project:main
46 of 47 checks passed
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.
Description
As determined in #5200, OpenSearch 3 no longer needs to have the custom User serialization code which was introduced in #2802. That's because the last version of OpenSearch that used custom serialization was 2.13. OpenSearch 3 no longer supports mixed clusters with OpenSearch 2.13 - the minimum mixed cluster version is OpenSearch 2.19. Thus, the code in question is no longer necessary.
This PR removes the unneccesary code.
This is part of the preparation for the immutable user object PR #5212 which aims to remove a couple of special subclasses of the User object and thus breaks tests in the custom serialization code.
Issues Resolved
Fixes #5200
Testing
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.