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-10.1.3 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-11.1.3 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.1.2 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.1.1 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-11.1.1 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-11.1.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.1.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-8.3.3 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-8.3.2 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-11.0.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.7 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-8.3.1 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.6 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.5 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.4 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.3 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.2 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.1 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-10.0.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-8.3.0 app/views/api/v2/job_invocations/base.json.rabl