[midPoint-git] [Evolveum/midpoint] 23e237: Apply fastAddOperations when parsing trusted data

mederly noreply at github.com
Tue May 2 22:55:19 CEST 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 23e237aa5772d49fe38363a0edbc44b51f0b11d0
      https://github.com/Evolveum/midpoint/commit/23e237aa5772d49fe38363a0edbc44b51f0b11d0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/IvwoConsolidator.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/mapping/QAuditDeltaMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAccessCertificationCase.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectRetriever.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlRepoContext.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/ClusterExecutionHelperImpl.java

  Log Message:
  -----------
  Apply fastAddOperations when parsing trusted data

This can be questionable when the schema changes, but in general it
should be worth the (negligible) risk.


  Commit: f8e8d6b19568cff924699d6bee8a2a85577bd9fc
      https://github.com/Evolveum/midpoint/commit/f8e8d6b19568cff924699d6bee8a2a85577bd9fc
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceTypeUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningService.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningServiceImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowGetOperation.java

  Log Message:
  -----------
  Reduce object cloning

1. SUCCESS fetch result is no longer recorded into objects returned by
provisioning.getObject operation. (This involved cloning of immutable
objects.)

2. Reference values to be put into roleMembershipRef are no longer
cloned "in full", as it embraced cloning of the embedded object. Simpler
copy operation is invoked instead.

3. "Mark resource up" in resource manager is invoked after successful
get operation only if the resource was previously not marked as "up".
The resource manager checks the current status in not quite optimal way
now, so it's better to avoid that invocation if possible.


  Commit: 0f2062df659439007b4bf0911ef19d8a5a2269c5
      https://github.com/Evolveum/midpoint/commit/0f2062df659439007b4bf0911ef19d8a5a2269c5
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M testing/story/src/test/resources/system-perf/system-configuration.xml

  Log Message:
  -----------
  Cache marks and connectors in system perf test

The test system configuration was not updated when marks were added.


  Commit: ed6351add4dfd9e2d312be2120c655474ce4fc8b
      https://github.com/Evolveum/midpoint/commit/ed6351add4dfd9e2d312be2120c655474ce4fc8b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/TestSystemPerformance.java
    M testing/story/src/test/resources/system-perf/metarole-technical.xml
    M testing/story/src/test/resources/system-perf/resource-source.vm.xml
    M testing/story/src/test/resources/system-perf/resource-target.vm.xml

  Log Message:
  -----------
  Qualify all "path" expressions in the perf test

This is to measure the effect of avoiding the full scan in PCVs.


  Commit: 52965ae5ee9a717b54795fd9e5601b3d2b404116
      https://github.com/Evolveum/midpoint/commit/52965ae5ee9a717b54795fd9e5601b3d2b404116
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerImpl.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/idmatch/IdMatchObject.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/BasicExpressionFunctions.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/EntitlementConverter.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectReferenceResolver.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnIdConfigurationTransformer.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/asserter/ShadowAttributesAsserter.java

  Log Message:
  -----------
  Avoid slow PCV.getProperties() call

This method is known to be inefficient. Instead of rewriting/replacing
it we simply avoided its use - for now.


  Commit: e930f67e331eccb6a791236ca136674328ebe6c1
      https://github.com/Evolveum/midpoint/commit/e930f67e331eccb6a791236ca136674328ebe6c1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AbstractResourceObjectDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectTypeDefinitionImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.java

  Log Message:
  -----------
  Make attribute definition lookup faster

Instead of using the default (iterative) implementation, we provide
a map that can be used for common cases - immutable definition,
case-insensitive searches.

Preliminary. Does not include e.g. composite definitions (when aux OCs
are used).


  Commit: 73bc2c08568eabd9c27d5f063b7a007b88310829
      https://github.com/Evolveum/midpoint/commit/73bc2c08568eabd9c27d5f063b7a007b88310829
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AbstractResourceObjectDefinitionImpl.java

  Log Message:
  -----------
  Fix unqualified attribute definition lookup

Fixes e930f67e331eccb6a791236ca136674328ebe6c1.


  Commit: 77bd4ba72624b9652c9416d402ac3b6a90137b79
      https://github.com/Evolveum/midpoint/commit/77bd4ba72624b9652c9416d402ac3b6a90137b79
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyResourceAndSchemaCaching.java

  Log Message:
  -----------
  Adapt TestDummyResourceAndSchemaCaching

Some extra operations were removed.


  Commit: f1717e1f82a3047b8895e70235177825642878e6
      https://github.com/Evolveum/midpoint/commit/f1717e1f82a3047b8895e70235177825642878e6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AccessChecker.java

  Log Message:
  -----------
  Fix attribute "get" access enforcement

Until optimized in 52965ae5ee9a717b54795fd9e5601b3d2b404116, the
filtering of unreadable attributes effectively did nothing, as it
operated on a cloned collection. The above commit uncovered this.

The filtering is now fixed.


  Commit: 5febe2305ebc96c3aa97e83715d3880c0c778746
      https://github.com/Evolveum/midpoint/commit/5febe2305ebc96c3aa97e83715d3880c0c778746
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AccessChecker.java

  Log Message:
  -----------
  Re-add logging statement removed by mistake


  Commit: e40f8794797ad14b8cccff8ac8f44407810a75a4
      https://github.com/Evolveum/midpoint/commit/e40f8794797ad14b8cccff8ac8f44407810a75a4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd

  Log Message:
  -----------
  Add forgotten "containerable" flag


  Commit: 99e0af3cda0dedde693034f31681c9dcac74cd7a
      https://github.com/Evolveum/midpoint/commit/99e0af3cda0dedde693034f31681c9dcac74cd7a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestActivation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestBrokenResources.java

  Log Message:
  -----------
  Adapt tests in model-intest after recent changes

As for XMLGregorianCalendar, the current cloning method works a bit
differently from the original one; but results of both are OK.

See dae64b99ab5f5abd84c5ebf1a31d0d7804cfa015.


  Commit: d59eba3c774395a3f62bcdd4e05787c2a1f01112
      https://github.com/Evolveum/midpoint/commit/d59eba3c774395a3f62bcdd4e05787c2a1f01112
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java

  Log Message:
  -----------
  Fix roleMembershipRef values cloning

Target name should be preserved for create-on-demand scenarios.


  Commit: 3965ed2285dac8ec75737f9738553e4c1d218d23
      https://github.com/Evolveum/midpoint/commit/3965ed2285dac8ec75737f9738553e4c1d218d23
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/PopoverSearchPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/PopoverSearchPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ReferenceValueSearchPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ReferenceValueSearchPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ReferenceValueSearchPopupPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ReferenceValueSearchPopupPanel.java

  Log Message:
  -----------
  Merge branch 'master' into tmp/perf-4.8


Compare: https://github.com/Evolveum/midpoint/compare/5ba02604a106...3965ed2285da


More information about the midPoint-svn mailing list