[midPoint-git] [Evolveum/midpoint] 00c7f0: Optimize assignment path vars creation, part 1

mederly noreply at github.com
Fri Mar 14 20:24:08 CET 2025


  Branch: refs/heads/feature/less-cloning
  Home:   https://github.com/Evolveum/midpoint
  Commit: 00c7f030a56e9a4800e8778074dafbb0817fde77
      https://github.com/Evolveum/midpoint/commit/00c7f030a56e9a4800e8778074dafbb0817fde77
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/ItemDeltaBeanToNativeConversion.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationValue.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttribute.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeValue.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSimpleAttribute.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSimpleAttributeImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelInteractionService.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/DeltaExecution.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConnectorManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceCache.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/OtherParameters.java

  Log Message:
  -----------
  Optimize assignment path vars creation, part 1

In LensUtil.computeAssignmentPathVariables, cloning is replaced by
copy() calls.

Other changes:

- createImmutableClone() calls are replaced by immutableCopy().
- Unused method in ModelInteractionService (that called it as well)
is removed.
- Support for default copy() was added to shadow items (attributes,
associations). However, it is not complete, and probably will not work
too much! These should be supported by flyweights as well, eventually.
- Eliminated unnecessary double delta cloning when adding a delta into
executed deltas (ODOs).

Work in progress.



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