3889: update the test "update script_parameters one at a time using merge param"...
[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_job:
29   name: pipeline_with_job
30   state: Ready
31   uuid: zzzzz-d1hrv-1yfj6xkidf2muk3
32   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
33   created_at: <%= 3.1.minute.ago.to_s(:db) %>
34   components:
35    foo:
36     script: foo
37     script_version: master
38     script_parameters: {}
39     job: {
40             uuid: zzzzz-8i9sb-pshmckwoma9plh7,
41             script_version: master
42          }
43
44 components_is_jobspec:
45   # Helps test that clients cope with funny-shaped components.
46   # For an example, see #3321.
47   uuid: zzzzz-d1hrv-jobspeccomponts
48   created_at: <%= 30.minute.ago.to_s(:db) %>
49   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
50   created_at: 2014-04-14 12:35:04 -0400
51   updated_at: 2014-04-14 12:35:04 -0400
52   modified_at: 2014-04-14 12:35:04 -0400
53   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
54   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
55   state: RunningOnServer
56   components:
57     script: foo
58     script_version: master
59     script_parameters:
60       input:
61         required: true
62         dataclass: Collection
63         title: "Foo/bar pair"
64         description: "Provide a collection containing at least two files."
65
66 pipeline_with_tagged_collection_input:
67   name: pipeline_with_tagged_collection_input
68   state: Ready
69   uuid: zzzzz-d1hrv-1yfj61234abcdk3
70   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
71   created_at: <%= 3.1.minute.ago.to_s(:db) %>
72   components:
73     part-one:
74       script_parameters:
75         input:
76           value: zzzzz-4zz18-znfnqtbbv4spc3w
77
78 pipeline_to_merge_params:
79   name: pipeline_to_merge_params
80   state: Ready
81   uuid: zzzzz-d1hrv-1yfj6dcba4321k3
82   pipeline_template_uuid: zzzzz-p5p6p-aox0k0ofxrystgw
83   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
84   created_at: <%= 3.1.minute.ago.to_s(:db) %>
85   components:
86     part-one:
87       script_parameters:
88         input:
89           required: true
90           dataclass: Collection
91           title: "Foo/bar pair"
92           description: "Provide a collection containing at least two files."
93     part-two:
94       script_parameters:
95         input:
96           output_of: part-one
97         integer_with_default:
98           default: 123
99         integer_with_value:
100           value: 123
101         string_with_default:
102           default: baz
103         string_with_value:
104           value: baz
105         plain_string: qux
106         array_with_default:
107           default: [1,1,2,3,5]
108         array_with_value:
109           value: [1,1,2,3,5]