[midPoint-git] [Evolveum/midpoint] c9b94d: Improve reference attributes caching
mederly
noreply at github.com
Mon Jul 22 16:36:27 CEST 2024
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: c9b94d325e8a5601e899a4e16b061b8fd17967a4
https://github.com/Evolveum/midpoint/commit/c9b94d325e8a5601e899a4e16b061b8fd17967a4
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-22 (Mon, 22 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeValue.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/RawRepoShadow.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/AbstractDirectManualResourceTest.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestUuidNonUniqueName.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/RepoShadow.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/RepoShadowModifications.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AssociationsHelper.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/EntitlementsHelper.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowAddOperation.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowGetOperation.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowModifyOperation.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowProvisioningOperation.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowSearchLikeOperation.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectConstruction.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowsLocalBeans.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/OperationResultRecorder.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowComputerUtil.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowDeltaComputerRelative.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/TestDummy.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyParallelism.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyRichAssociations.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/mock/SynchronizationServiceMock.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/RepoShadowAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAttributesAsserter.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDelivery.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestFirstSteps.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/consistency/TestConsistencyMechanism.java
Log Message:
-----------
Improve reference attributes caching
1. Cached reference attribute values are now updated on object
modifications.
2. Cached reference attribute values are now returned when objects
are retrieved with noFetch option; converted to associations
if possible.
3. BEHAVIOR CHANGE: Generally, when converting reference attributes
to associations, converted values are REMOVED from the shadow. Hence,
no data duplication occurs there. (Values that could not be converted
for any reason, e.g. because the association is not defined, are kept
in their original place.)
Commit: 65788bae45a91d9f54b503a927d5f5a406b65793
https://github.com/Evolveum/midpoint/commit/65788bae45a91d9f54b503a927d5f5a406b65793
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-22 (Mon, 22 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeValue.java
Log Message:
-----------
Revert "Fix target type for ShadowReferenceAttributeValue"
This reverts commit e03905fde13967c62ca0111933d51c24876bde91.
It looks like the original commit breaks
TestIntegrationObjectWrapperFactory.test150.
Commit: 32e7380aa019cb1fce23331e5cad3e57d05678b0
https://github.com/Evolveum/midpoint/commit/32e7380aa019cb1fce23331e5cad3e57d05678b0
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-22 (Mon, 22 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeValue.java
Log Message:
-----------
Fill-in the target type in ref. attrs values
This fixes the report-impl tests.
Compare: https://github.com/Evolveum/midpoint/compare/4f121c944fbf...32e7380aa019
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