[midPoint-svn] midPoint branch master updated. midpoint-2.2-8-g94b4389

Pavol Mederly git at evolveum.com
Tue Sep 10 13:42:42 CEST 2013


Project "midPoint" branch master has been updated
       via  94b438995d8a10ce28b9a6645416f90bc851384b (commit) midpoint-2.2-8-g94b4389
       via  ee66842f4f9c844a66ede98f204ab633845703ec (commit) midpoint-2.2-7-gee66842
       via  b6c8bd50358213d89f07e1ad13e33e77572d1aeb (commit) midpoint-2.2-6-gb6c8bd5
       via  9b99688bf583793e97da4d240f4d7fe48590e226 (commit) midpoint-2.2rc2-118-g9b99688
       via  bdafec7557663b7a7af7277584d6249f4b409f8c (commit) midpoint-2.2rc2-117-gbdafec7
       via  e7471120136c3514d3460e2ce7cb24f983f58ed9 (commit) midpoint-2.2rc2-116-ge747112
       via  a0a041ff0bc5a553eee04f3999a49b192f76dacb (commit) midpoint-2.2rc2-115-ga0a041f
      from  79e4549d6ae5ec7efd3b496a4e47683fbd031ae9 (commit) midpoint-2.2-1-g79e4549

- Log -----------------------------------------------------------------
commit 94b438995d8a10ce28b9a6645416f90bc851384b
Author: Pavol Mederly <mederly at evolveum.com>
Date:   Tue Sep 10 13:41:46 2013 +0200

    First version of generic workflow integration code (MID-1540), along with (partially completed) big refactoring of wf module.

commit ee66842f4f9c844a66ede98f204ab633845703ec
Author: Pavol Mederly <mederly at evolveum.com>
Date:   Sat Sep 7 00:42:44 2013 +0200

    Continuing workflow module refactoring.

commit b6c8bd50358213d89f07e1ad13e33e77572d1aeb
Merge: 79e4549 9b99688
Author: Pavol Mederly <mederly at evolveum.com>
Date:   Fri Sep 6 17:09:31 2013 +0200

    Merge branch 'preparation-for-2.3'

commit 9b99688bf583793e97da4d240f4d7fe48590e226
Author: Pavol Mederly <mederly at evolveum.com>
Date:   Fri Sep 6 16:41:49 2013 +0200

    Started slight refactoring of workflows... just an interim commit.

commit bdafec7557663b7a7af7277584d6249f4b409f8c
Author: Pavol Mederly <mederly at evolveum.com>
Date:   Thu Sep 5 23:14:26 2013 +0200

    Basic functionality of general change processor working. (Prepare and start process, issue work item, complete it, finish process.)

commit e7471120136c3514d3460e2ce7cb24f983f58ed9
Author: Pavol Mederly <mederly at evolveum.com>
Date:   Wed Sep 4 18:03:23 2013 +0200

    Continuing implementing general wf process. Changed parser for midpoint config.xml to be namespace-aware (needed for wf config).

commit a0a041ff0bc5a553eee04f3999a49b192f76dacb
Author: Pavol Mederly <mederly at evolveum.com>
Date:   Tue Sep 3 15:06:46 2013 +0200

    Starting work on general workflow process (MID-1540).

-----------------------------------------------------------------------

(Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full)

