[midPoint-git] [Evolveum/midpoint] e8094f: Improve shadowed object construction performance

mederly noreply at github.com
Fri Jan 17 14:24:33 CET 2025


  Branch: refs/heads/tmp/further-preprocessing-perf-improvements
  Home:   https://github.com/Evolveum/midpoint
  Commit: e8094f3754e7e7dee980808d620699e5ac092bd6
      https://github.com/Evolveum/midpoint/commit/e8094f3754e7e7dee980808d620699e5ac092bd6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/PropertyAccess.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/PropertyLimitations.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttribute.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AccessChecker.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectConstruction.java

  Log Message:
  -----------
  Improve shadowed object construction performance

1. When "shadowizing" resource object fetched from the resource, we
no longer clone individual attributes. We simply move them from the
resource object to the shadow, destroying the original object.

2. Access rights aspects of shadow definition ("canRead" etc) were moved
from prism structures to POJOs, as they are queried quite often, so
their performance is crucial. See the new PropertyAccess class.



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