[midPoint-git] [Evolveum/midpoint] eed688: Rename correlation simulation classes

Andrej noreply at github.com
Mon Jan 26 13:14:14 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: eed688afea1994f3ff2df48cb0b62f138f5e7136
      https://github.com/Evolveum/midpoint/commit/eed688afea1994f3ff2df48cb0b62f138f5e7136
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-01-26 (Mon, 26 Jan 2026)

  Changed paths:
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationActivityHandler.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationActivityRun.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationSimulationActivityHandler.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationSimulationActivityRun.java

  Log Message:
  -----------
  Rename correlation simulation classes

**What**

Rename classes related to simulation of correlation (handler/run) to
explicitly refer to simulation.

**Why**

Current implementation does support only simulation (preview) modes.
Mentioning it in the name itself makes it explicit.

**Task**: 11031


  Commit: d871c3a605955521a08cb7af26a895721de44fc5
      https://github.com/Evolveum/midpoint/commit/d871c3a605955521a08cb7af26a895721de44fc5
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-01-26 (Mon, 26 Jan 2026)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchemaFactory.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchemaParser.java

  Log Message:
  -----------
  Allow to parse schema with additional schema handling

**What**

Allow to parse resource schema with considering also additional schema
handling, which does not need to be stored in the resource.

**Why**

In case of correlation simulation, we want to simulate also
correlations, which are not yet stored, they are just suggested (by
system or LLM). However, such suggested correlations may use mappings,
which are also "suggested" only, just for the purpose of the
correlation. These mappings needs to be somehow "added" to the overall
resource schema in order to be usable by the correlation. This change
allows that.

**Notes**

This change also deletes a comment and annotation on one of
`getCompleteSchema` methods, which stated that it is meant only for
internal use and testing. The reason is that this method does not do
anything, what would not be already done by other exposed methods.

**Task**: 11031


  Commit: e1b583499d10d5557d013c740b87503f8d822973
      https://github.com/Evolveum/midpoint/commit/e1b583499d10d5557d013c740b87503f8d822973
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-01-26 (Mon, 26 Jan 2026)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-correlation-3.xsd
    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/CorrelationSimulationActivityRun.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationServiceTest.java
    M model/model-impl/src/test/resources/correlator/correlation/task/account.csv
    M model/model-impl/src/test/resources/correlator/correlation/task/dummy-resource.xml
    A model/model-impl/src/test/resources/correlator/correlation/task/family-name-correlator.xml
    A model/model-impl/src/test/resources/correlator/correlation/task/personal-number-correlator.xml
    M model/model-impl/src/test/resources/correlator/correlation/task/users.xml

  Log Message:
  -----------
  Support correlation with additional item mappings

**What**

Implement support for correlation using correlators, which uses not yet
stored mappings.

**Why**

It is needed to allow simulation of suggested (by system or LLM)
correlations. Suggested correlations often uses mappings, which are also
only suggested - not stored in resource yet.

In order to simulate such correlations, we need to specify this
additional mappings explicitly (instead of expecting their presence in
resource).

**Task**: 11031


  Commit: 583523ac50b0743565fa945c414dcf28ca5e3290
      https://github.com/Evolveum/midpoint/commit/583523ac50b0743565fa945c414dcf28ca5e3290
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-01-26 (Mon, 26 Jan 2026)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationSimulationActivityRun.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationWorkDefinition.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestCorrelatorSimulationTask.java
    M model/model-intest/src/test/resources/tasks/correlator-simulation/accounts.csv
    A model/model-intest/src/test/resources/tasks/correlator-simulation/task-correlator-simulation-with-mapping.xml
    M model/model-intest/src/test/resources/tasks/correlator-simulation/users.xml

  Log Message:
  -----------
  Support additional mappings to correlation simulation

**What**

Add optional option to specify additional mappings, which could be used
by the correlation in the correlation simulation.

**Why**

In case of simulation of suggested correlations, they often rely on
mappings which are also only suggested - not in resource. To simulate
that, we need to specify such mappings explicitly in the task work
definition.

**Task**: 11031


  Commit: 5e65017d8b70476f8064220bec2313c06007bd9d
      https://github.com/Evolveum/midpoint/commit/5e65017d8b70476f8064220bec2313c06007bd9d
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-01-26 (Mon, 26 Jan 2026)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/correlation/CorrelationItemsTableWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/correlation/SmartCorrelationTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/component/SimulationActionFlow.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/util/CorrelationUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceTaskFlavors.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationDefinitionProviderFactory.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationWorkDefinition.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationDefinitionProviderFactoryTest.java

  Log Message:
  -----------
  Rename type used in correlation simulation

**What**

Rename the type used in correlation simulation work definition.

**Why**

The former name was confusing, because it was very similar to the
`CorrelationDefinitionType`, but it has completely different purpose.

**Task**: 11031


Compare: https://github.com/Evolveum/midpoint/compare/d75c416edfce...5e65017d8b70

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