This is an automated email from the ASF dual-hosted git repository.
reschke pushed a change to branch OAK-11571
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
from d254e8f64d OAK-11571: commons: add Closer class (similar to Guava
Closer) - move test class
add 449b735a10 OAK-11565 : added util to replace Iterables.get in
oak-commons (#2158)
add f6d2039c6c OAK-11566 : added util to replace Iterables.find in
oak-commons (#2161)
add 1762685c40 OAK-11576 : removed usage of Guava's Iterables.get() with
oak-commons (#2163)
add 3f5167cb95 OAK-11577 : removed usage of Guava's Iterables.find() with
oak-commons (#2164)
add 60cd7597d5 OAK-11573: add size api in IteratorUtils (#2159)
add a2595d9cb9 OAK-11575 : added util to replace Iterables.getLast in
oak-commons (#2162)
add f9723a21ac OAK-11580 : removed usage of Guava's Iterables.skip() with
ListIterator (#2168)
add 34851c170a OAK-11582 : removed usage of Guava's Iterables.removeAll()
with Stream (#2167)
add 88e1396c97 OAK-11581 : removed usage of Guava's Iterables.cycle() with
Stream (#2166)
add 42a12a4acc OAK-11586: webapp: update Tomcat dependency to 9.0.102
(#2170)
add 691a326ba7 OAK-11578 : removed usage of Guava's Iterables.getLast()
with oak-commons (#2172)
add 8a26abaf6f OAK-11574: remove usage of Iterators.size() api (#2169)
add 308965d9a0 OAK-11583: add get api in IteratorUtils (#2171)
add fc14e20ea5 OAK-11597: increase toxiproxy startup attempts (#2175)
add 9723edba9e OAK-11564 oak-run FullGC leaves background threads running
add 5b13b559dc OAK-11596 : removed Guava's Iterables imports (#2174)
add 399bbddd6a doc: Fix typo
add 22fc672f00 OAK-11555 Elastic: support dot in property and function
names (#2145)
add 057b30aa5a OAK-11598: bump testcontainers to v1.20.6 (#2176)
add 301a996754 OAK-11595: update Tomcat JDBC dependency to 9.0.102 (#2177)
add ede89da517 Merge branch 'trunk' into OAK-11571
No new revisions were added by this update.
Summary of changes:
.../external/impl/DynamicSyncContext.java | 1 -
.../external/impl/ExternalLoginModule.java | 1 -
.../principal/DynamicGroupValidatorProvider.java | 1 -
.../principal/ExternalGroupPrincipalProvider.java | 1 -
.../principal/ExternalUserValidatorProvider.java | 1 -
.../impl/principal/SyncHandlerMappingTracker.java | 1 -
.../external/basic/DefaultSyncContextTest.java | 1 -
.../external/impl/AbstractDynamicTest.java | 1 -
.../external/impl/DynamicSyncContextTest.java | 1 -
.../external/impl/PrincipalResolutionTest.java | 1 -
.../impl/principal/AbstractPrincipalTest.java | 1 -
.../impl/principal/AutoMembershipProviderTest.java | 9 +-
.../impl/principal/DynamicGroupValidatorTest.java | 6 +-
.../ExternalGroupPrincipalProviderDMTest.java | 5 +-
.../ExternalIdentityRepositoryInitializerTest.java | 1 -
.../ExternalPrincipalConfigurationTest.java | 1 -
.../ldap/impl/LdapIdentityProviderTest.java | 1 -
.../cug/impl/CugAccessControlManager.java | 1 -
.../authorization/cug/impl/NestedCugHook.java | 1 -
.../authorization/cug/impl/TopLevelPaths.java | 1 -
.../authorization/cug/impl/CugImportBaseTest.java | 1 -
.../cug/impl/CugPermissionProviderTest.java | 1 -
.../authorization/cug/impl/CugPolicyImplTest.java | 1 -
.../authorization/cug/impl/NestedCugHookTest.java | 1 -
.../authorization/cug/impl/VersionTest.java | 1 -
.../impl/PrincipalBasedAccessControlManager.java | 1 -
.../PrincipalBasedAuthorizationConfiguration.java | 1 -
.../impl/PrincipalPolicyImporter.java | 1 -
.../impl/AbstractPrincipalBasedTest.java | 1 -
.../principalbased/impl/EffectivePolicyTest.java | 1 -
.../impl/PermissionProviderVersionStoreTest.java | 1 -
.../principalbased/impl/PolicyValidatorTest.java | 1 -
.../impl/PrincipalPolicyImplTest.java | 1 -
.../impl/ReadablePathsAccessControlTest.java | 1 -
.../impl/ReadablePathsPermissionTest.java | 1 -
.../impl/RepositoryPermissionTest.java | 1 -
.../jackrabbit/oak/benchmark/HybridIndexTest.java | 3 +-
.../principalbased/PrinicipalBasedReadTest.java | 1 -
.../azure/blobstorage/AzureDataStoreTest.java | 4 +-
.../oak/plugins/blob/CachingDataStoreTest.java | 9 +-
.../oak/plugins/blob/SharedDataStoreUtilsTest.java | 1 -
.../oak/plugins/blob/UploadStagingCacheTest.java | 5 +-
.../plugins/blob/datastore/BlobIdTrackerTest.java | 4 +-
.../blob/datastore/DataStoreBlobStoreTest.java | 1 -
.../oak/commons/collections/IterableUtils.java | 72 +++++++-
.../oak/commons/collections/IteratorUtils.java | 31 ++++
.../oak/commons/collections/IterableUtilsTest.java | 194 ++++++++++++++++++++-
.../oak/commons/collections/IteratorUtilsTest.java | 134 ++++++++++++++
.../main/java/org/apache/jackrabbit/oak/Oak.java | 1 -
.../oak/plugins/identifier/IdentifierManager.java | 1 -
.../oak/plugins/index/IndexInfoServiceImpl.java | 1 -
.../oak/plugins/index/IndexPathServiceImpl.java | 1 -
.../jackrabbit/oak/plugins/index/IndexUtils.java | 1 -
.../index/nodetype/NodeTypeIndexLookup.java | 2 -
.../oak/plugins/index/property/PropertyIndex.java | 2 -
.../index/property/PropertyIndexLookup.java | 1 -
.../plugins/index/property/PropertyIndexPlan.java | 1 -
.../plugins/index/property/RecursiveDelete.java | 1 -
.../index/property/jmx/PropertyIndexStats.java | 1 -
.../plugins/index/reference/ReferenceIndex.java | 1 -
.../oak/plugins/index/upgrade/IndexDisabler.java | 1 -
.../migration/AbstractDecoratedNodeState.java | 1 -
.../oak/plugins/name/NamespaceEditor.java | 1 -
.../plugins/nodetype/EffectiveNodeTypeImpl.java | 1 -
.../oak/plugins/nodetype/NodeTypeImpl.java | 1 -
.../oak/plugins/nodetype/TypeEditor.java | 1 -
.../oak/plugins/nodetype/TypePredicate.java | 1 -
.../oak/plugins/nodetype/TypeRegistration.java | 1 -
.../plugins/observation/filter/FilterBuilder.java | 1 -
.../authentication/token/TokenLoginModule.java | 1 -
.../authentication/user/LoginModuleImpl.java | 1 -
.../authorization/AuthorizationContext.java | 1 -
.../security/authorization/accesscontrol/ACL.java | 1 -
.../accesscontrol/AccessControlManagerImpl.java | 1 -
.../accesscontrol/AccessControlValidator.java | 1 -
.../authorization/permission/ChildOrderDiff.java | 1 -
.../authorization/restriction/GlobsPattern.java | 1 -
.../authorization/restriction/SubtreePattern.java | 1 -
.../internal/SecurityProviderRegistration.java | 1 -
.../user/CachedPrincipalMembershipReader.java | 1 -
.../oak/security/user/PasswordHistory.java | 1 -
.../jackrabbit/oak/security/user/UserImporter.java | 1 -
.../oak/security/user/UserManagerImpl.java | 1 -
.../jackrabbit/oak/core/SecureNodeBuilderTest.java | 1 -
.../plugins/index/property/PropertyIndexTest.java | 1 -
.../plugins/migration/FilteringNodeStateTest.java | 3 +-
.../oak/plugins/tree/impl/ImmutableTreeTest.java | 1 -
.../oak/plugins/tree/impl/TreeUtilTest.java | 1 -
.../AuthenticationConfigurationImplTest.java | 1 -
.../AuthorizationConfigurationImplOSGiTest.java | 1 -
.../AccessControlManagerImplTest.java | 1 -
.../EffectivePoliciesByPrincipalsAndPathsTest.java | 23 +--
.../accesscontrol/RemappedPrivilegeNamesTest.java | 1 -
.../evaluation/AbstractQueryTest.java | 1 -
.../evaluation/ChildOrderPropertyTest.java | 1 -
.../evaluation/TraversingQueryTest.java | 1 -
.../permission/PermissionHookTest.java | 1 -
.../restriction/GlobsPatternTest.java | 4 +-
.../internal/InternalSecurityProviderTest.java | 1 -
.../internal/SecurityProviderRegistrationTest.java | 1 -
.../oak/security/principal/EveryoneFilterTest.java | 13 +-
.../oak/security/privilege/JcrAllTest.java | 1 -
.../privilege/PrivilegeDefinitionWriterTest.java | 1 -
.../oak/security/privilege/PrivilegeImplTest.java | 1 -
.../security/user/AbstractAddMembersByIdTest.java | 1 -
.../user/AddMembersByIdBestEffortTest.java | 11 +-
.../security/user/AuthorizableIteratorTest.java | 11 +-
.../security/user/CachedGroupPrincipalTest.java | 1 -
.../oak/security/user/DuplicateMembershipTest.java | 17 +-
.../oak/security/user/MembershipBaseTest.java | 1 -
.../oak/security/user/MembershipProviderTest.java | 13 +-
.../oak/security/user/PasswordHistoryTest.java | 6 +-
.../oak/security/user/UserContextTest.java | 1 -
.../oak/security/user/UserInitializerTest.java | 1 -
.../security/user/UserPrincipalProviderTest.java | 3 +-
.../oak/security/user/action/GroupActionTest.java | 1 -
.../security/user/query/ResultIteratorTest.java | 9 +-
.../user/query/XPathConditionVisitorTest.java | 4 +-
oak-doc/src/site/markdown/nodestore/compositens.md | 2 +-
oak-examples/webapp/pom.xml | 2 +-
.../external/CustomExternalIdentityProvider.java | 1 -
.../ThreeRolesPermissionProvider.java | 1 -
.../L5_CustomPermissionEvaluationTest.java | 1 -
.../principalbased/AbstractPrincipalBasedTest.java | 4 +-
.../privilege/L3_BuiltInPrivilegesTest.java | 1 -
.../security/privilege/L4_CustomPrivilegeTest.java | 11 +-
.../oak/composite/CompositeNodeStoreTest.java | 3 +-
.../jackrabbit/oak/spi/state/NodeStoreTest.java | 1 -
.../jackrabbit/oak/jcr/session/NodeImpl.java | 4 +-
.../jackrabbit/oak/jcr/xml/ImporterImpl.java | 1 -
.../apache/jackrabbit/oak/jcr/ConcurrentAddIT.java | 7 +-
.../oak/jcr/ConcurrentAddReferenceTest.java | 5 +-
.../jackrabbit/oak/jcr/OakRepositoryStub.java | 2 -
.../jackrabbit/oak/jcr/ObservationQueueTest.java | 1 -
.../jackrabbit/oak/jcr/OperationLoggerTest.java | 4 +-
.../apache/jackrabbit/oak/jcr/PropertyTest.java | 9 +-
.../jackrabbit/oak/jcr/binary/BinaryAccessIT.java | 1 -
.../oak/jcr/observation/ObservationTest.java | 1 -
.../security/user/GroupImportBestEffortTest.java | 6 +-
.../oak/plugins/index/lucene/IndexTracker.java | 1 -
.../oak/plugins/index/lucene/LuceneIndex.java | 1 -
.../plugins/index/lucene/LuceneIndexMBeanImpl.java | 1 -
.../index/lucene/LuceneIndexNodeManager.java | 1 -
.../plugins/index/lucene/LucenePropertyIndex.java | 1 -
.../lucene/directory/CopyOnWriteDirectory.java | 1 -
.../index/lucene/directory/IndexRootDirectory.java | 1 -
.../index/lucene/hybrid/LuceneDocumentHolder.java | 1 -
.../index/lucene/property/BucketSwitcher.java | 1 -
.../lucene/property/HybridPropertyIndexInfo.java | 1 -
.../lucene/property/HybridPropertyIndexLookup.java | 1 -
.../property/UniquenessConstraintValidator.java | 1 -
.../index/lucene/util/IndexDefinitionBuilder.java | 1 -
.../ActiveDeletedBlobCollectorMBeanImplTest.java | 4 +-
.../index/lucene/IndexAugmentorFactoryTest.java | 1 -
.../index/lucene/LucenePropertyIndexTest.java | 1 -
.../directory/AbstractActiveDeletedBlobTest.java | 8 +-
.../ConcurrentCopyOnReadDirectoryTest.java | 1 -
.../lucene/directory/OakDirectoryTestBase.java | 6 +-
.../index/lucene/hybrid/HybridIndexTest.java | 4 +-
.../hybrid/LuceneJournalPropertyBuilderTest.java | 1 -
.../property/LuceneIndexPropertyQueryTest.java | 1 -
.../index/lucene/property/RecursiveDeleteTest.java | 1 -
.../util/LuceneIndexDefinitionBuilderTest.java | 1 -
.../index/lucene/util/TapeSamplingTest.java | 4 +-
.../lucene/writer/MultiplexingIndexWriterTest.java | 1 -
oak-parent/pom.xml | 6 +-
.../document/flatfile/ChildNodeStateProvider.java | 4 +-
.../flatfile/FlatFileNodeStoreBuilder.java | 1 -
.../incrementalstore/IncrementalStoreBuilder.java | 1 -
.../plugins/document/DocumentNodeStoreHelper.java | 1 -
.../org/apache/jackrabbit/oak/run/cli/Options.java | 1 -
.../flatfile/ChildNodeStateProviderTest.java | 1 -
.../flatfile/FlatFileStoreIteratorTest.java | 4 +-
.../index/indexer/document/flatfile/TestUtils.java | 1 -
.../linkedList/FlatFileBufferLinkedListTest.java | 18 +-
.../PipelinedMongoConnectionFailureIT.java | 4 +-
.../oak/console/commands/CdCommand.groovy | 1 -
.../oak/console/commands/LsCommand.groovy | 1 -
.../apache/jackrabbit/oak/run/FrozenNodeRef.java | 1 -
.../jackrabbit/oak/run/RevisionsCommand.java | 18 ++
.../oak/index/DocumentStoreIndexerIT.java | 4 +-
.../org/apache/jackrabbit/oak/index/ReindexIT.java | 4 +-
.../oak/plugins/document/RevisionsCommandTest.java | 2 +-
.../jackrabbit/oak/run/DataStoreCheckTest.java | 14 +-
.../index/elastic/ElasticIndexDefinition.java | 14 +-
.../index/elastic/ElasticIndexStatistics.java | 5 +-
.../index/elastic/index/ElasticDocument.java | 8 +-
.../index/elastic/index/ElasticDocumentMaker.java | 14 +-
.../index/elastic/index/ElasticIndexHelper.java | 20 ++-
.../index/elastic/query/ElasticRequestHandler.java | 33 ++--
.../facets/ElasticSecureFacetAsyncProvider.java | 8 +-
.../ElasticStatisticalFacetAsyncProvider.java | 8 +-
.../index/elastic/util/ElasticIndexUtils.java | 70 +++++++-
.../index/elastic/ElasticConnectionRule.java | 2 +-
.../plugins/index/elastic/ElasticContentTest.java | 9 +-
.../index/elastic/ElasticIndexAggregationTest.java | 82 +++++++++
.../elastic/ElasticIndexSuggestionCommonTest.java | 2 +-
.../index/elastic/ElasticPropertyIndexTest.java | 64 ++++++-
.../elastic/ElasticRegexPropertyIndexTest.java | 16 +-
.../index/elastic/ElasticReliabilityTest.java | 4 +-
.../index/elastic/ElasticSimilarQueryTest.java | 8 +-
...cDocumentMakerLargeStringPropertiesLogTest.java | 2 +-
.../elastic/index/ElasticIndexHelperTest.java | 7 +-
.../index/elastic/util/ElasticIndexUtilsTest.java | 139 +++++++++++++++
.../search/spi/query/FulltextIndexPlanner.java | 1 -
.../search/spi/query/FulltextIndexTracker.java | 1 -
.../oak/plugins/index/search/util/ConfigUtil.java | 1 -
.../index/search/util/IndexDefinitionBuilder.java | 1 -
.../oak/plugins/index/IndexPlannerCommonTest.java | 2 +-
.../oak/plugins/index/OrderByCommonTest.java | 1 -
.../oak/plugins/index/search/AggregateTest.java | 1 -
.../index/search/util/TapeSamplingTest.java | 4 +-
.../jackrabbit/oak/plugins/tree/TreeUtil.java | 2 -
.../oak/spi/security/CompositeConfiguration.java | 1 -
.../security/privilege/PrivilegeBitsProvider.java | 1 -
.../jackrabbit/oak/plugins/tree/TreeUtilTest.java | 1 -
.../spi/security/CompositeConfigurationTest.java | 1 -
.../oak/spi/security/OpenSecurityProviderTest.java | 1 -
.../security/authentication/AuthInfoImplTest.java | 1 -
.../authorization/accesscontrol/ACETest.java | 1 -
.../accesscontrol/ImmutableACLTest.java | 1 -
.../authorization/permission/PermissionsTest.java | 1 -
.../AbstractRestrictionProviderTest.java | 4 +-
.../principal/CompositePrincipalProviderTest.java | 2 -
.../security/principal/TestPrincipalProvider.java | 1 -
.../privilege/PrivilegeBitsProviderTest.java | 1 -
.../spi/security/privilege/PrivilegeUtilTest.java | 1 -
.../jackrabbit/oak/segment/file/tar/TarFiles.java | 2 -
.../oak/segment/SegmentCompactionIT.java | 10 +-
.../oak/segment/SegmentOverflowExceptionIT.java | 4 +-
.../oak/segment/file/proc/DataSegmentNodeTest.java | 1 -
.../nodestate/NodeStateSolrServerProvider.java | 1 -
.../nodestate/OakSolrNodeStateConfiguration.java | 1 -
.../plugins/index/solr/query/SolrQueryIndex.java | 1 -
.../oak/composite/CompositeChildrenCountTest.java | 9 +-
.../jackrabbit/oak/plugins/document/Branch.java | 2 -
.../oak/plugins/document/DocumentNodeState.java | 1 -
.../oak/plugins/document/DocumentNodeStore.java | 2 -
.../plugins/document/DocumentNodeStoreBranch.java | 1 -
.../oak/plugins/document/JournalEntry.java | 1 -
.../oak/plugins/document/LastRevRecoveryAgent.java | 1 -
.../oak/plugins/document/MissingLastRevSeeker.java | 2 -
.../oak/plugins/document/NodeDocument.java | 1 -
.../oak/plugins/document/TieredDiffCache.java | 1 -
.../oak/plugins/document/UnsavedModifications.java | 2 -
.../oak/plugins/document/VersionGCSupport.java | 2 -
.../document/bundlor/BundlingConfigHandler.java | 1 -
.../plugins/document/cache/NodeDocumentCache.java | 2 -
.../plugins/document/mongo/MongoDocumentStore.java | 1 -
.../async/InvalidateCacheAction.java | 2 -
.../plugins/document/rdb/RDBDocumentStoreJDBC.java | 2 -
.../plugins/document/rdb/RDBVersionGCSupport.java | 1 -
.../secondary/DelegatingDocumentNodeState.java | 1 -
.../document/ClusterRevisionComparisonTest.java | 2 -
.../plugins/document/ConcurrentReadAndAddTest.java | 2 -
.../plugins/document/DocumentMKBuilderTest.java | 5 +-
.../document/DocumentNodeStoreSweepTest.java | 1 -
.../plugins/document/DocumentNodeStoreTest.java | 1 -
.../oak/plugins/document/DocumentSplitTest.java | 2 -
.../oak/plugins/document/JournalGCTest.java | 2 -
.../plugins/document/LargeMergeRecoveryTest.java | 10 +-
.../plugins/document/LastRevRecoveryAgentTest.java | 14 +-
.../oak/plugins/document/LastRevRecoveryTest.java | 2 -
.../document/LastRevSingleNodeRecoveryTest.java | 2 -
.../plugins/document/MissingLastRevSeekerTest.java | 2 -
.../MongoVersionGCSupportDefaultNoBranchTest.java | 5 +-
.../oak/plugins/document/NodeDocumentTest.java | 20 +--
.../oak/plugins/document/PreviousDocCacheTest.java | 6 +-
.../oak/plugins/document/RevisionVectorTest.java | 2 -
.../oak/plugins/document/ValueMapTest.java | 6 +-
.../plugins/document/VersionGCDeletionTest.java | 4 +-
.../oak/plugins/document/VersionGCQueryTest.java | 8 +-
.../oak/plugins/document/VersionGCSweepTest.java | 4 +-
.../oak/plugins/document/VersionGCTest.java | 1 -
.../document/VersionGarbageCollectorIT.java | 7 +-
.../document/bundlor/DocumentBundlingTest.java | 2 -
.../document/mongo/LeaseUpdateSocketTimeoutIT.java | 1 +
.../secondary/DelegatingDocumentNodeStateTest.java | 1 -
.../secondary/SecondaryStoreCacheTest.java | 1 -
.../oak/plugins/document/util/UtilsTest.java | 2 -
.../oak/plugins/memory/AbstractPropertyState.java | 1 -
.../oak/plugins/memory/MemoryChildNodeEntry.java | 1 -
.../oak/plugins/memory/MultiPropertyState.java | 1 -
.../oak/plugins/memory/PropertyStates.java | 2 -
.../jackrabbit/oak/spi/commit/MoveTracker.java | 1 -
.../oak/spi/state/AbstractNodeState.java | 2 -
.../upgrade/checkpoint/CheckpointRetriever.java | 1 -
.../oak/upgrade/UpgradeOldSegmentTest.java | 6 +-
288 files changed, 1113 insertions(+), 510 deletions(-)
create mode 100644
oak-search-elastic/src/test/java/org/apache/jackrabbit/oak/plugins/index/elastic/util/ElasticIndexUtilsTest.java