Skip to content

OAK-11979: Clean up *StringValue in JCR XML import#2572

Open
reschke wants to merge 150 commits intotrunkfrom
OAK-11979
Open

OAK-11979: Clean up *StringValue in JCR XML import#2572
reschke wants to merge 150 commits intotrunkfrom
OAK-11979

Conversation

@reschke
Copy link
Contributor

@reschke reschke commented Oct 10, 2025

No description provided.

@reschke reschke self-assigned this Oct 10, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@reschke
Copy link
Contributor Author

reschke commented Oct 10, 2025

Seems we have mo coverage for Base64 encoded binaries.

Copy link
Contributor

@rishabhdaim rishabhdaim left a comment

Choose a reason for hiding this comment

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

Can we create unit cases for these files, just to compare the output before & after.

ByteArrayOutputStream baos = new ByteArrayOutputStream();
try {
Base64.decode(value, baos);
byte[] bytes = Base64.getDecoder().decode(value);
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe inline that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

inline?

@reschke
Copy link
Contributor Author

reschke commented Oct 13, 2025

Before we proceed here, we need test coverage. Optimally separate ticket / PR.

thomasmueller and others added 20 commits February 15, 2026 20:21
…2509)

* OAK-11899 - use default value in case config value can not be parsed

* OAK-11899 - if config parameter can not be converted, use default value

* OAK-11899 - increase org.apache.jackrabbit.oak.spi.security version
* OAK-11914 : removed usage of Guava's HashBasedTable

* OAK-11914 : removed un-necessary usage of computeIfAbsent method
* OAK-11910 : exposed DirectExecutor from ExecutorUtils

* OAK-11910 : marked DirectExecutor as public again

* OAK-11911 : increased minor version
* 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-11936: Allow updating the inference config via JMX

* OAK-11936: Apache License added to new classes

---------

Co-authored-by: marvinw <marvinw@adobe.com>
* OAK-11949: Sort Union Queries without order-by by score

* OAK-11936: restructure if-clause, move import and one additional test

* OAK-11949: use double for Null protection

---------

Co-authored-by: marvinw <marvinw@adobe.com>
mbaedke and others added 30 commits February 15, 2026 20:22
* 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
- info log msg should only be logged on debug
…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>
… 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
Replaced the dynamic inline mocking with a static agent dependency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.