Sha256: e262093bbcc57b56ae5415c4b2b1170a0fd2f85d9b8f99cc0c48a7b651e1a621

Contents?: true

Size: 527 Bytes

Versions: 13

Compression:

Stored size: 527 Bytes

Contents

object @job_invocation

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

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),
  }
end

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
foreman_remote_execution-3.3.7 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-4.0.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.3.6 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.3.5 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.3.4 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.3.3 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.2.2 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.3.2 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.3.1 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.3.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.2.1 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.2.0 app/views/api/v2/job_invocations/base.json.rabl
foreman_remote_execution-3.1.0 app/views/api/v2/job_invocations/base.json.rabl