[midPoint-git] [Evolveum/midpoint] bdf8b9: Smart Integration: Optimize correlation simulation...

Michal Zelenčík noreply at github.com
Tue Mar 10 11:13:05 CET 2026


  Branch: refs/heads/improvement/correlation-simulation-optimization-2
  Home:   https://github.com/Evolveum/midpoint
  Commit: bdf8b9dacd0477b0865152ae6eca2023832c0d4e
      https://github.com/Evolveum/midpoint/commit/bdf8b9dacd0477b0865152ae6eca2023832c0d4e
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

  Changed paths:
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlation/CorrelationService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlation/CorrelationServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationSimulationActivityHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationSimulationActivityRun.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationServiceTest.java

  Log Message:
  -----------
  Smart Integration: Optimize correlation simulation - pre-compute resource schema once

Previously, CorrelationSimulationActivityRun called correlationService.correlate()
with additionalMappings per shadow, causing getObjectTypeDefinition() to run on
every iteration. That method executed ResourceSchemaFactory.schemaExtenderFor(),
merged all additional mappings and the correlation definition, then called
ResourceSchemaExtender.extend() (full schema parse) — all redundant work since the
resource, object type, mappings and correlation definition are constant for the
entire activity run.

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>



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