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

mederly noreply at github.com
Thu May 20 07:33:56 CEST 2021


  Branch: refs/heads/support-4.2
  Home:   https://github.com/Evolveum/midpoint
  Commit: bf12aa5bcd7ba3cb42119d1def6c4588d99963e0
      https://github.com/Evolveum/midpoint/commit/bf12aa5bcd7ba3cb42119d1def6c4588d99963e0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-19 (Wed, 19 May 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: f0932a1f0ae2ce0bfc4be6c24a0b43d00c6ac94a
      https://github.com/Evolveum/midpoint/commit/f0932a1f0ae2ce0bfc4be6c24a0b43d00c6ac94a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/AssignedResourceObjectConstruction.java
    M testing/story/src/test/resources/consistency/resource-opendj-reaper.xml

  Log Message:
  -----------
  Fix TestConsistencyReaper resource definition

(cherry picked from commit c9638f4ee8c489c1f164356162df383fa04f8ba5)


  Commit: 581a418e8a7c32cbe733418fee2ab4891740f283
      https://github.com/Evolveum/midpoint/commit/581a418e8a7c32cbe733418fee2ab4891740f283
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M gui/admin-gui/src/test/java/com/evolveum/midpoint/gui/MidScaleGuiTest.java
    A gui/admin-gui/src/test/resources/schema/midscale.xsd
    M repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/SqlRepoTestUtil.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/BaseSQLRepoTest.java
    M repo/repo-test-util/pom.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M tools/perf-test/perf-test-process.sh

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/support-4.2' into support-4.2


Compare: https://github.com/Evolveum/midpoint/compare/52e08f24094a...581a418e8a7c


More information about the midPoint-svn mailing list