1 class PipelineInstanceWorkUnit < ProxyWorkUnit
3 return @my_children if @my_children
8 results = Job.where(uuid: @proxied.job_ids.values).results
13 components = get(:components)
14 components.each do |name, c|
18 if job[:uuid] and jobs[job[:uuid]]
19 items << jobs[job[:uuid]].work_unit(name)
21 items << JobWorkUnit.new(job, name)
24 items << JobWorkUnit.new(c, name)
27 @unreadable_children = true
37 components = get(:components)
38 components.each do |name, c|
40 items << c[:output_uuid] if c[:output_uuid]
48 "/pipeline_instances/#{uuid}"