[midPoint-git] [Evolveum/midpoint] 932558: Implement "trigger retry" mechanism (MID-4610)
Pavol Mederly
mederly at evolveum.com
Wed Aug 1 22:07:14 CEST 2018
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 932558fed0417405c1376683eba9cccfe293ecf6
https://github.com/Evolveum/midpoint/commit/932558fed0417405c1376683eba9cccfe293ecf6
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerScannerTaskHandler.java
Log Message:
-----------
Implement "trigger retry" mechanism (MID-4610)
If the trigger handler fails to execute (by throwing an exception)
the trigger is left intact. Also, when selecting triggers to execute
we now collect all triggers, not only those with timestamp after
the last scanner execution.
This result in repeated processing of failed triggers.
Commit: ca7705d896b8e126a17d442875d6f1bc810bfb74
https://github.com/Evolveum/midpoint/commit/ca7705d896b8e126a17d442875d6f1bc810bfb74
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Changed paths:
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
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/util/MockTriggerHandler.java
Log Message:
-----------
Add a test for trigger retry mechanism (MID-4610)
...and fixed a bug found by the test ;)
Compare: https://github.com/Evolveum/midpoint/compare/163000918630...ca7705d896b8
**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