[midPoint-git] [Evolveum/midpoint] a23196: Add activity identifier generation

mederly noreply at github.com
Wed Jun 2 06:48:18 CEST 2021


  Branch: refs/heads/feature/task-part-restructuring
  Home:   https://github.com/Evolveum/midpoint
  Commit: a23196c2d6d4a749d59f043ab28704314d339a93
      https://github.com/Evolveum/midpoint/commit/a23196c2d6d4a749d59f043ab28704314d339a93
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-06-02 (Wed, 02 Jun 2021)

  Changed paths:
    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 infra/schema/src/test/resources/statistics/task-aggregation-child-1.xml
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ExclusionConstraintEvaluator.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationActivityExecution.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationActivityHandler.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationWorkDefinition.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/Activity.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityTree.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/CandidateIdentifierFormatter.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/EmbeddedActivity.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ExecutionSupplier.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/StandaloneActivity.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/AbstractWorkDefinition.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityControlFlowDefinition.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityDefinition.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityDistributionDefinition.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityTailoring.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/CompositeWorkDefinition.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ObjectSetSpecificationProvider.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/WorkDefinition.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/WorkDefinitionFactory.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/AbstractActivityExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/AbstractCompositeActivityExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/ActivityExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/ActivityExecutionResult.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/ExecutionInstantiationContext.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/PureCompositeActivityExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/handlers/ActivityHandler.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/handlers/ActivityHandlerRegistry.java
    A 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/task/AbstractIterativeActivityExecution.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
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/CommonTaskBeans.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/TaskExceptionHandlingUtil.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/AbstractWorkDefinition.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/ActivityControlFlowDefinition.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/ActivityDefinition.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/ActivityDistributionDefinition.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/ActivityTailoring.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/CompositeWorkDefinition.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/ObjectSetSpecificationProvider.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/WorkDefinition.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/definition/WorkDefinitionFactory.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/AbstractActivityExecution.java
    R 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/ActivityExecution.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/ActivityExecutionResult.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/ActivityInstantiationContext.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/CompositeActivityExecution.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/execution/PureCompositeActivityExecution.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/handlers/ActivityHandler.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/handlers/ActivityHandlerRegistry.java
    R repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/handlers/PureCompositeActivityHandler.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/task/GenericTaskHandler.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BucketOperation.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/GetBucketOperation.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestBucketManagement.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
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockWorkDefinition.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/MockClosingActivityExecution.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/MockComponentActivityExecution.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/MockOpeningActivityExecution.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockActivityExecution.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockActivityHandler.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockWorkDefinition.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/search/SearchIterativeMockActivityExecution.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/search/SearchIterativeMockActivityHandler.java
    M 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/other/task-reconciliation-pre-and-post-processing-new.xml
    M repo/repo-common/src/test/resources/tasks/parts/task-four-composite-mock-parts-subtasks-TODO.xml
    M repo/repo-common/src/test/resources/tasks/parts/task-mock-composite-legacy.xml
    M repo/repo-common/src/test/resources/tasks/parts/task-mock-composite.xml
    M repo/repo-common/src/test/resources/tasks/parts/task-pure-composite-with-default-work-TODO.xml
    M repo/repo-common/src/test/resources/tasks/parts/task-pure-composite.xml
    M repo/repo-common/src/test/resources/tasks/parts/task-single-mock-part-bucketed-TODO.xml
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ConcurrencyTest.java
    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

  Log Message:
  -----------
  Add activity identifier generation

In order to do that we created binding Activity class (standalone
or embedded) that holds activity definition, handler, and execution.
It also contains the generated identifier.




More information about the midPoint-svn mailing list