[midPoint-git] [Evolveum/midpoint] 6c8feb: Fix delayed-deletion of already disabled shadows
mederly
noreply at github.com
Thu Jan 18 13:32:16 CET 2024
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 6c8feb89109e762c83b43974663d25bfa7ad5ef3
https://github.com/Evolveum/midpoint/commit/6c8feb89109e762c83b43974663d25bfa7ad5ef3
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-01-18 (Thu, 18 Jan 2024)
Changed paths:
M docs/concepts/activation/index.adoc
M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ActivationUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocusActivationProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/predefinedActivationMapping/DelayedDeleteEvaluator.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestActivation.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMapping.java
M release-notes.adoc
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAsserter.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDelayedEnable.java
Log Message:
-----------
Fix delayed-deletion of already disabled shadows
If the disabled shadow was to be delayed-deleted, for example,
when transitioning focus from active to suspended to archived
state with disable-instead-of-delete and delayed-delete features
set, the mechanism did not work, because the disable reason was
not updated from #mapped to #deprovision on the suspended->archived
focus transition.
To fix this, the behavior of "disableTimestamp" and "disableReason"
in the shadow activation container had to be changed. Originally,
these properties were updated only if there was an actual change in
the administrative status from something to DISABLED. Since this
commit, both of these properties are updated even if the administrative
status is already DISABLED (and the reason changes).
The only real code changes are in processActivationMetadata(..) method
in ActivationProcessor. All others are tests, docs, and cosmetics.
Related to MID-9220.
Commit: dcfe00b2f9ab9ccbe4d1fa199515e37e3123cad2
https://github.com/Evolveum/midpoint/commit/dcfe00b2f9ab9ccbe4d1fa199515e37e3123cad2
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-01-18 (Thu, 18 Jan 2024)
Changed paths:
M dist/src/main/bin/midpoint.sh
M docs/admin-gui/resource-wizard/index.adoc
A docs/admin-gui/resource-wizard/task-wizard-defined-tasks.png
A docs/admin-gui/resource-wizard/task-wizard-menu.png
A docs/admin-gui/resource-wizard/task-wizard-step-1-select-task-type-simulated.png
A docs/admin-gui/resource-wizard/task-wizard-step-1-select-task-type.png
A docs/admin-gui/resource-wizard/task-wizard-step-2-basic-simulated.png
A docs/admin-gui/resource-wizard/task-wizard-step-2-basic.png
A docs/admin-gui/resource-wizard/task-wizard-step-3-resource-simulated.png
A docs/admin-gui/resource-wizard/task-wizard-step-3-resource.png
A docs/admin-gui/resource-wizard/task-wizard-step-4-distribution.png
A docs/admin-gui/resource-wizard/task-wizard-step-4-execution-simulated.png
A docs/admin-gui/resource-wizard/task-wizard-step-5-schedule-simulated.png
M gui/admin-gui/src/frontend/js/midpoint-theme.js
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageAdminLTE.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebModelServiceUtils.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/factory/DateSearchItemWrapperFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/DateIntervalSearchPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/ItemPathSearchPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/panel/PopoverSearchPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/assignmentholder/component/assignmentType/assignment/AbstractAssignmentPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/AssignmentHolderOperationalButtonsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/PageRegistrationFinish.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/credentials/PropagatePasswordPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/DefaultContainerablePanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormDefaultContainerablePanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AbstractSummaryPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointApplication.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ProjectionValuesProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocusConstraintsChecker.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/IterationHelper.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/util/SubscriptionUtil.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/util/SubscriptionWrapper.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/SubscriptionDateValidityTest.java
M repo/repo-common/testng-unit.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/4165acdbad2f...dcfe00b2f9ab
More information about the midPoint-svn
mailing list