[midPoint-git] [Evolveum/midpoint] 663759: Continue with tasks/activities reworking
mederly
noreply at github.com
Thu May 20 20:03:46 CEST 2021
Branch: refs/heads/feature/task-part-restructuring
Home: https://github.com/Evolveum/midpoint
Commit: 663759a719e1141e04a42091cb9ffa150015a13b
https://github.com/Evolveum/midpoint/commit/663759a719e1141e04a42091cb9ffa150015a13b
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-05-20 (Thu, 20 May 2021)
Changed paths:
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContainerValue.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/LegacyWorkDefinitionSource.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskWorkStateUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/cleanup/ShadowRefreshTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ObjectIntegrityCheckItemProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ObjectIntegrityCheckTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ShadowIntegrityCheckItemProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ShadowIntegrityCheckTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/AsyncUpdateTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/LiveSyncTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/SyncItemProcessingRequest.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/imp/ImportFromResourceTaskExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/imp/ImportFromResourceTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/imp/ImportFromResourceTaskPartExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/OperationCompletionActivityExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationTaskExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/RemainingShadowsActivityExecution.java
M 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/tasks/AbstractIterativeModelActivityExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AbstractModelTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/AbstractScannerItemProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/AbstractScannerTaskExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/FocusValidityScannerTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/simple/SimpleIterativeTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerScannerTaskHandler.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestReconTaskMultithreaded.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestReconTaskPartitioned.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/MultiPropagationActivityExecution.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/MultiPropagationItemProcessor.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/MultiPropagationTaskHandler.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationActivityExecution.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationActivityHandler.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationItemProcessor.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationTaskHandler.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationWorkDefinition.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/ModificationOpHandler.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeActivityExecution.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeItemProcessor.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeItemProcessor.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractTaskExecution.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractTaskHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ActivityExecutionStatistics.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ActivityReportingOptions.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/CommonTaskBeans.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/CurrentBucketStatistics.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/FailedObjectsFilterCreator.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/ItemProcessingRequest.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ItemProcessor.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ItemProcessorClass.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ObjectProcessingRequest.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/PartExecutionClass.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ProcessingCoordinator.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskExecutionClass.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskReportingOptions.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/ActivityDefinition.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/ObjectSetSpecificationProvider.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/WorkDefinitionFactory.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/AbstractActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/AbstractCompositeActivityExecution.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/ActivityContext.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/ActivityInstantiationContext.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/PureCompositeActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/handlers/ActivityHandler.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/handlers/ActivityHandlerRegistry.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/handlers/PureCompositeActivityHandler.java
R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/handlers/PureCompositionActivityHandler.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/task/GenericTaskExecution.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BaseBucketContentFactory.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BucketOperation.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BucketOperationStatisticsKeeper.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/CompleteBucketOperation.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/GetBucketOperation.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/ReleaseBucketOperation.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/TaskWorkStateUtilTemporary.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/WorkStateManager.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/BucketAllocator.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/BucketContentFactory.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/BucketContentFactoryCreator.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/ExplicitBucketContentFactory.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/NullBucketContentFactory.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/NumericBucketContentFactory.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/StringBucketContentFactory.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/BaseWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/FilterWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/IntervalWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/NullWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/NumericIntervalWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/StringIntervalWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/StringPrefixWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/StringValueWorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/WorkBucketContentHandler.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/content/WorkBucketContentHandlerRegistry.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/workers/WorkersManager.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/workers/Temp.java
R repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestActions.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestActivities.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestBucketManagement.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestPartitioning.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestWorkDistribution.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestWorkersManagement.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockActivityExecution.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockActivityHandler.java
R repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockClosingActivityExecution.java
R repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockOpeningActivityExecution.java
R repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockSubActivityExecution.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockWorkDefinition.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/MockClosingActivityExecution.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/MockComponentActivityExecution.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/MockOpeningActivityExecution.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockActivityExecution.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockActivityHandler.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockProcessingRequest.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockWorkDefinition.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/search/SearchIterativeMockActivityExecution.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/search/SearchIterativeMockActivityHandler.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/search/SearchIterativeMockWorkDefinition.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/simple/SimpleMockActivityExecution.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/simple/SimpleMockActivityHandler.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/simple/SimpleMockWorkDefinition.java
M repo/repo-common/src/test/resources/schema/extension.xsd
A repo/repo-common/src/test/resources/tasks/parts/task-mock-bucketed.xml
A repo/repo-common/src/test/resources/tasks/parts/task-mock-iterative.xml
A repo/repo-common/src/test/resources/tasks/parts/task-mock-search-iterative.xml
M repo/repo-common/testng-integration.xml
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/TaskManager.java
A repo/task-api/src/main/java/com/evolveum/midpoint/task/api/WorkBucketStatisticsCollector.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/test/NullTaskImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningTaskQuartzImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskBeans.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/GenericPartitioningTaskHandlerCreator.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/LightweightPartitioningTaskHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/PartitioningTaskHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/WorkersCreationTaskHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/WorkersRestartTaskHandler.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/TaskCycleExecutor.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/statistics/Statistics.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/statistics/WorkBucketStatisticsCollector.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/BaseBucketContentFactory.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/BucketOperation.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/BucketOperationStatisticsKeeper.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/CompleteBucketOperation.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/GetBucketOperation.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/ReleaseBucketOperation.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/TaskWorkStateUtilTemporary.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/WorkStateManager.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/BucketAllocator.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/BucketContentFactory.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/BucketContentFactoryCreator.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/ExplicitBucketContentFactory.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/NullBucketContentFactory.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/NumericBucketContentFactory.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/StringBucketContentFactory.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/BaseWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/FilterWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/IntervalWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/NullWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/NumericIntervalWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/StringIntervalWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/StringPrefixWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/StringValueWorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/WorkBucketContentHandler.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/content/WorkBucketContentHandlerRegistry.java
R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/workers/WorkersManager.java
M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java
R repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/PartitionedMockWorkBucketsTaskHandlerCreator.java
R repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestBucketManagement.java
R repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestPartitioning.java
R repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestWorkersManagement.java
M repo/task-quartz-impl/testng-integration.xml
Log Message:
-----------
Continue with tasks/activities reworking
1. Migrated iterative and search-iterative "part execution" classes
to the new framework. This includes basic bucketing.
2. As part of that, moved the whole bucketing/segmentation functionality
from task-quartz-impl to repo-common module.
3. Simplified registration process for activity handlers.
4. Replaced unnecessary "iterative item processor" by simple interface.
5. Attempted to unify activities and prototypes: distinguishing main
activity and auxiliary (pre/post) ones.
Unrelated minor changes:
- Added auxiliary PCV.getItemRealValue method.
Work in progress. Everything above repo-common is broken.
More information about the midPoint-svn
mailing list