[midPoint-git] [Evolveum/midpoint] cfa06a: Make "outbound sync" policy sticky

mederly noreply at github.com
Tue Aug 27 18:28:29 CEST 2024


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

  Changed paths:
    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/PersonaProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ConstructionTargetKey.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ComplexConstructionConsumer.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ConstructionProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/Projector.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestShadowMarks.java

  Log Message:
  -----------
  Make "outbound sync" policy sticky

When:

1. a shadow has "inbound only" policy, and is imported into midPoint;
2. the focal object has a construction to the source assigned/induced
(e.g., as a birthright provided by the archetype);
3. the shadow is deleted on the resource;
4. the focal object is synchronized or recomputed;

then the "inbound policy" was gone (along with the shadow), and the
construction assigned/induced caused a replacement shadow to be created.

This is obviously unwanted behavior.

This commit makes the "outbound sync" policy more sticky: Before
creating the new projection context, midPoint checks if there's existing
one (presumably dead) that would prevent the outbounds. And respects
that.

Note that this requires dead shadows retention NOT to be disabled
(which is a good idea anyway).

Somewhat related to b91a1627851e383e2ecfe49f5c4d10fc74c07ee2
(deriving "inbound membership sync" policy from related shadows).


  Commit: 60dbde32ed0d061cf2a5306d12e69d19913e7cb4
      https://github.com/Evolveum/midpoint/commit/60dbde32ed0d061cf2a5306d12e69d19913e7cb4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ActiveCampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ReviewersStatisticsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CertMiscUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/tmp/modes/OutlierModeConfiguration.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/tables/operation/PatternStatistics.java
    M infra/common/src/main/java/com/evolveum/midpoint/common/mining/objects/analysis/cache/AttributeAnalysisCache.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CertCampaignTypeUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/mining/RoleAnalysisService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/RoleAnalysisServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/AdvancedClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/Clusterable.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/OutlierClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/RoleBasedClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/StandardClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/clustering/UserBasedClustering.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/context/ClusteringActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/context/ClusteringBehavioralResolver.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/BasicOutlierDetectionStrategy.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/ClusteringOutlierDetectionStrategy.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/OutlierAnalyzeModel.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/OutlierDetectionStrategyResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/OutliersDetectionUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/context/OutlierDetectionActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/context/OutlierPatternResolver.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/inline/BasicOutlierDetectionStrategy.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/inline/OutlierDetectionBasicModel.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/outline/OutlierDetectionOutlineClusterModel.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/outline/OutlierDetectionOutlineModel.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/outline/OutlineOutlierDetectionStrategy.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/detection/PatternResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/analysis/AttributeAnalysisUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/utils/RoleAnalysisAlgorithmUtils.java
    M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/AggregateQuery.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/AggregateSearchContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/RefTableItemFilterProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/ReferenceNameResolver.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchAggregateTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestTask.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/e7c1a1f7125d...60dbde32ed0d

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