5365: preload output collection uuids and jobs to help improve performance when loadi...
[arvados.git] / services / api / test / fixtures / pipeline_instances.yml
index dd1df3bd18e927ac2f10805f29956e5cf7ca115b..c1ec91723dd2c427223846483b08c9795d903dad 100644 (file)
@@ -254,6 +254,7 @@ pipeline_in_publicly_accessible_project:
   uuid: zzzzz-d1hrv-n68vc490mloy4fi
   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
   name: Pipeline in publicly accessible project
+  pipeline_template_uuid: zzzzz-p5p6p-tmpltpublicproj
   state: Complete
   created_at: 2014-09-15 12:00:00
   components:
@@ -265,6 +266,64 @@ pipeline_in_publicly_accessible_project:
           required: true
           dataclass: Collection
           title: foo instance input
+      job:
+        uuid: zzzzz-8i9sb-jyq01m7in1jlofj
+        repository: active/foo
+        script: foo
+        script_version: master
+        script_parameters:
+          input:
+            dataclass: Collection
+            title: foo instance input
+        log: zzzzz-4zz18-4en62shvi99lxd4
+        output: b519d9cb706a29fc7ea24dbea2f05851+93
+        state: Complete
+
+pipeline_in_publicly_accessible_project_but_other_objects_elsewhere:
+  uuid: zzzzz-d1hrv-pisharednotobjs
+  owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
+  name: Pipeline in public project with other objects elsewhere
+  pipeline_template_uuid: zzzzz-p5p6p-aox0k0ofxrystgw
+  state: Complete
+  created_at: 2014-09-15 12:00:00
+  components:
+    foo:
+      script: foo
+      script_version: master
+      script_parameters:
+        input:
+          required: true
+          dataclass: Collection
+          title: foo instance input
+      job:
+        uuid: zzzzz-8i9sb-aceg2bnq7jt7kon
+        repository: active/foo
+        script: foo
+        script_version: master
+        script_parameters:
+          input:
+            dataclass: Collection
+            title: foo instance input
+        log: zzzzz-4zz18-bv31uwvy3neko21
+        output: zzzzz-4zz18-bv31uwvy3neko21
+        state: Complete
+
+pipeline_in_running_state:
+  name: running_with_job
+  state: Ready
+  uuid: zzzzz-d1hrv-runningpipeline
+  owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
+  created_at: <%= 3.1.minute.ago.to_s(:db) %>
+  started_at: <%= 3.1.minute.ago.to_s(:db) %>
+  state: RunningOnServer
+  components:
+   foo:
+    script: foo
+    script_version: master
+    script_parameters: {}
+    job:
+      uuid: zzzzz-8i9sb-pshmckwoma9plh7
+      script_version: master
 
 # Test Helper trims the rest of the file
 
@@ -278,12 +337,8 @@ pipeline_<%=i%>_of_10:
   owner_uuid: zzzzz-j7d0g-000010pipelines
   created_at: <%= (2*(i-1)).hour.ago.to_s(:db) %>
   started_at: <%= (2*(i-1)).hour.ago.to_s(:db) %>
-<% if i != 2 %>
   finished_at: <%= (i-1).minute.ago.to_s(:db) %>
   state: Failed
-<% else %>
-  state: Running
-<% end %>
   components:
     foo:
       script: foo