[midPoint-git] [Evolveum/midpoint] 79b942: Re-implement midpoint.getFocusesByCorrelationRule

mederly noreply at github.com
Tue Apr 12 20:10:08 CEST 2022


  Branch: refs/heads/feature/synchronization-definition-update
  Home:   https://github.com/Evolveum/midpoint
  Commit: 79b9423ab849d3ad7cdeb4d9df2ef37f9d154ae0
      https://github.com/Evolveum/midpoint/commit/79b9423ab849d3ad7cdeb4d9df2ef37f9d154ae0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-04-12 (Tue, 12 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/ResourceSchemaFactory.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectSet.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/cases/OwnerOptionIdentifier.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/CorrelationResult.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/CorrelationService.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/MidpointFunctions.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlation/CorrelationServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/BuiltInResultCreator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/CorrelatorUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/composite/CompositeCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/expression/ExpressionCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/filter/FilterCorrelator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/idmatch/IdMatchCorrelator.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/lens/ItemValueWithOrigin.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetsEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ConstructionResourceResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/DeltaExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/ScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ProjectionValuesProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/IterationHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/AbstractInboundsProcessing.java
    A 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/PreInboundsProcessing.java
    A 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/ClockworkSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreShadowInboundsPreparation.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
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluation.java
    M 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/SynchronizationService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceUtils.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationSorterEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AdvancedActivityRunSupportImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ModelImplUtils.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/correlation/TestExpressionCorrelator.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfirmationEvaluator.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/correlator/DummyCorrelator.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/aspect/BasePrimaryChangeAspect.java
    M testing/story/src/test/resources/service-accounts-classifier/resource-dummy-classifier.xml

  Log Message:
  -----------
  Re-implement midpoint.getFocusesByCorrelationRule

This method was not quite compatible with correlators changes introduced
in 4.5, and is definitely not compatible with synchronization schema
changes done in this release. So, it was rewritten from scratch, and
renamed to findCandidateOwners. (The old signature is still available
but marked as deprecated.) There may be minor differences in the
behavior, so please review javadoc and adapt your code, if necessary.

Related changes:

- added full focus list to CorrelationResult,
- generalized pre-inbounds processing to work without
a SynchronizationContext (i.e. within this method),
- some code simplifications in SynchronizationContext.

New (maybe) helpful class:

- ObjectSet, an OID-keyed object collection (TODO: better name)




More information about the midPoint-svn mailing list