[midPoint-git] [Evolveum/midpoint] a6526f: Fix various caching-related issues

mederly noreply at github.com
Thu Aug 15 17:17:26 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: a6526f8036900629d1d92a5ff5070b3680f154c1
      https://github.com/Evolveum/midpoint/commit/a6526f8036900629d1d92a5ff5070b3680f154c1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/FullInboundsProcessing.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionUpdateOperation.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/AbstractModelImplementationIntegrationTest.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestModelExpressions.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjector.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectConstruction.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

  Log Message:
  -----------
  Fix various caching-related issues

1. When doing clockwork operation with projection reconciliation, the
USE_CACHED_OR_FRESH option is now specially handled even at the context
loading time: The current status of the shadow is inspected, and if it's
not fresh enough, the full shadow is loaded (just like in midPoint 4.8).

2. Inbound mappings for password and activation no longer require the
full shadow to be loaded. The respective items' caching status is
checked instead.

3. Caching metadata are correctly put into shadow even if it's retrieved
from the resource (i.e., without noFetch option).

4. Tests in model-impl were adapted to the caching.



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