class Proxy::Dynflow::Action::BatchRunner

Public Instance Methods

initiate_runner() click to toggle source
# File lib/smart_proxy_dynflow/action/batch_runner.rb, line 11
def initiate_runner
  launcher = Proxy::Dynflow::TaskLauncherRegistry.fetch(input[:operation])
  launcher.runner_class.new(input[:targets], suspended_action: suspended_action, id: input[:runner_id])
end
plan(launcher, input, runner_id) click to toggle source
# File lib/smart_proxy_dynflow/action/batch_runner.rb, line 7
def plan(launcher, input, runner_id)
  plan_self :targets => launcher.runner_input(input), :operation => launcher.operation, :runner_id => runner_id
end