[midPoint-git] [Evolveum/midpoint] da378e: Implement multi-note thresholds

mederly noreply at github.com
Mon Jul 5 20:49:45 CEST 2021


  Branch: refs/heads/feature/thresholds
  Home:   https://github.com/Evolveum/midpoint
  Commit: da378ecf5506d66ee591735f5015e80d24290eba
      https://github.com/Evolveum/midpoint/commit/da378ecf5506d66ee591735f5015e80d24290eba
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ExceptionUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/BucketingUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelPublicConstants.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/EvaluatedPolicyRule.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleCounterUpdater.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/PartialReconciliationActivityExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationActivityExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationActivityHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationResult.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/RemainingShadowsActivityExecution.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ResourceObjectsReconciliationActivityExecution.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ResourceReconciliationActivityExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/sync/LiveSyncActivityExecution.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestLiveSyncTask.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestReconTask.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestTaskReporting.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/SynchronizationResult.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningServiceImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/sync/IndividualEventsAcknowledgeGate.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/sync/LiveSynchronizer.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/sync/OldestTokenWatcher.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/sync/SynchronizationOperationResult.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/Activity.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/AbstractWorkDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityControlFlowDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityDistributionDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityTailoring.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/CompositeWorkDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/TailoringUtil.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/WorkDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/AbstractActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/AbstractCompositeActivityExecution.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/ActivityCountersGroup.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/ActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/handlers/PureCompositeActivityHandler.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/ActivityState.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/CurrentActivityState.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/OtherActivityState.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/counters/CountersIncrementOperation.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ErrorHandlingStrategyExecutor.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ItemProcessingGatekeeper.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/task/GenericTaskExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BucketingManager.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/StringValueWorkBucketContentHandler.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/CommonMockActivityHelper.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockActivityHandler.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    R repo/task-api/src/main/java/com/evolveum/midpoint/task/api/ExecutionContext.java
    A repo/task-api/src/main/java/com/evolveum/midpoint/task/api/ExecutionSupport.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/RunningTask.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/Task.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskRunResult.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskUtil.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningTaskQuartzImpl.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholds.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsLiveSync.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsLiveSyncExecute.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsLiveSyncExecuteMultithreaded.java
    R testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsLiveSyncFull.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsLiveSyncSimulate.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsLiveSyncSimulateMultithreaded.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsRecon.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsReconExecute.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsReconExecuteMultinode.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsReconExecuteMultithreaded.java
    R testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsReconFull.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsReconSimulate.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsReconSimulateMultithreaded.java
    A testing/story/src/test/resources/thresholds/role-stop-on-3rd-user-deletion.xml
    R testing/story/src/test/resources/thresholds/role-stop-on-6th-user-deletion.xml
    A testing/story/src/test/resources/thresholds/system-configuration.xml
    A testing/story/src/test/resources/thresholds/task-opendj-reconcile-deleted-execute.xml
    A testing/story/src/test/resources/thresholds/task-opendj-reconcile-deleted-simulate-execute.xml
    A testing/story/src/test/resources/thresholds/task-opendj-reconcile-execute-multinode.xml
    A testing/story/src/test/resources/thresholds/task-opendj-reconcile-execute.xml
    R testing/story/src/test/resources/thresholds/task-opendj-reconcile-full.xml
    R testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate-execute.xml
    A testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate-multinode.xml
    R testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate-multithreaded.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate.xml
    M testing/story/testng-integration.xml

  Log Message:
  -----------
  Implement multi-note thresholds

1) Generalized the place where rule-related counters are kept.
For reconciliation (as a compound activity) it is the recon activity
itself.
2) Implemented "skip" processing option for activities.
3) Added default action of STOP for policy threshold exceptions.
4) Added simulation-related reconciliation activity children
(skipped by default).
5) Fixed cloning of activity definitions.
6) Improved internal interfaces related to activity counters.
7) Cleaned-up internal structures for LiveSynchronizer.
... plus a lot of minor changes.

(Still a work in progress.)




More information about the midPoint-svn mailing list