[midPoint-git] [Evolveum/midpoint] d77d47: Apply all sorter-provided classifications
mederly
noreply at github.com
Fri Jun 10 00:38:47 CEST 2022
Branch: refs/heads/feature/default-types
Home: https://github.com/Evolveum/midpoint
Commit: d77d478d8a97772594538639e82119fd21a73195
https://github.com/Evolveum/midpoint/commit/d77d478d8a97772594538639e82119fd21a73195
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-06-10 (Fri, 10 Jun 2022)
Changed paths:
M infra/common/src/main/java/com/evolveum/midpoint/common/SynchronizationUtils.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ProjectionContextFilter.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
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/ShadowUpdater.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationContextLoader.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationExpressionsEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/reactions/SynchronizationActionExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/Synchronizer.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfirmationEvaluator.java
M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningService.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ClassificationHelper.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/classification/ResourceObjectClassifier.java
Log Message:
-----------
Apply all sorter-provided classifications
During recent changes in synchronization code (most probably in
5e841416523a6d46431443d36b056e91ada0b9f1) the handling of sync sorter
result was broken: it was ignored if the shadow was already classified.
This commit brings back the original behavior: if the sorter provides
a classification, it is applied regardless of whether the shadow was
already classified. (Assuming that the synchronization is not disabled.)
Other changes:
- If the sorter returns none or incomplete classification, the default
classification algorithm is carried out.
- A couple of minor code improvements have been done, e.g. ShadowUpdater
was created to help SynchronizationServiceImpl with saving sync
metadata.
Work in progress.
More information about the midPoint-svn
mailing list