[midPoint-git] [Evolveum/midpoint] c8a7fe: Fix excessive cloning when deleting PCVs by ID

mederly noreply at github.com
Fri Sep 10 12:41:24 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: c8a7fe45da908e21aafdb1abd61ad5a58e88a070
      https://github.com/Evolveum/midpoint/commit/c8a7fe45da908e21aafdb1abd61ad5a58e88a070
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensFocusContext.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMapping.java
    A model/model-intest/src/test/resources/mapping/resource-dummy-mega-outbound.xml
    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/PathExpressionResolver.java

  Log Message:
  -----------
  Fix excessive cloning when deleting PCVs by ID

The normalization of values to-be-deleted was done too lately,
leading to excessive cloning (basically at each mapping source
evaluation). This is now fixed. The normalization is done when
ODO is computed in the focus context.

This resolves MID-7057. However, it is only an approximate fix
for now. The more thorough analysis of the problem is needed.


  Commit: f3c940619e26012fedeb3803a6e92996319781f9
      https://github.com/Evolveum/midpoint/commit/f3c940619e26012fedeb3803a6e92996319781f9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbac.java
    A model/model-intest/src/test/resources/rbac/global-policy-rules-assignment-deletion.xml
    A model/model-intest/src/test/resources/rbac/role-non-unassignable.xml

  Log Message:
  -----------
  Add a test for assignment removal w/ rules

Related to MID-7039. This bug was fixed in the meanwhile,
so this is only an explicit test for it.


  Commit: 85f0e0e228f366d55aed2ef87e02be2819f8216c
      https://github.com/Evolveum/midpoint/commit/85f0e0e228f366d55aed2ef87e02be2819f8216c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-10 (Fri, 10 Sep 2021)

  Changed paths:
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
    M repo/repo-common/pom.xml
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/RepoConcurrencyTest.java
    A repo/repo-common/src/test/resources/concurrency/user.xml
    A repo/repo-common/testng-db-specific.xml
    M repo/repo-common/testng-unit.xml
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/SqaleRepoBaseTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/AuditCleanupTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchIterativeTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSmokeTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/perf/OrgHierarchyPerfTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/slow/SequenceTestConcurrency.java

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


Compare: https://github.com/Evolveum/midpoint/compare/d4c952b53d41...85f0e0e228f3


More information about the midPoint-svn mailing list