[midPoint-git] [Evolveum/midpoint] 856465: Add support for aggregable trigger handlers
Pavol Mederly
mederly at evolveum.com
Mon Jan 21 14:46:17 CET 2019
Branch: refs/heads/feature/removing-activiti
Home: https://github.com/Evolveum/midpoint
Commit: 85646553cfef705b723bdf8bdeea38b183e4282d
https://github.com/Evolveum/midpoint/commit/85646553cfef705b723bdf8bdeea38b183e4282d
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2019-01-21 (Mon, 21 Jan 2019)
Changed paths:
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertTimedActionTriggerHandler.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationCampaignReiterationTriggerHandler.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationCloseStageApproachingTriggerHandler.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationCloseStageTriggerHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/CompletedTaskCleanupTriggerHandler.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/MultipleTriggersHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/RecomputeTriggerHandler.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/SingleTriggerHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerHandlerRegistry.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/TestTriggerTask.java
A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/util/MockMultipleTriggersHandler.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/util/MockTriggerHandler.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/common/WfTimedActionTriggerHandler.java
Log Message:
-----------
Add support for aggregable trigger handlers
Sometimes we want to process all related triggers together,
e.g. in the case of automatic completion of expired work items.
MultipleTriggersHandler supports just this.
Original TriggerHandler was renamed to SingleTriggerHandler.
Commit: b091f1fa3bc7717820f6c174696060a36904238b
https://github.com/Evolveum/midpoint/commit/b091f1fa3bc7717820f6c174696060a36904238b
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2019-01-21 (Mon, 21 Jan 2019)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-case-management-3.xsd
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/EngineInvocationContext.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/WorkflowEngine.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/dao/CompleteAction.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/dao/WorkItemManager.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/dao/WorkItemProvider.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/common/WfTimedActionTriggerHandler.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestEscalation.java
Log Message:
-----------
Clean-up multiple work item timed closures
When second, third, and following work items are to be closed at the
same time using timed actions we need to treat this as completion
(not cancellation) events. This mechanism was reworked and cleaned
up using aggregable triggers.
Compare: https://github.com/Evolveum/midpoint/compare/8a2c858ea0a1...b091f1fa3bc7
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the midPoint-svn
mailing list