Sha256: 83897472cadce41c4caba547647675315458fe705511889ef467e74e655356ad

Contents?: true

Size: 605 Bytes

Versions: 22

Compression:

Stored size: 605 Bytes

Contents

object @job_invocation

attributes :id, :description, :job_category, :targeting_id, :status, :start_at, :status_label, :ssh_user, :time_to_pickup

node do |invocation|
  {
    :succeeded => invocation_count(invocation, :output_key => :success_count),
    :failed    => invocation_count(invocation, :output_key => :failed_count),
    :pending   => invocation_count(invocation, :output_key => :pending_count),
    :total     => invocation_count(invocation, :output_key => :total_count),
    :missing   => invocation.missing_hosts_count,
  }
end

child :task => :dynflow_task do
  attributes :id, :state
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
foreman_remote_execution-9.1.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-8.2.1 app/views/api/v2/job_invocations/base.json.rabl