[midPoint-git] [Evolveum/midpoint] 688faa: Optimize attribute definitions lookups
mederly
noreply at github.com
Fri Jan 17 11:04:27 CET 2025
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 688faa44041e6b1ca34af98ad4149f531f72d9f9
https://github.com/Evolveum/midpoint/commit/688faa44041e6b1ca34af98ad4149f531f72d9f9
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/PrismContainerWrapperImpl.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ValueMetadataWrapperImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AbstractResourceObjectDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AttributeDefinitionStore.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/CompositeObjectDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsComplexTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesComplexTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSingleReferenceAttributeComplexTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectDefinitionDelegator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableComplexTypeDefinition.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableContainerDefinition.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectConstruction.java
Log Message:
-----------
Optimize attribute definitions lookups
The findLocalItemDefinition method for resource object definitions
(and a couple of similar methods) are more efficient now: instead of
iterating through definitions, map lookups are used.
This improves the performance of the pre-processing in
provisioning-impl, especially for shadows with larger # of attributes.
Related to ca024ec6365cafeb7edd0645d49cd9b165f3404c in prism.
Commit: 305a124beabc5db5ba427be2c3d22713359cdc97
https://github.com/Evolveum/midpoint/commit/305a124beabc5db5ba427be2c3d22713359cdc97
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/PrismContainerWrapperImpl.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ValueMetadataWrapperImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AbstractResourceObjectDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AttributeDefinitionStore.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/CompositeObjectDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsComplexTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesComplexTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSingleReferenceAttributeComplexTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectDefinitionDelegator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableComplexTypeDefinition.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableContainerDefinition.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectConstruction.java
Log Message:
-----------
Merge remote-tracking branch 'origin/tmp/iterative-definitions-lookups-gone'
Compare: https://github.com/Evolveum/midpoint/compare/80546a161da6...305a124beabc
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list