Parent

Included Modules

Files

HammerCLIForemanRemoteExecution::JobInvocation::CreateCommand

Public Instance Methods

request_params() click to toggle source
# File lib/hammer_cli_foreman_remote_execution/job_invocation.rb, line 75
def request_params
  params = super

  cli_inputs = option_inputs || {}
  file_inputs = option_input_files || {}
  params['job_invocation']['inputs'] = cli_inputs.merge(file_inputs)

  params['job_invocation']['targeting_type'] = option_dynamic? ? 'dynamic_query' : 'static_query'
  params
end
task_progress(task_or_id) click to toggle source
# File lib/hammer_cli_foreman_remote_execution/job_invocation.rb, line 86
def task_progress(task_or_id)
  print_message(success_message, task_or_id)
  task = task_or_id['dynflow_task']['id']
  super(task)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.