[midPoint-git] [Evolveum/midpoint] 5e8414: Clean up synchronization-related code

mederly noreply at github.com
Thu Apr 14 01:17:59 CEST 2022


  Branch: refs/heads/feature/synchronization-definition-update
  Home:   https://github.com/Evolveum/midpoint
  Commit: 5e841416523a6d46431443d36b056e91ada0b9f1
      https://github.com/Evolveum/midpoint/commit/5e841416523a6d46431443d36b056e91ada0b9f1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectTypeSynchronizationPolicy.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchema.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/SystemObjectCache.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelBeans.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ResourceObjectProcessingContext.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ResourceObjectProcessingContextImpl.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/classification/ResourceObjectClassifierImpl.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/classification/ShadowTagGeneratorImpl.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/classification/SynchronizationSorterEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/shadows/ShadowIntegrityCheckItemProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/PreInboundsContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SimplePreInboundsContextImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/CorrelationProcessing.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/ResourceObjectClassifierImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationContextLoader.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationExpressionsEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceUtils.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationSorterEvaluation.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfirmationEvaluator.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/util/mock/MockFactory.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningService.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ResourceObjectClassifier.java
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ShadowTagGenerator.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/shadows/ClassificationHelper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowAcquisition.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowsFacade.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/package-info.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/SearchExecutor.java

  Log Message:
  -----------
  Clean up synchronization-related code

This is a preparation for giant leaps in the area of resource
configuration changes planned in weeks to come.

1. Separated shadow tag generation from the shadow classification
(just to be precise in the use of terms).

2. Made further fields SynchronizationContext final. This makes
the data flow during context loading much cleaner.

3. Migrate from the use of kind/intent to use of object type definition.
This may be too brave, but hopefully reasonable. We don't want to deal
with messy combinations of account/unknown and similar classifications.

4. ResourceObjectClassifierImpl is now stand-alone component, not using
SynchronizationContext anymore.

5. Introduced lightweight ResourceObjectProcessingContext to be used
throughout synchronization-related code.

6. Added model expression environment for tag generation.

Work in progress. Some tests may fail.




More information about the midPoint-svn mailing list