[midPoint-git] [Evolveum/midpoint] 797141: Fix shadow management simulation
mederly
noreply at github.com
Tue Mar 7 10:18:01 CET 2023
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 7971415b9bf239329be6c43f91c984fe87376c47
https://github.com/Evolveum/midpoint/commit/7971415b9bf239329be6c43f91c984fe87376c47
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlation/CorrelationCaseManager.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/CorrelationProcessing.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/ShadowUpdater.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/Synchronizer.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/CommonInitialObjects.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ProcessedObjectAsserter.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/ObjectDeltaAsserter.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestFirstSteps.java
Log Message:
-----------
Fix shadow management simulation
1. Fixed deltas issued by correlation processing: introducing estimated
old values, optimizing deltas if no real changes are there.
2. Fixed deltas issued by synchronization service:
a) optimizing deltas if no real changes are there,
b) resetting sync situation to null for protected objects,
c) overwriting "unknown" classification even if synchronization is
excluded (we do that in provisioning module anyway, so this is a code
simplification),
d) updating synchronization timestamp even in shadow mgmt simulation
mode (this is needed for 3rd reconciliation stage).
3. Removed check for protected shadows in Synchronizer, because the same
functionality is present in SynchronizationServiceImpl.
4. Adapted and extended TestFirstSteps.
Commit: 1910ece616022f2f14b51f28683396501fdaa4f8
https://github.com/Evolveum/midpoint/commit/1910ece616022f2f14b51f28683396501fdaa4f8
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestFirstSteps.java
Log Message:
-----------
Stop resetting sync situation for protected objs
This reverts change 2b (resetting sync situation to null for protected
objects) in 7971415b9bf239329be6c43f91c984fe87376c47.
It seems that this behavior was there by intention, and the change
was, after all, questionable.
Commit: ea760e855508e8dc6703539aa11ff11561c031ea
https://github.com/Evolveum/midpoint/commit/ea760e855508e8dc6703539aa11ff11561c031ea
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java
Log Message:
-----------
Adapt TestImportRecon to recent changes
After letting Synchronizer propagate protected accounts' sync events
to SynchronizationServiceImpl (7971415b9bf239329be6c43f91c984fe87376c47,
point #3), the "objects processed" and "shadow fetched" counters went
down (because protected shadows are no longer re-processed in 3rd stage
of reconciliation).
TestImportRecon had to be adapted.
Commit: 7a894772a22ebc9765cd26b9be46cadff9e76856
https://github.com/Evolveum/midpoint/commit/7a894772a22ebc9765cd26b9be46cadff9e76856
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchBoxConfigurationBuilder.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchBuilder.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchContext.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ReferenceValueSearchPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/TaskOperationalButtonsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResult.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResultObjects.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/ProcessedObjectsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/SimulationPage.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/widget/MetricWidgetPanel.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/c6765366ae6d...7a894772a22e
More information about the midPoint-svn
mailing list