[midPoint-git] [Evolveum/midpoint] f361f9: Fix primary mode for unchanged assignments

mederly noreply at github.com
Wed Nov 3 13:29:04 CET 2021


  Branch: refs/heads/tmp/mid-7382
  Home:   https://github.com/Evolveum/midpoint
  Commit: f361f994895d969fb6a7a4f94cd0698fa6c1b15e
      https://github.com/Evolveum/midpoint/commit/f361f994895d969fb6a7a4f94cd0698fa6c1b15e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.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/LensContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/EvaluatedAssignmentImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/EvaluatedAssignmentTargetCache.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/EvaluationContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/MemberOfEngine.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetAssignmentEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetInducementEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetPayloadEvaluation.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/projector/focus/AssignmentProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentTripleEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/PruningOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ExclusionConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/HasAssignmentConstraintEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfileCompiler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationExpressionsEvaluator.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAssignmentsProcessing.java
    A model/model-intest/src/test/resources/assignments/role-idempotent.xml
    A model/model-intest/src/test/resources/assignments/role-inducing-idempotent.xml
    M model/model-intest/testng-integration-full.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/commandline/CommandLineScriptExecutor.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java

  Log Message:
  -----------
  Fix primary mode for unchanged assignments

When unchanged assignments are evaluated, they are placed into zero
or minus sets, depending on whether they are present in the current
object, or they were deleted in some previous waves. Originally,
all such assignments were evaluated with ZERO primary mode. This was
now aligned with the delta set (zero/minus).

Other changes:
- cosmetics - formatting, documentation, etc.

Should resolve MID-7382.




More information about the midPoint-svn mailing list