Conversation
|
Contributor
Author
|
Seems we have mo coverage for Base64 encoded binaries. |
rishabhdaim
reviewed
Oct 11, 2025
Contributor
rishabhdaim
left a comment
There was a problem hiding this comment.
Can we create unit cases for these files, just to compare the output before & after.
mbaedke
reviewed
Oct 13, 2025
| ByteArrayOutputStream baos = new ByteArrayOutputStream(); | ||
| try { | ||
| Base64.decode(value, baos); | ||
| byte[] bytes = Base64.getDecoder().decode(value); |
mbaedke
approved these changes
Oct 13, 2025
Contributor
Author
|
Before we proceed here, we need test coverage. Optimally separate ticket / PR. |
* OAK-11935 : updating aws sdk from 1.x to 2.x * OAK-11935 : added more unit cases * OAK-11935 : added unit cases for S3RequestDecorator * OAK-11935 : fixed issue when running ITs with different encryption mode * OAK-11935 : removed unused imports * OAK-11935 : incorporated review comments * OAK-11935 : added review comments * OAK-11935 : added properties for cross Region access * OAK-11935 : removed additional list for removing keys in case of GCP mode * OAK-11935 : moved out CRUD operations from Utils to S3CrudHelper * OAK-11935 : added unit cases for waitForBucket method * OAK-11935 : make total attemps and delay configurable to use lower values in unit cases * OAK-11935 : remaned S3CrudHelper to S3BackendHelper
…Migrator.migrateBinaryRef is missing a null check (#2586)
* OAK-11984 Support UserId Change for External Users * Removed unused change * Update oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/ExternalLoginModule.java Co-authored-by: Alejandro Moratinos <Amoratinos@users.noreply.github.com> * Update oak-auth-external/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/external/impl/ExternalLoginModule.java Co-authored-by: Alejandro Moratinos <Amoratinos@users.noreply.github.com> * moving constants * Added FF * Added tests for FF * Added debug log --------- Co-authored-by: Alejandro Moratinos <Amoratinos@users.noreply.github.com> Co-authored-by: angela <anchela@adobe.com>
* OAK-12077 : added joinUninterruptibly() in oak-commons * OAK-12077 : added review comments * OAK-12077 : updated sleep durations to sleep within joining period * OAK-12077 : fixed assertion errors if occured in joiningThread
…mplementation (#2715)
- info log msg should only be logged on debug
…ersion bump" This reverts commit 8a13d35.
…e in fact only running one thread) (#2679)
…OST, FT_OPTIMIZE_IN_RESTRICTIONS_FOR_FUNCTIONS, and FT_NAME_PREFETCH_FOR_QUERIES (#2690)
* OAK-12010 Simplified index management (without optimizer) * OAK-12010 Simplified index management * OAK-12010 Simplified index management * OAK-12010 Simplified index management * Update oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/DiffIndex.java Co-authored-by: Benjamin Habegger <benjamin@habegger.tech> * Update oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/DiffIndex.java Co-authored-by: Benjamin Habegger <benjamin@habegger.tech> * Update oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/DiffIndex.java Co-authored-by: Amit Jain <amitj@apache.org> * Update oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/DiffIndexMerger.java Co-authored-by: Amit Jain <amitj@apache.org> * Update oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/DiffIndex.java Co-authored-by: Amit Jain <amitj@apache.org> * Update oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/JsonNodeBuilder.java Co-authored-by: Benjamin Habegger <benjamin@habegger.tech> * Update oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/DiffIndex.java Co-authored-by: Amit Jain <amitj@apache.org> * OAK-12010 Simplified index management * OAK-12010 Simplified index management * OAK-12010 Simplified index management * OAK-12010 Simplified index management * OAK-12010 Simplified index management --------- Co-authored-by: Benjamin Habegger <benjamin@habegger.tech> Co-authored-by: Amit Jain <amitj@apache.org>
…ffferedStringValue (#2728)
… for OAK-12039 (#2738) * Revert "OAK-12039 Treat transient client-side exceptions as recoverable in AzureRepositoryLock (#2663)" This reverts commit e4a2b39. * Revert "OAK-12039 test that verifies that lease renewal in AzureRepositoryLockV8 correctly handles client timeout (#2667)" This reverts commit 6697d70.
- consistently close FileStores and other closeable objects
Added diagnostic logging.
Replaced the dynamic inline mocking with a static agent dependency.
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.


No description provided.