[midPoint-git] [Evolveum/midpoint] 6c975a: Shuffle a lot of provisioning-impl code
mederly
noreply at github.com
Thu Feb 11 15:40:26 CET 2021
Branch: refs/heads/feature/earlier-shadows
Home: https://github.com/Evolveum/midpoint
Commit: 6c975ab232bfb3b43e8412b916aa7c3f349733cd
https://github.com/Evolveum/midpoint/commit/6c975ab232bfb3b43e8412b916aa7c3f349733cd
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/cache/CacheConfigurationManager.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java
M model/model-intest/src/test/resources/logback-test.xml
M provisioning/provisioning-impl/pom.xml
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/AccessChecker.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ChangeNotificationDispatcherImpl.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/CommonBeans.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConstraintsChecker.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/EntitlementConverter.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/InitializableMixin.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningServiceImpl.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceEventListenerImpl.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceObjectConverter.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceObjectReferenceResolver.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCache.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCaretaker.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedAsyncChange.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedChange.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedExternalChange.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedLiveSyncChange.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/errorhandling/HardErrorHandler.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/errorhandling/ObjectAlreadyExistHandler.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/EntitlementConverter.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/FetchedResourceObject.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectAsyncChange.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectAsyncChangeListener.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectChange.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectConverter.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectLiveSyncChange.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectReferenceResolver.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AccessChecker.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AddHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AdoptedAsyncChange.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AdoptedChange.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AdoptedExternalChange.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AdoptedLiveSyncChange.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AdoptedResourceObject.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/AdoptionHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/CommonHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/CompareHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/ConstraintsChecker.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/DefinitionsHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/DeleteHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/EntitlementsHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/GetHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/LocalBeans.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/ModifyHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/PropagateHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/RefreshHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/SearchHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/ShadowCache.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/ShadowCompletion.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/Util.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/package-info.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/AsyncUpdateEventImpl.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/AsyncUpdater.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/ChangeProcessingBeans.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/CountingEventsAcknowledgeGate.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/IndividualEventsAcknowledgeGate.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/LiveSyncEventImpl.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/LiveSynchronizer.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/OldestTokenWatcher.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/SkipProcessingException.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/SynchronizationEventImpl.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/SynchronizationOperationResult.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowcache/sync/package-info.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/CreatorUpdaterHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/Helper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/PendingOperationsHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/QueryHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/ShadowCreator.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/ShadowFinder.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/ShadowManager.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/ShadowUpdater.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/AsyncUpdateEventImpl.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/AsyncUpdater.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ChangeProcessingBeans.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/CountingEventsAcknowledgeGate.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/IndividualEventsAcknowledgeGate.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/LiveSyncEventImpl.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/LiveSynchronizer.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/OldestTokenWatcher.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/SkipProcessingException.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/SynchronizationEventImpl.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/SynchronizationOperationResult.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/MultiPropagationTaskHandler.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/PropagationTaskHandler.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProcessingState.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProvisioningUtil.java
R provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfResourceObject.java
M testing/schrodingertest/src/test/resources/configuration/objects/tasks/environmental-performance-clean-up.xml
M testing/schrodingertest/src/test/resources/configuration/objects/tasks/operation-statistics-clean-up.xml
M testing/schrodingertest/src/test/resources/configuration/objects/tasks/results-clean-up.xml
M testing/story/src/test/resources/logback-test.xml
Log Message:
-----------
Shuffle a lot of provisioning-impl code
Now we distinguish more clearly between "Shadow cache" and "Resource objects"
layers. The former resides in (new) shadowcache and (existing) shadowmanager
packages, while the latter is in resourceobjects package.
As part of this, the original ShadowCache and ShadowManager classes were converted
into mere facades, delegating all of their work to constituent classes. Their
structure is not 100% logical yet, but hopefully acceptable for now.
Various parts of the root impl package were moved to appropriate children:
1. AccessChecker is now part of shadow cache.
2. The "adoption" package content was moved to the shadow cache package.
3. The "sync" package is now a sub-package of "shadowcache".
4. ConstraintsChecker is now part of shadow cache.
5. ResourceObjectConverter, EntitlementConverter, and ResourceObjectReferenceResolver
classes were moved into "resourceobjects" package.
Side effects:
- some loggers have changed
- ConstraintsChecker cache name has changed (sysconfig + display)
Other changes:
1. Introduced AdoptedResourceObject in order to streamline processing
of objects fetched from a resource.
2. Change processing now uses InitializableMixin to provide the common processing code.
More information about the midPoint-svn
mailing list