[midPoint-git] [Evolveum/midpoint] bdf8b9: Smart Integration: Optimize correlation simulation...
Michal Zelenčík
noreply at github.com
Thu Mar 12 18:17:55 CET 2026
Branch: refs/heads/master
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>
Commit: 7089b2d31f4bb7b0f8d1be3cfc3aa351f273c0bf
https://github.com/Evolveum/midpoint/commit/7089b2d31f4bb7b0f8d1be3cfc3aa351f273c0bf
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-11 (Wed, 11 Mar 2026)
Changed paths:
R docs/security/credentials/password-policy.adoc
A docs/security/credentials/password-policy/index.adoc
A docs/security/credentials/password-policy/invalid-account-projection-password-error.webp
A docs/security/credentials/password-policy/password-policy-edit-form-hint.webp
A docs/security/credentials/password-policy/resource-specific-password-policy.adoc
A docs/security/credentials/password-policy/verify-password-policies.adoc
M gui/admin-gui/package-lock.json
M gui/admin-gui/package.json
M gui/admin-gui/pom.xml
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/MainObjectListPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/CsvDownloadButtonPanel.html
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/CsvDownloadButtonPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/CsvDownloadInlineMenuItem.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/DropdownButtonUtil.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/ExportDownloadInlineMenuItem.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/XlsxDataExporter.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/XlsxDownloadInlineMenuItem.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/ButtonBar.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/ContainerableListPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/ContainerableListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/MappingUtils.java
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/web/component/data/column/ColumnUtils.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/dialog/ExportingPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
M pom.xml
M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java
Log Message:
-----------
Merge branch 'master' into improvement/correlation-simulation-optimization-2
Commit: 655cfe3918f19c3fa85efe55d6ee4714f84b5fc3
https://github.com/Evolveum/midpoint/commit/655cfe3918f19c3fa85efe55d6ee4714f84b5fc3
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-11 (Wed, 11 Mar 2026)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlation/CorrelationServiceImpl.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/tasks/CorrelationServiceTest.java
Log Message:
-----------
Smart Integration: Refactor CorrelationServiceTest
The test class now focuses solely on correlation service behavior,
not on schema extension with additional mappings.
Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>
Commit: 65fd96bf98a45479279e8323da14144e88733c1a
https://github.com/Evolveum/midpoint/commit/65fd96bf98a45479279e8323da14144e88733c1a
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-03-12 (Thu, 12 Mar 2026)
Changed paths:
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/dummy-resource.xml
R model/model-impl/src/test/resources/correlator/correlation/task/item-correlator.xml
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestCorrelatorSimulationTask.java
A model/model-intest/src/test/resources/tasks/correlator-simulation/simulation-task-with-additional-mapping.xml
R 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/task-correlator-simulation.xml
Log Message:
-----------
Modify tests to reflect changes in correlation simulation
**What**
Re/move tests, which are not relevant anymore or should be in different
class.
**Why**
Previous commits moved the logic of the "resource schema extending" by
additional correlation mappings to the task itself. But the tests in the
correlation service tested also this logic. Obviously such tests does
not belong to the correlation service anymore.
An alternate version of mentioned tests are now in the test class of
correlation simulation task.
**Task**: 11031
Commit: 6f7bbf08985fac88b224442eb956bd4a5ef3c66b
https://github.com/Evolveum/midpoint/commit/6f7bbf08985fac88b224442eb956bd4a5ef3c66b
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-12 (Thu, 12 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
M model/model-impl/src/test/resources/correlator/correlation/task/dummy-resource.xml
R model/model-impl/src/test/resources/correlator/correlation/task/item-correlator.xml
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestCorrelatorSimulationTask.java
A model/model-intest/src/test/resources/tasks/correlator-simulation/simulation-task-with-additional-mapping.xml
R 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/task-correlator-simulation.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/improvement/correlation-simulation-optimization-2'
Compare: https://github.com/Evolveum/midpoint/compare/05f19d33afeb...6f7bbf08985f
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