[midPoint-git] [Evolveum/midpoint] 52965a: Avoid slow PCV.getProperties() call

mederly noreply at github.com
Tue May 2 12:44:39 CEST 2023


  Branch: refs/heads/tmp/perf-4.8
  Home:   https://github.com/Evolveum/midpoint
  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).


Compare: https://github.com/Evolveum/midpoint/compare/ed6351add4df...e930f67e331e


More information about the midPoint-svn mailing list