[midPoint-git] [Evolveum/midpoint] 2a3204: Fix updating index-only attributes in provisioning
mederly
noreply at github.com
Wed Aug 25 17:07:03 CEST 2021
Branch: refs/heads/tmp/mid-7162-on-4.3
Home: https://github.com/Evolveum/midpoint
Commit: 2a32047cb7158cfc79ee535c40579c3fd63d995a
https://github.com/Evolveum/midpoint/commit/2a32047cb7158cfc79ee535c40579c3fd63d995a
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ObjectClassComplexTypeDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainer.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/GetHelper.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowDeltaComputer.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowManager.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowUpdater.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java
A provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCachingIndexOnly.java
A provisioning/provisioning-impl/src/test/resources/dummy/dummy-caching/resource-dummy-index-only.xml
M provisioning/provisioning-impl/testng-integration.xml
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
Log Message:
-----------
Fix updating index-only attributes in provisioning
Index-only cached attributes were not correctly maintained in repo.
This is now fixed:
1) ShadowUpdater#updateShadow now explicitly retrieves index-only
attributes from the repository before computing update deltas
(if needed).
2) ResourceAttributeContainer#convertFromContainer method now correctly
preserves "incomplete" flag on individual attributes.
This should fix MID-7162.
(cherry picked from commit 0f5ad9b8bad20ddffcdf063cc0bad432f2eaacdc)
More information about the midPoint-svn
mailing list