[midPoint-git] [Evolveum/midpoint] 070d89: Fix failing model-impl tests

Pavol Mederly mederly at evolveum.com
Fri Aug 31 00:26:53 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 070d8963752dfbb270465d0df02f1320c5178065
      https://github.com/Evolveum/midpoint/commit/070d8963752dfbb270465d0df02f1320c5178065
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-08-30 (Thu, 30 Aug 2018)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkMedic.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/Projector.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/Utils.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/WfHook.java

  Log Message:
  -----------
  Fix failing model-impl tests

As per previous discussion, the default treatment of SchemaHandling
was switched from FATAL to PARTIAL error.

Other minor fixes/improvements.


  Commit: 5e14276b2b50574427dbf0531d244c20e14618cb
      https://github.com/Evolveum/midpoint/commit/5e14276b2b50574427dbf0531d244c20e14618cb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-08-30 (Thu, 30 Aug 2018)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/ExpressionConstants.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentEvaluator.java

  Log Message:
  -----------
  Add loginMode for assignment evaluation (MID-4823)

In order to optimize evaluation of assignment/inducement/role
conditions, loginMode variable is now available to scripts
in conditions and target filter expressions.


  Commit: c26caf39f4cbc785b5ff8a803c4f782f07f6da48
      https://github.com/Evolveum/midpoint/commit/c26caf39f4cbc785b5ff8a803c4f782f07f6da48
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-08-30 (Thu, 30 Aug 2018)

  Changed paths:
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelElementContext.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/projector/policy/PolicyRuleScriptExecutor.java

  Log Message:
  -----------
  Fix scriptExecution action implementation


  Commit: f064e78c9b34718567f4a00b152f3942f5b8708c
      https://github.com/Evolveum/midpoint/commit/f064e78c9b34718567f4a00b152f3942f5b8708c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-08-31 (Fri, 31 Aug 2018)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/Utils.java

  Log Message:
  -----------
  Revert change in SchemaException handling

The change switched SchemaException in connectors from FATAL to
PARTIAL, but also silenced SchemaException occurring in the model.
Tests like TestPreviewChanges and TestMapping then failed, as they
didn't get expected SchemaException's.

So reverting that change now.


  Commit: f4cad23b8a49704ed464486659b2406ae62620ee
      https://github.com/Evolveum/midpoint/commit/f4cad23b8a49704ed464486659b2406ae62620ee
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-08-31 (Fri, 31 Aug 2018)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java

  Log Message:
  -----------
  Isolate tests a bit more

Failure in test099 is now contained in it and does not propagate
to (almost) all other tests.


Compare: https://github.com/Evolveum/midpoint/compare/368045adb685...f4cad23b8a49
      **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