Summary of changes:
 .../processes/itemApproval/ItemApprovalPanel.java  |   26 +-
 .../itemApproval/ItemApprovalPanel.properties      |    1 +
 .../page/admin/workflow/PageProcessInstances.java  |    3 +-
 .../web/page/admin/workflow/dto/DecisionDto.java   |    2 +-
 .../admin/workflow/dto/ProcessInstanceDto.java     |   13 +-
 .../configuration/api/MidpointConfiguration.java   |    8 +
 .../midpoint/common/validator/Validator.java       |    7 +-
 .../midpoint/prism/PrismContainerValue.java        |   21 +
 .../midpoint/prism/xml/PrismJaxbProcessor.java     |   52 +-
 .../resources/xml/ns/public/common/common-2a.xsd   |   25 +-
 .../xml/ns/public/model/workflow/extension-2.xsd   |   13 +
 .../java/com/evolveum/midpoint/util/DOMUtil.java   |   19 +-
 .../midpoint/model/api/expr/MidpointFunctions.java |    6 +
 .../midpoint/model/api/hooks/ChangeHook.java       |   14 -
 .../midpoint/model/expr/MidpointFunctionsImpl.java |   17 +
 .../midpoint/notifications/OperationStatus.java    |    2 +-
 .../midpoint/notifications/WorkflowListener.java   |   39 +-
 .../notifications/events/WorkItemEvent.java        |    5 +-
 .../notifications/events/WorkflowEvent.java        |   44 +-
 .../notifications/events/WorkflowProcessEvent.java |    5 +-
 .../com/evolveum/midpoint/wf/api/Constants.java    |    2 +
 .../evolveum/midpoint/wf/api/ProcessListener.java  |    4 +-
 .../evolveum/midpoint/wf/api/WorkItemListener.java |    2 +-
 .../evolveum/midpoint/wf/api/WorkflowService.java  |   25 +-
 .../wf/processes/CommonProcessVariableNames.java   |   43 +-
 .../midpoint/wf/processes/StringHolder.java        |    4 +
 .../midpoint/wf/processes/WorkflowResult.java      |   21 +-
 .../{general => itemapproval}/ApprovalLevel.java   |   88 +-
 .../{general => itemapproval}/ApprovalRequest.java |   80 +-
 .../{general => itemapproval}/ApprovalSchema.java  |   74 +-
 .../{general => itemapproval}/Constants.java       |   62 +-
 .../{general => itemapproval}/Decision.java        |  158 +--
 .../LightweightObjectRef.java                      |   60 +-
 .../ProcessVariableNames.java                      |   94 +-
 .../midpoint/wf/ProcessInstanceController.java     |  530 ---------
 .../midpoint/wf/StartProcessInstruction.java       |  136 ---
 .../com/evolveum/midpoint/wf/WfConfiguration.java  |   30 +-
 .../main/java/com/evolveum/midpoint/wf/WfHook.java |    9 +-
 .../evolveum/midpoint/wf/WorkflowServiceImpl.java  |   19 +-
 .../midpoint/wf/activiti/ActivitiEngine.java       |   37 +-
 .../midpoint/wf/activiti/ActivitiInterface.java    |    8 +-
 .../midpoint/wf/activiti/ActivitiUtil.java         |   11 +
 .../activiti/SpringApplicationContextHolder.java   |   25 +-
 .../evolveum/midpoint/wf/dao/WorkItemManager.java  |   29 +-
 .../evolveum/midpoint/wf/dao/WorkItemProvider.java |    2 +-
 .../java/com/evolveum/midpoint/wf/jobs/Job.java    |  100 ++
 .../com/evolveum/midpoint/wf/jobs/JobContext.java  |   47 +
 .../evolveum/midpoint/wf/jobs/JobController.java   |  631 ++++++++++
 .../midpoint/wf/jobs/JobCreateInstruction.java     |  381 +++++++
 .../WfProcessInstanceShadowTaskHandler.java        |  331 +++---
 .../midpoint/wf/{ => jobs}/WfTaskUtil.java         | 1200 ++++++++++----------
 .../midpoint/wf/messages/ProcessEvent.java         |   16 +-
 .../{general => common}/DumpVariables.java         |  100 +-
 .../LightweightObjectRefImpl.java                  |  171 +--
 .../MidPointProcessListener.java                   |   82 +-
 .../wf/processes/common/MidPointTaskListener.java  |   92 ++
 .../wf/processes/general/MidPointTaskListener.java |  168 ---
 .../ApprovalLevelImpl.java                         |  335 +++---
 .../ApprovalRequestImpl.java                       |  182 +--
 .../ApprovalSchemaImpl.java                        |  240 ++--
 .../InitializeLoopThroughApproversInLevel.java     |  457 ++++----
 .../InitializeLoopThroughLevels.java               |   84 +-
 .../{general => itemapproval}/PrepareResult.java   |   86 +-
 .../RecordIndividualDecision.java                  |  228 ++--
 .../SummarizeDecisionsInLevel.java                 |  142 ++-
 .../wf/processors/BaseChangeProcessor.java         |  255 +++++
 .../midpoint/wf/processors/ChangeProcessor.java    |   11 +-
 .../processors/general/GeneralChangeProcessor.java |  343 ++++++
 .../primary/PrimaryApprovalProcessWrapper.java     |   12 +-
 .../processors/primary/PrimaryChangeProcessor.java |  454 +++-----
 .../primary/PrimaryChangeProcessorJob.java         |  104 ++
 .../StartProcessInstructionForPrimaryStage.java    |   80 --
 .../WfPrepareChildOperationTaskHandler.java        |  431 ++++---
 .../WfPrepareRootOperationTaskHandler.java         |  299 ++---
 .../WfPropagateTaskObjectReferenceTaskHandler.java |  369 +++---
 .../primary/user/AddRoleAssignmentWrapper.java     |   54 +-
 ...stractUserWrapper.java => BaseUserWrapper.java} |  126 +-
 .../{AbstractWrapper.java => BaseWrapper.java}     |  425 +++----
 .../primary/user/ChangePasswordWrapper.java        |   51 +-
 .../primary/user/PrimaryUserChangeProcessor.java   |    4 +-
 .../midpoint/wf/util/JaxbValueContainer.java       |   43 +
 .../evolveum/midpoint/wf/util/MiscDataUtil.java    |   52 +-
 .../wf/util/SerializationSafeContainer.java        |   69 +-
 .../resources/processes/ItemApproval.bpmn20.xml    |   30 +-
 .../midpoint/wf/TestGeneralChangeProcessor.java    |  252 ++++
 .../evolveum/midpoint/wf/TestInfrastructure.java   |   51 +-
 .../midpoint/wf/TestUserChangeApproval.java        |   31 +-
 .../processes/MyGreatPrimaryProcess.bpmn20.xml     |   90 ++
 .../src/test/resources/test-config.xml             |   18 +
 .../midpoint/repo/sql/util/SimpleTaskAdapter.java  |   10 +
 .../midpoint/init/StartupConfiguration.java        |   38 +-
 .../java/com/evolveum/midpoint/task/api/Task.java  |   15 +
 .../midpoint/task/quartzimpl/TaskQuartzImpl.java   |   22 +
 93 files changed, 6245 insertions(+), 4442 deletions(-)
 rename model/workflow-api/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/ApprovalLevel.java (92%)
 rename model/workflow-api/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/ApprovalRequest.java (93%)
 rename model/workflow-api/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/ApprovalSchema.java (91%)
 rename model/workflow-api/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/Constants.java (93%)
 rename model/workflow-api/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/Decision.java (93%)
 rename model/workflow-api/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/LightweightObjectRef.java (90%)
 rename model/workflow-api/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/ProcessVariableNames.java (95%)
 delete mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/ProcessInstanceController.java
 delete mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/StartProcessInstruction.java
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/jobs/Job.java
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/jobs/JobContext.java
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/jobs/JobController.java
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/jobs/JobCreateInstruction.java
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/{taskHandlers => jobs}/WfProcessInstanceShadowTaskHandler.java (96%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/{ => jobs}/WfTaskUtil.java (91%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => common}/DumpVariables.java (94%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => common}/LightweightObjectRefImpl.java (94%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => common}/MidPointProcessListener.java (94%)
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/common/MidPointTaskListener.java
 delete mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/general/MidPointTaskListener.java
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/ApprovalLevelImpl.java (96%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/ApprovalRequestImpl.java (95%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/ApprovalSchemaImpl.java (95%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/InitializeLoopThroughApproversInLevel.java (97%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/InitializeLoopThroughLevels.java (94%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/PrepareResult.java (93%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/RecordIndividualDecision.java (92%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processes/{general => itemapproval}/SummarizeDecisionsInLevel.java (91%)
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processors/BaseChangeProcessor.java
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processors/general/GeneralChangeProcessor.java
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processors/primary/PrimaryChangeProcessorJob.java
 delete mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processors/primary/StartProcessInstructionForPrimaryStage.java
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/{taskHandlers => processors/primary}/WfPrepareChildOperationTaskHandler.java (91%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/{taskHandlers => processors/primary}/WfPrepareRootOperationTaskHandler.java (93%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/{taskHandlers => processors/primary}/WfPropagateTaskObjectReferenceTaskHandler.java (94%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processors/primary/user/{AbstractUserWrapper.java => BaseUserWrapper.java} (70%)
 rename model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/processors/primary/user/{AbstractWrapper.java => BaseWrapper.java} (70%)
 create mode 100644 model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/util/JaxbValueContainer.java
 create mode 100644 model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/TestGeneralChangeProcessor.java
 create mode 100644 model/workflow-impl/src/test/resources/processes/MyGreatPrimaryProcess.bpmn20.xml


hooks/post-receive
-- 
midPoint


More information about the midPoint-svn mailing list