[midPoint-git] [Evolveum/midpoint] de190e: Use R/O option when resolving names for audit

mederly noreply at github.com
Tue Jan 28 09:51:33 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: de190ef7a7945f768216e807a0218cf28eeeaf9e
      https://github.com/Evolveum/midpoint/commit/de190ef7a7945f768216e807a0218cf28eeeaf9e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ShadowAuditHelper.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java

  Log Message:
  -----------
  Use R/O option when resolving names for audit

Using read-only "get" option eliminates object cloning when retrieving
the object from the cache. Improves provisioning pre-processing
for new shadows (audited) by ~5%.

Temporary solution! It may slightly worse the performance when names
are resolved from real repo (not from cache). We should implement
something more advanced, like custom name resolver provided by the
repo.


  Commit: 9f8614968d6b51bced377f74cc7d935307ea6886
      https://github.com/Evolveum/midpoint/commit/9f8614968d6b51bced377f74cc7d935307ea6886
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AbstractLazilyInitializableShadowedEntity.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AssociationsHelper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowAcquisition.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowPostProcessor.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedChange.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowFinder.java

  Log Message:
  -----------
  Avoid extra SQL access for embedded shadows

Embedded shadows (used for associations and reference attributes)
do not need "operationExecution" information. So, we exclude it
from the respective repo search operations.

(The back side is that the repository cache is avoided. But we assume
that shadows are usually not cached anyway.)

This should improve performance of provisioning "get" and "search"
operations when many entitlements are present.


  Commit: 26587c070d567a22466d7e10983b50fdeb5177ce
      https://github.com/Evolveum/midpoint/commit/26587c070d567a22466d7e10983b50fdeb5177ce
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/outlier/panel/OutlierAnomaliesItemPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/tmp/context/AbstractRoleAnalysisConfiguration.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/373fa472a224...26587c070d56

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