[midPoint-git] [Evolveum/midpoint] fe456a: Rename correlation simulation classes
Andrej
noreply at github.com
Wed Jan 21 19:10:56 CET 2026
Branch: refs/heads/feature/additional-corelation-mappings
Home: https://github.com/Evolveum/midpoint
Commit: fe456a4424264f59c59e5ec6aa17352ed072adda
https://github.com/Evolveum/midpoint/commit/fe456a4424264f59c59e5ec6aa17352ed072adda
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-01-21 (Wed, 21 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: 5472c101b7bc45787e845347311c69f29e39bd9e
https://github.com/Evolveum/midpoint/commit/5472c101b7bc45787e845347311c69f29e39bd9e
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-01-21 (Wed, 21 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: 251e3c16dbf23f92710653b34768f295effefcf1
https://github.com/Evolveum/midpoint/commit/251e3c16dbf23f92710653b34768f295effefcf1
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-01-21 (Wed, 21 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: 62bfb1c7c7cf7d41eae83a2c178c79c235bf24ac
https://github.com/Evolveum/midpoint/commit/62bfb1c7c7cf7d41eae83a2c178c79c235bf24ac
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-01-21 (Wed, 21 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
Compare: https://github.com/Evolveum/midpoint/compare/fe456a442426%5E...62bfb1c7c7cf
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