[midPoint-git] [Evolveum/midpoint] 164ea8: Add finer-grained cached shadows processing

mederly noreply at github.com
Tue Jul 30 00:04:20 CEST 2024


  Branch: refs/heads/tmp/shadow-caching-new
  Home:   https://github.com/Evolveum/midpoint
  Commit: 164ea8aeca051434abd21b6415e26bbf8e355257
      https://github.com/Evolveum/midpoint/commit/164ea8aeca051434abd21b6415e26bbf8e355257
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M docs/security/authorization/configuration/index.adoc
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/internals/InternalCounters.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelExecuteOptions.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
    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/LensProjectionContext.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/construction/EvaluatedResourceObjectConstructionImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ShadowItemMapper.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/ConsolidationProcessor.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/ReconciliationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/credentials/ProjectionCredentialsProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionMappingSetEvaluator.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/focus/inbounds/prep/FullInboundsContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullInboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/InboundsContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/InboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/LimitedInboundsContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/LimitedInboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedSourceItem.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedSourceItems.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ProcessingMode.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/SingleShadowInboundsPreparation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionUpdateOperation.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/LoadedStateProvider.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingEvaluatorParams.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingLoader.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/ProjectionMappingLoader.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/predefinedActivationMapping/PredefinedActivationMappingEvaluator.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestShadowCaching.java
    M model/model-intest/src/test/resources/caching/archetype-person.xml
    M model/model-intest/src/test/resources/caching/resource-dummy-hr.xml
    M model/model-intest/src/test/resources/caching/task-recompute-persons.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java

  Log Message:
  -----------
  Add finer-grained cached shadows processing

Instead of asking for the full shadow presence (at many places
in the projector), we ask whether specific attributes, associations,
activation and other items are available.

This changes midPoint behavior heavily, e.g., regarding inbound
mappings evaluation. Many tests are failing now. To be resolved.


  Commit: d984ebcd45c04d821364e0c51bf113d2e3a0f72a
      https://github.com/Evolveum/midpoint/commit/d984ebcd45c04d821364e0c51bf113d2e3a0f72a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullInboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/InboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedSourceItem.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java

  Log Message:
  -----------
  Return parts of "old" behavior

Some tests do not like running the inbounds too eagerly. So, let's
put back (parts of) the legacy behavior to see what happens now.


Compare: https://github.com/Evolveum/midpoint/compare/164ea8aeca05%5E...d984ebcd45c0

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