[midPoint-git] [Evolveum/midpoint] 2caf4d: Prepare for pre-mappings implementation

mederly noreply at github.com
Thu Feb 10 09:54:07 CET 2022


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

  Changed paths:
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/Mapping.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/MidpointFunctions.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ExpressionEnvironment.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ModelExpressionThreadLocalHolder.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingBuilder.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingBuilder.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingEvaluationEnvironment.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingFactory.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingParser.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/metadata/MetadataMappingBuilder.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/metadata/MetadataMappingImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelBeans.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/MappingDiagEvaluator.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/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/ActivationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/credentials/ProjectionCredentialsProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluation.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluationBuilder.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundMappingsEvaluation.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/MappingSetEvaluation.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/MappingSetEvaluationBuilder.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/MappingSorter.java
    A 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/TemplateMappingsEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingEvaluatorParams.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingInitializer.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingOutputStruct.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/NextRecompute.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/TargetObjectSpecification.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ModelImplUtils.java
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/ConfirmationNotifier.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/aspect/BasePrimaryChangeAspect.java
    M testing/story/src/test/resources/grouper/metarole-grouper-provided-group.xml

  Log Message:
  -----------
  Prepare for pre-mappings implementation

The commit contains a preliminary cleanup before we implement pre-
mappings:

1. Created ProjectionMappingSetEvaluator by factoring out
MappingEvaluator#evaluateMappingSetProjection.
Therefore, MappingEvaluator has become a thin model-level wrapper
around AbstractMappingImpl#evaluate method.

2. Renamed MappingSetEvaluation to FocalMappingSetEvaluation, to align
it with ProjectionMappingSetEvaluator. Moved focal mapping creation
(bean to Mapping) from MappingEvaluator to here.

3. Other minor changes, e.g. fields of ExpressionEnvironment are now
final, ModelExpressionThreadLocalHolder was cleaned up, some javadocs
were written, and a minor bug fixed.




More information about the midPoint-svn mailing list