-
Epic
-
Resolution: Done
-
Major
-
None
-
Jobs Service Internal API Refactoring
-
To Do
-
0% To Do, 0% In Progress, 100% Done
Improve the Internal APIs to allow abstraction and flexibility, this will allow us to provide better REST APIs in the future and different scheduler implementations (Vert.x, Quartz...).
The job service should have a more generic and flexible API, not coupled only with processes and should support the encapsulation of the scheduler backend implementation to allow any easy change if necessary (Quartz, JDK, Vertx, etc).
The idea is to base on the already defined APIs
- https://github.com/kiegroup/drools/tree/master/drools-core/src/main/java/org/drools/core/time
- https://github.com/kiegroup/jbpm/tree/master/jbpm-flow/src/main/java/org/jbpm/process/core/timer/
It will allow the testing easier and more accurate with a PseudoClockScheduler, that is already implemented.