Feature #18618

Use Dynflow as an ActiveJob backend

Added by Daniel Lobato Garcia 11 months ago. Updated 6 months ago.

Status:Closed
Priority:Normal
Assigned To:Daniel Lobato Garcia
Category:Notifications
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4316
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

Description

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.


Related issues

Related to foreman-tasks - Feature #8130: Add support of async puppet / chef report processing New 10/28/2014
Related to Foreman - Bug #20908: Postpone the initialization of dynflow Closed 09/12/2017
Related to foreman-tasks - Bug #18673: Remove initialization code in favor of Dynflow Closed 02/24/2017

Associated revisions

Revision 1ed59c63
Added by Daniel Lobato Garcia 6 months ago

Fixes #18618 - Use Dynflow as an ActiveJob backend

This commit initializes the Dynflow world in a very similar manner to
foreman-tasks (if a Dynflow world is available from foreman-tasks, we
use that one).

History

#1 Updated by The Foreman Bot 11 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4316 added

#2 Updated by Michael Moll 8 months ago

  • Related to Feature #8130: Add support of async puppet / chef report processing added

#3 Updated by Anonymous 6 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Marek Hulán 6 months ago

  • Release set to 1.16.0

#5 Updated by Ivan Necas 4 months ago

  • Related to Bug #20908: Postpone the initialization of dynflow added

#6 Updated by Ivan Necas 4 months ago

  • Related to Bug #18673: Remove initialization code in favor of Dynflow added

Also available in: Atom PDF