Merge branch 'master' into 3634-tab-state
[arvados.git] / services / api / test / fixtures / pipeline_instances.yml
1 new_pipeline:
2   state: New
3   uuid: zzzzz-d1hrv-f4gneyn6br1xize
4   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
5   created_at: <%= 1.minute.ago.to_s(:db) %>
6
7 has_component_with_no_script_parameters:
8   state: Ready
9   uuid: zzzzz-d1hrv-1xfj6xkicf2muk2
10   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
11   created_at: <%= 10.minute.ago.to_s(:db) %>
12   components:
13    foo:
14     script: foo
15     script_version: master
16     script_parameters: {}
17
18 has_component_with_empty_script_parameters:
19   state: Ready
20   uuid: zzzzz-d1hrv-jq16l10gcsnyumo
21   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
22   created_at: <%= 3.minute.ago.to_s(:db) %>
23   components:
24    foo:
25     script: foo
26     script_version: master
27
28 has_component_with_completed_jobs:
29   # Test that the job "started_at" and "finished_at" fields are
30   # parsed into Time fields when rendering. This job must *not*
31   # have its own fixture; the point is to force the
32   # pipeline_instances_controller_test in Workbench to parse
33   # the "components" field.
34   state: Complete
35   uuid: zzzzz-d1hrv-i3e77t9z5y8j9cc
36   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
37   components:
38    foo:
39     script: foo
40     script_version: master
41     script_parameters: {}
42     job:
43       uuid: zzzzz-8i9sb-rft1xdewxkwgxnz
44       script_version: master
45       started_at: <%= 10.minute.ago.to_s(:db) %>
46       finished_at: <%= 9.minute.ago.to_s(:db) %>
47
48 has_job:
49   name: pipeline_with_job
50   state: Ready
51   uuid: zzzzz-d1hrv-1yfj6xkidf2muk3
52   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
53   created_at: <%= 3.1.minute.ago.to_s(:db) %>
54   components:
55    foo:
56     script: foo
57     script_version: master
58     script_parameters: {}
59     job: {
60             uuid: zzzzz-8i9sb-pshmckwoma9plh7,
61             script_version: master
62          }
63
64 components_is_jobspec:
65   # Helps test that clients cope with funny-shaped components.
66   # For an example, see #3321.
67   uuid: zzzzz-d1hrv-jobspeccomponts
68   created_at: <%= 30.minute.ago.to_s(:db) %>
69   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
70   created_at: 2014-04-14 12:35:04 -0400
71   updated_at: 2014-04-14 12:35:04 -0400
72   modified_at: 2014-04-14 12:35:04 -0400
73   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
74   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
75   state: RunningOnServer
76   components:
77     script: foo
78     script_version: master
79     script_parameters:
80       input:
81         required: true
82         dataclass: Collection
83         title: "Foo/bar pair"
84         description: "Provide a collection containing at least two files."
85
86 pipeline_with_tagged_collection_input:
87   name: pipeline_with_tagged_collection_input
88   state: Ready
89   uuid: zzzzz-d1hrv-1yfj61234abcdk3
90   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
91   created_at: <%= 3.1.minute.ago.to_s(:db) %>
92   components:
93     part-one:
94       script_parameters:
95         input:
96           value: zzzzz-4zz18-znfnqtbbv4spc3w
97
98 pipeline_to_merge_params:
99   name: pipeline_to_merge_params
100   state: Ready
101   uuid: zzzzz-d1hrv-1yfj6dcba4321k3
102   pipeline_template_uuid: zzzzz-p5p6p-aox0k0ofxrystgw
103   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
104   created_at: <%= 3.1.minute.ago.to_s(:db) %>
105   components:
106     part-one:
107       script_parameters:
108         input:
109           required: true
110           dataclass: Collection
111           title: "Foo/bar pair"
112           description: "Provide a collection containing at least two files."
113     part-two:
114       script_parameters:
115         input:
116           output_of: part-one
117         integer_with_default:
118           default: 123
119         integer_with_value:
120           value: 123
121         string_with_default:
122           default: baz
123         string_with_value:
124           value: baz
125         plain_string: qux
126         array_with_default:
127           default: [1,1,2,3,5]
128         array_with_value:
129           value: [1,1,2,3,5]