[midPoint-git] [Evolveum/midpoint] 616570: Add transform expression condition (MID-4862)

Pavol Mederly mederly at evolveum.com
Tue Sep 4 10:03:38 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 616570a790282b96d5246edfd24a6ac1b590644a
      https://github.com/Evolveum/midpoint/commit/616570a790282b96d5246edfd24a6ac1b590644a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-09-04 (Tue, 04 Sep 2018)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractValueTransformationExpressionEvaluator.java

  Log Message:
  -----------
  Add transform expression condition (MID-4862)

This is an EXPERIMENTAL implementation of condition that would
cause specified combinations of input values for an expression to
be skipped from evaluation.


  Commit: 2c8bc04d5b72ca104d715dbc5cb48d08411c4a97
      https://github.com/Evolveum/midpoint/commit/2c8bc04d5b72ca104d715dbc5cb48d08411c4a97
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-09-04 (Tue, 04 Sep 2018)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpressionUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/VariablesUtil.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractConfiguredModelIntegrationTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractInitializedModelIntegrationTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMapping.java
    A model/model-intest/src/test/resources/common/user-template-carthesian.xml
    M repo/repo-common/pom.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ObjectDeltaObject.java

  Log Message:
  -----------
  Fix id-only ODOs in expression sources (MID-4863)

When e.g. assignment used as expression source and a value of the
assignment is being deleted, the ODO contains an id-only value.

This commit conservatively fixes (normalizes) such values just
before expression evaluation.

TODO: consider more ambitious approach and normalize these values
e.g. before the delta execution in model

(also a test for MID-4862 is added here)


  Commit: d202be02ca1c900645a41dda3c0b212358ae57fa
      https://github.com/Evolveum/midpoint/commit/d202be02ca1c900645a41dda3c0b212358ae57fa
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-09-04 (Tue, 04 Sep 2018)

  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/lens/Clockwork.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/30142a32f7cc...d202be02ca1c
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the midPoint-svn mailing list