[midPoint-git] [Evolveum/midpoint] 534d1e: Unify LiveSync/AsyncUpdate with iteration tasks

mederly noreply at github.com
Thu Jan 28 20:33:10 CET 2021


  Branch: refs/heads/feature/live-sync-unification
  Home:   https://github.com/Evolveum/midpoint
  Commit: 534d1eebd7b2088a96ffec41f2c1ceb901bb7440
      https://github.com/Evolveum/midpoint/commit/534d1eebd7b2088a96ffec41f2c1ceb901bb7440
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/AcknowledgementSink.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/IterationItemInformation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/StatisticsCollector.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelService.java
    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/controller/ModelController.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/DefaultDuplicateShadowsResolver.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ObjectIntegrityCheckItemProcessor.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ObjectIntegrityCheckResultHandler.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/ObjectIntegrityCheckTaskPartExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ObjectStatistics.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ShadowIntegrityCheckItemProcessor.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ShadowIntegrityCheckResultHandler.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/integrity/ShadowIntegrityCheckTaskPartExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/ShadowStatistics.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/IterativeScriptExecutionTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationService.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/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/NullSynchronizationObjectFilterImpl.java
    A 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/SyncTaskHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/SynchronizationObjectsFilter.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/SynchronizationObjectsFilterImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/Synchronizer.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/ReconciliationTaskExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationTaskFirstPartExecution.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/ReconciliationTaskSecondPartExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationTaskThirdPartExecution.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AbstractIterativeModelTaskPartExecution.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AbstractModelTaskHandler.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AbstractSearchIterativeModelTaskHandler.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AbstractSearchIterativeModelTaskPartExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/DeleteNotUpdatedShadowTaskHandler.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/DeleteNotUpdatedShadowTaskHandlerOld.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/ExecuteChangesTaskHandler.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/ExecuteChangesTaskHandlerOld.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/RecomputeTaskHandler.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/RecomputeTaskHandlerOld.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/ReindexTaskHandler.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/AbstractScannerItemProcessor.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/AbstractScannerResultHandler.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/AbstractScannerTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/AbstractScannerTaskPartExecution.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/FocusValidityScannerItemProcessor.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/FocusValidityScannerResultHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/FocusValidityScannerTaskExecution.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/scanner/FocusValidityScannerTaskPartExecution.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/ShadowReconcileTriggerHandler.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerScannerItemProcessor.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerScannerResultHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerScannerTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerScannerTaskPartExecution.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/util/mock/MockFactory.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/MockAsyncUpdateSource.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestAsyncUpdateGrouperJson.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestAsyncUpdateUcf.java
    M model/model-intest/src/test/resources/logback-test.xml
    M model/model-intest/src/test/resources/sync/resource-dummy-multi-changes.xml
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/AsyncUpdateEvent.java
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/AsyncUpdateEventHandler.java
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/LiveSyncEvent.java
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/LiveSyncEventHandler.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningService.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ResourceEventDescription.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ResourceEventListener.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ResourceObjectShadowChangeDescription.java
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/SynchronizationEvent.java
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/SynchronizationEventHandler.java
    A 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/ChangeNotificationDispatcherImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.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/ResourceEventListenerImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceObjectConverter.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCache.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedAcknowledgeableChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedAsyncChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedExternalChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedLiveSyncChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ExternalResourceObjectChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectAsyncChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectAsyncChangeListener.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectLiveSyncChange.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectLiveSyncChangeListener.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadowmanager/ShadowManager.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/AsyncUpdateEventImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/AsyncUpdater.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ChangeProcessingBeans.java
    R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ChangeProcessingCoordinator.java
    R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ChangeProcessor.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/EventsAcknowledgeGate.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/LiveSyncEventImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/LiveSynchronizer.java
    R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ProcessChangeRequest.java
    R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/RequestsBuffer.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/SkipProcessingException.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/SynchronizationEventImpl.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/MultiPropagationItemProcessor.java
    R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/MultiPropagationResultHandler.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/MultiPropagationTaskHandler.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/MultiPropagationTaskPartExecution.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/PropagationItemProcessor.java
    R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/PropagationResultHandler.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/PropagationTaskHandler.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/task/PropagationTaskPartExecution.java
    A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProcessingState.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProvisioningUtil.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/AbstractProvisioningIntegrationTest.java
    A provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/MockAsyncUpdateTaskHandler.java
    A provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/MockLiveSyncTaskHandler.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/update/MockAsyncUpdateSource.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/update/TestAsyncUpdate.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/update/TestAsyncUpdateNoCaching.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummy.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/mock/ResourceObjectShadowChangeDescriptionAsserter.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/mock/SynchronizationServiceMock.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjNegative.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestSynchronization.java
    R provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/Change.java
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/ConnectorInstance.java
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/LiveSyncChangeListener.java
    A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfAsyncUpdateChange.java
    A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfChange.java
    A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfFetchChangesResult.java
    A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfLiveSyncChange.java
    A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfLiveSyncChangeListener.java
    A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/UcfResourceObject.java
    R provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/async/AsyncChangeListener.java
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/async/AsyncUpdateMessageListener.java
    A provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/async/UcfAsyncUpdateChangeListener.java
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/connectors/AbstractManualConnectorInstance.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/provisioning/AsyncProvisioningConnectorInstance.java
    A provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/AggregatingAcknowledgeSink.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/AsyncUpdateConnectorInstance.java
    A provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/ConnectorListener.java
    R provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/ConnectorListeningHelper.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/TransformationalAsyncUpdateMessageListener.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/sources/Amqp091AsyncUpdateSource.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/update/sources/JmsAsyncUpdateSource.java
    M provisioning/ucf-impl-connid/pom.xml
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnIdUtil.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnectorInstanceConnIdImpl.java
    A provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/SyncDeltaConverter.java
    A provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TokenUtil.java
    M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/CollectingChangeListener.java
    M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummy.java
    M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeItemProcessor.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeTaskPartExecution.java
    A 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/AbstractSearchIterativeResultHandler.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeTaskExecution.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeTaskHandler.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeTaskPartExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractTaskExecution.java
    A 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/AnnotationSupportUtil.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/InstantiationUtil.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ItemProcessingGatekeeper.java
    A 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/ItemProcessingStatistics.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ItemProcessorClass.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ObjectProcessingRequest.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/PartExecutionClass.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ProcessingCoordinator.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/RequestsBuffer.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ResultHandlerClass.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskExecutionClass.java
    M 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/util/OperationExecutionRecorderForTasks.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/util/TaskExceptionHandlingUtil.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/MockAsyncUpdateSource.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/modal/FocusSetAssignmentsModal.java

  Log Message:
  -----------
  Unify LiveSync/AsyncUpdate with iteration tasks

