-
Feature
-
Resolution: Won't Do
-
Major
-
None
-
0
-
0%
-
Todo
(Migrated from https://github.com/syndesisio/syndesis/issues/736)
Author: Luca Burgazzoli
Assignees: Luca Burgazzoli,
To schedule an integration we now need to rely on specific connector options which leads to inconsistencies and maintenance cost so it would be nice to have a generic way to configure integration/flow schedulers.
- on UI side , we should have a generic section on the integration/flow editor to define scheduling options
- on model side, the integration model should have an additional type, like:
``
java interface Scheduler { enum Type { timer, cron } /__ * The schedule definition according to the type, i.e. * - timer: "1s" _ - cron: "0 0/5 12-18 ? _ MON-FRI" */ String getDefinition() /__ * The scheduler type */ Type getType() } interface Integration { ... Optional[Scheduler] getScheduler(); .... }
`
- on backend side: as we do not need to expose the routes to end user anymore we can simple generate a standard camel endpoint of type
timer
,
scheduler
or
quartz` according to the configured scheduler type
@rhuss @kcbabo @chirino does it make sense ?