[midPoint-git] [Evolveum/midpoint] 2defd3: Clean up inbounds processing before pre-mappings

mederly noreply at github.com
Mon Feb 14 23:05:22 CET 2022


  Branch: refs/heads/feature/pre-inbounds
  Home:   https://github.com/Evolveum/midpoint
  Commit: 2defd30e07ef69a9b8f076f4ed8a1b073fefdacb
      https://github.com/Evolveum/midpoint/commit/2defd30e07ef69a9b8f076f4ed8a1b073fefdacb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/MatchingUtil.java
    M model/model-impl/pom.xml
    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/ElementState.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ItemEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/DependencyProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluation.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundMappingsEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionMappingSetEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionValueMetadataCreator.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/ClockworkInboundsProcessing.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/InboundMappingInContext.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/StopProcessingProjectionException.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/package-info.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkContext.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkShadowInboundsPreparation.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkSource.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkTarget.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Context.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItem.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItems.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreContext.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreShadowInboundsPreparation.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreSource.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreTarget.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ProcessingMode.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ShadowInboundsPreparation.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Source.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Target.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/package-info.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluation.java
    M model/model-intest/src/test/resources/mapping/resource-dummy-autogreen.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ConfigurableValuePolicySupplier.java

  Log Message:
  -----------
  Clean up inbounds processing before pre-mappings

Here we cleaned-up the processing of inbound mappings, in the order
to separate parts bound to the clockwork processing from these that
can be executed before the clockwork is even started.

Work in progress. The code is not cleaned up absolutely. But it is
the maximum that could be done in the given time.

BEHAVIORAL CHANGES (to release notes):

1. Up to now, we have skipped association inbound mappings if there was
no input value. This was not consistent with the handling of other
mappings. This is now changed. So, please make sure your mappings
correctly treat null input values. See resource-dummy-autogreen.xml
for an example.

2. Names of classes and packages that are relevant for logging has
been changed. To log the inbound processing in details, one should
now use "com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds"
(however, this may even change before 4.5 release!)

Unrelated changes:
 - contains changes from dcdc09e31d80b5b2376ff80e6d1e6155c035c29b




More information about the midPoint-svn mailing list