Skip to content

OAK-11946 : fixed osgi it tests

d3ec56c
Select commit
Loading
Failed to load commit list.
Open

OAK-11946 : migrate cache APIs to Caffeine #2807

OAK-11946 : fixed osgi it tests
d3ec56c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 21, 2026 in 3m 12s

Quality Gate failed

Annotations

Check warning on line 310 in oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/FileCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "get"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CJ021WDqUHGXrZh&open=AZ0O5CJ021WDqUHGXrZh&pullRequest=2807

Check warning on line 990 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/NodeDocument.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 71 to 64, Complexity from 23 to 14, Nesting Level from 3 to 2, Number of Variables from 20 to 6.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5B_D21WDqUHGXrZV&open=AZ0O5B_D21WDqUHGXrZV&pullRequest=2807

Check failure on line 161 in oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CEv21WDqUHGXrZb&open=AZ0O5CEv21WDqUHGXrZb&pullRequest=2807

Check warning on line 87 in oak-core-spi/src/test/java/org/apache/jackrabbit/oak/cache/CacheSizeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "get"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CIU21WDqUHGXrZg&open=AZ0O5CIU21WDqUHGXrZg&pullRequest=2807

Check warning on line 32 in oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexStatistics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.github.benmanes.caffeine.cache.Ticker'.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CLa21WDqUHGXrZi&open=AZ0O5CLa21WDqUHGXrZi&pullRequest=2807

Check warning on line 516 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 66 to 64, Complexity from 15 to 14, Nesting Level from 5 to 2, Number of Variables from 23 to 6.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5B9J21WDqUHGXrZU&open=AZ0O5B9J21WDqUHGXrZU&pullRequest=2807

Check warning on line 1666 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 87 to 64, Complexity from 21 to 14, Nesting Level from 4 to 2, Number of Variables from 31 to 6.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CBw21WDqUHGXrZZ&open=AZ0O5CBw21WDqUHGXrZZ&pullRequest=2807

Check warning on line 179 in oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CEv21WDqUHGXrZa&open=AZ0O5CEv21WDqUHGXrZa&pullRequest=2807

Check warning on line 1676 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 85 to 64, Complexity from 15 to 14, Nesting Level from 4 to 2, Number of Variables from 21 to 6.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5B4121WDqUHGXrZT&open=AZ0O5B4121WDqUHGXrZT&pullRequest=2807

Check warning on line 77 in oak-core-spi/src/test/java/org/apache/jackrabbit/oak/cache/CacheStatsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this block of code, fill it in, or add a comment explaining why it is empty.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CHi21WDqUHGXrZf&open=AZ0O5CHi21WDqUHGXrZf&pullRequest=2807

Check warning on line 176 in oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentCache.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof RuntimeException runtimeexception'

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CEv21WDqUHGXrZc&open=AZ0O5CEv21WDqUHGXrZc&pullRequest=2807

Check warning on line 303 in oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CGl21WDqUHGXrZd&open=AZ0O5CGl21WDqUHGXrZd&pullRequest=2807

Check warning on line 1832 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this anonymous inner class a lambda

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5B4121WDqUHGXrZS&open=AZ0O5B4121WDqUHGXrZS&pullRequest=2807

Check warning on line 113 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CA621WDqUHGXrZW&open=AZ0O5CA621WDqUHGXrZW&pullRequest=2807

Check warning on line 304 in oak-core-spi/src/main/java/org/apache/jackrabbit/oak/cache/CacheLIRS.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CGl21WDqUHGXrZe&open=AZ0O5CGl21WDqUHGXrZe&pullRequest=2807

Check warning on line 122 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "GUAVA_CACHE_PROPERTY"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CA621WDqUHGXrZX&open=AZ0O5CA621WDqUHGXrZX&pullRequest=2807

Check warning on line 126 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "GUAVA_CACHE_PROPERTY"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5CA621WDqUHGXrZY&open=AZ0O5CA621WDqUHGXrZY&pullRequest=2807

Check warning on line 631 in oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this anonymous inner class a lambda

See more on https://sonarcloud.io/project/issues?id=org.apache.jackrabbit%3Ajackrabbit-oak&issues=AZ0O5B4121WDqUHGXrZR&open=AZ0O5B4121WDqUHGXrZR&pullRequest=2807