[midPoint-git] [Evolveum/midpoint] 7076ef: Correlate before suggesting mappings and mapping s...
Andrej
noreply at github.com
Fri Mar 27 21:13:16 CET 2026
Branch: refs/heads/feature/s-11112-correlate-before-suggest
Home: https://github.com/Evolveum/midpoint
Commit: 7076ef03f318e0af674704be8c4abd20a60dc82c
https://github.com/Evolveum/midpoint/commit/7076ef03f318e0af674704be8c4abd20a60dc82c
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-03-27 (Fri, 27 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/mappings/tasks/MappingSimulationActivityRun.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMappingSimulationTask.java
M model/model-intest/src/test/resources/tasks/mapping-simulation/accounts.csv
M model/model-intest/src/test/resources/tasks/mapping-simulation/dummy-resource.xml
M model/model-intest/src/test/resources/tasks/mapping-simulation/users.xml
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ShadowsWithOwnersCorrelatingProvider.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyTestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestResourceAccounts.java
Log Message:
-----------
Correlate before suggesting mappings and mapping simulation
**What**
If now linked/correlated owner of the shadow exists yet, tries to
correlate it by running the correlation process.
**Why**
In order to generate good suggestions for mappings, we need data from
the shadow - owner (focus) pairs. Before this change we had to manually
run the synchronization task (or any task which links users to
accounts). With this change it is no more needed, it will be done
automatically.
We also need the owner of the shadow in mappings simulation. So we
run correlation also there (if needed).
**Notes**
This change also does:
- Improve tests a bit by adding documentation and linking accounts per
test (not globally in init method) and only for accounts expected by
the particular test.
- Remove one `@NotNull` annotation introduced by mistake in some of my
previous commits.
- Remove unnecessary code from `DummyTestResource`
**Task**: 11112
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