[midPoint-git] [Evolveum/midpoint] 6cd9cb: Add a lens test for projection policy rules

mederly noreply at github.com
Fri Jan 13 23:44:00 CET 2023


  Branch: refs/heads/feature/simulations
  Home:   https://github.com/Evolveum/midpoint
  Commit: 6cd9cba2bf48dbb2e27a8495ddfbf94085bbab4b
      https://github.com/Evolveum/midpoint/commit/6cd9cba2bf48dbb2e27a8495ddfbf94085bbab4b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  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/LensProjectionContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/PolicyRulesContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ObjectModificationConstraintEvaluator.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/AbstractLensTest.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules2.java
    A model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectionPolicyRules.java
    A model/model-impl/src/test/resources/lens/policy/projection/resource-dummy-tags.xml
    A model/model-impl/src/test/resources/lens/policy/projection/system-configuration.xml
    M model/model-impl/testng-unit.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/CommonInitialObjects.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ElementContextAsserter.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ProcessedObjectAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyResourceContoller.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/AbstractAsserter.java

  Log Message:
  -----------
  Add a lens test for projection policy rules

Also, fixed the evaluation of TAG_PROJECTION_ENTITLEMENT_CHANGED to
"see" only changes of real entitlements, not arbitrary associations.


  Commit: 8b98c4aad5a363f444072addd8d04bdb2eed1cdb
      https://github.com/Evolveum/midpoint/commit/8b98c4aad5a363f444072addd8d04bdb2eed1cdb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/correlation/TestCorrelators.java

  Log Message:
  -----------
  Fix TestCorrelators

There was a subtle bug introduced when introducing classpath-based
test resources in 41c7d3bc6d5165f81c23364fe2993676335a40b4.


Compare: https://github.com/Evolveum/midpoint/compare/34559752edc3...8b98c4aad5a3


More information about the midPoint-svn mailing list