[midPoint-git] [Evolveum/midpoint] 9ea85d: Start working on generic part'ed tasks

mederly noreply at github.com
Fri Apr 23 21:04:13 CEST 2021


  Branch: refs/heads/feature/task-part-restructuring
  Home:   https://github.com/Evolveum/midpoint
  Commit: 9ea85d63a393d1e287bc103249f4f88a1fab7c6c
      https://github.com/Evolveum/midpoint/commit/9ea85d63a393d1e287bc103249f4f88a1fab7c6c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/HeterogenousContainerWrapperFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/util/GuiDisplayNameUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskMainPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskSubtasksAndThreadsTabPanel.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaRegistryImpl.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskPartUtil.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/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationCampaignCreationTaskHandler.java
    M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationClosingTaskHandler.java
    M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationRemediationTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/cleanup/CleanUpTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ExecuteDeltasTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptExecutionTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/PartitionedReconciliationTaskHandlerCreator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AuditReindexTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/DeleteTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/scanner/PartitionedFocusValidityScannerTaskHandlerCreator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/simple/SimpleIterativeTaskHandler.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/util/MockTaskHandler.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportJasperCreateTaskHandler.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportTaskHandler.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/execution/CaseOperationExecutionTaskHandler.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeTaskPartExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractTaskExecution.java
    M 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/GenericTaskExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/GenericTaskHandler.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskPartExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskPartExecutionFactory.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskPartExecutionFactoryRegistry.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/TaskPartHandler.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/commandline/TestCommandLine.java
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/AbstractRepoCommonTest.java
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestTaskParts.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/handlers/AbstractMockTaskPartExecution.java
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/MockClosingTaskPartExecution.java
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/MockOpeningTaskPartExecution.java
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/MockPartExecutionFactory.java
    A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/MockTaskPartExecution.java
    A repo/repo-common/src/test/resources/common/user-administrator.xml
    A repo/repo-common/src/test/resources/schema/extension.xsd
    A repo/repo-common/src/test/resources/tasks/parts/task-single-mock-part.xml
    A repo/repo-common/src/test/resources/tasks/parts/task-three-mock-parts.xml
    A repo/repo-common/src/test/resources/tasks/parts/task-two-noop-parts-subtasks.xml
    M repo/repo-common/testng-integration.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/StaticTaskPartitionsDefinition.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/TaskHandler.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskPartitionsDefinition.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/WorkBucketAwareTaskHandler.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/TaskQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/JdbcPingTaskHandler.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/LightweightPartitioningTaskHandler.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/NoOpTaskHandler.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/PartitioningTaskHandler.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/handlers/WorkersCreationTaskHandler.java
    M 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/work/BucketOperation.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/WorkStateManager.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/BucketAllocator.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/segmentation/BucketContentFactoryCreator.java
    M 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/MockCycleTaskHandler.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/MockLongTaskHandler.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/MockParallelTaskHandler.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/MockSingleTaskHandler.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/PartitionedMockWorkBucketsTaskHandlerCreator.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestBucketManagement.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestWorkersManagement.java
    M repo/task-quartz-impl/src/test/resources/buckets/task-010.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-020.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-030.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-040.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-050.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-100.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-110.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-120.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-130.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-140.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-150.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-200-c.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-200-w.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-210-1.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-210-2.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-210-3.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-210-4.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-210-5.xml
    M repo/task-quartz-impl/src/test/resources/buckets/task-210-c.xml
    M testing/story/src/test/resources/thresholds/task-opendj-livesync-full.xml
    M testing/story/src/test/resources/thresholds/task-opendj-livesync-simulate-multithreaded.xml
    M testing/story/src/test/resources/thresholds/task-opendj-livesync-simulate.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-full.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate-execute.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate-multithreaded.xml
    M testing/story/src/test/resources/thresholds/task-opendj-reconcile-simulate.xml

  Log Message:
  -----------
  Start working on generic part'ed tasks

This is a work towards tasks that consist of arbitrary task parts,
bound together by configuration means.

This commit contains:

1. Schema changes. Work is now defined in user-friendly way.
An attempt at typed task parameters is made, avoiding not-well-defined
passing of parameters via task extension container.

2. Fragments of generic task handler, including part instantiation.
Very rough.




More information about the midPoint-svn mailing list