1 class PipelineInstanceWorkUnit < ProxyWorkUnit
3 return self.my_children if self.my_children
8 results = Job.where(uuid: self.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 << ProxyWorkUnit.new(c, name)
27 self.unreadable_children = true
32 self.my_children = items
37 "/pipeline_instances/#{uuid}"