Use Dynflow as an ActiveJob backend
|Assigned To:||Daniel Lobato Garcia|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/4316|
|Velocity based estimate||-|
For several backend tasks, we can write jobs using ActiveJob API (very simple), but the executor we had is Dynflow which did not support ActiveJob. This changed with https://github.com/Dynflow/dynflow/pull/216 , so Foreman should take advantage of that and initialize a Dynflow world to be used in its jobs.
A good first place where this could be used is on recurring jobs that need notifications.