This commit unifies the processing of Live Sync and Async Update tasks
with the one used in search-iterative tasks. It is done to deduplicate
auxiliary code that provides multi-threading, error handling, error
and progress reporting and so on.

In particular:

1. Iterative tasks were further reworked: AbstractIterativeItemProcessor
and AbstractIterativeTaskPartExecution are no longer bound to the prism
objects (provided by the searchObjectsIterative). Now we talk about
abstract items, their source, and processor. Also, the iterative tasks
code was generally cleaned up - although it is still in progress.

2. The division of labor between provisioning and model in the area
of LS/AU has been changed. Now the provisioning service iteratively
emits LiveSyncEvent and AsyncUpdateEvent objects, letting
the appropriate task handler to process them. See also
SynchronizationEventHandler interface.

3. Internal structure of LS and AU processes within provisioning
has been reworked. Now we distinguish between a change present
at UCF, resource object converter, and shadow cache levels. Partially-
processed changes were introduced, as well as an idea of postponing
processing to multi-threaded environments. (Not quite implemented,
though.) Also, message acknowledgement process for async updates,
along with some other aspects in async update connector, were fixed.

Overall, this is a work in progress. Some parts were taken away
and not put back yet. Tests pass up to the provisioning-impl module.




More information about the midPoint-svn mailing list