Merge branch 'master' into 4024-pipeline-instances-scroll
[arvados.git] / services / api / test / fixtures / pipeline_templates.yml
1 two_part:
2   uuid: zzzzz-p5p6p-aox0k0ofxrystgw
3   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
4   created_at: 2014-04-14 12:35:04 -0400
5   updated_at: 2014-04-14 12:35:04 -0400
6   modified_at: 2014-04-14 12:35:04 -0400
7   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
8   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
9   name: Two Part Pipeline Template
10   components:
11     part-one:
12       script: foo
13       script_version: master
14       script_parameters:
15         input:
16           required: true
17           dataclass: Collection
18           title: "Foo/bar pair"
19           description: "Provide a collection containing at least two files."
20     part-two:
21       script: bar
22       script_version: master
23       script_parameters:
24         input:
25           output_of: part-one
26         integer_with_default:
27           default: 123
28         integer_with_value:
29           value: 123
30         string_with_default:
31           default: baz
32         string_with_value:
33           value: baz
34         plain_string: qux
35         array_with_default: # important to test repeating values in the array!
36           default: [1,1,2,3,5]
37         array_with_value: # important to test repeating values in the array!
38           value: [1,1,2,3,5]
39
40 components_is_jobspec:
41   # Helps test that clients cope with funny-shaped components.
42   # For an example, see #3321.
43   uuid: zzzzz-p5p6p-jobspeccomponts
44   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
45   created_at: 2014-04-14 12:35:04 -0400
46   updated_at: 2014-04-14 12:35:04 -0400
47   modified_at: 2014-04-14 12:35:04 -0400
48   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
49   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
50   name: Pipeline Template with Jobspec Components
51   components:
52     script: foo
53     script_version: master
54     script_parameters:
55       input:
56         required: true
57         dataclass: Collection
58         title: "Foo/bar pair"
59         description: "Provide a collection containing at least two files."
60
61 parameter_with_search:
62   uuid: zzzzz-p5p6p-paramwsearch345
63   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
64   created_at: 2014-04-14 12:35:04 -0400
65   updated_at: 2014-04-14 12:35:04 -0400
66   modified_at: 2014-04-14 12:35:04 -0400
67   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
68   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
69   name: Pipeline Template with Input Parameter with Search
70   components:
71     with-search:
72       script: foo
73       script_version: master
74       script_parameters:
75         input:
76           required: true
77           dataclass: Collection
78           title: "Foo/bar pair"
79           description: "Provide a collection containing at least two files."
80           search_for: sometime  # Matches baz_collection_in_asubproject
81
82 new_pipeline_template:
83   # This template must include components that are not
84   # present in the pipeline instance 'pipeline_with_newer_template',
85   # at least one of which has a script_parameter that is a hash
86   # with a 'dataclass' field (ticket #4000)
87   uuid: zzzzz-p5p6p-vq4wuvy84xvaq2r
88   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
89   created_at: 2014-09-14 12:00:00
90   modified_at: 2014-09-16 12:00:00
91   name: Pipeline Template Newer Than Instance
92   components:
93     foo:
94       script: foo
95       script_version: master
96       script_parameters:
97         input:
98           required: true
99           dataclass: Collection
100           title: foo template input
101     bar:
102       script: bar
103       script_version: master
104       script_parameters:
105         input:
106           required: true
107           dataclass: Collection
108           title: bar template input
109
110 pipeline_template_in_fuse_project:
111   uuid: zzzzz-p5p6p-templinfuseproj
112   owner_uuid: zzzzz-j7d0g-0000ownedbyfuse
113   created_at: 2014-04-14 12:35:04 -0400
114   updated_at: 2014-04-14 12:35:04 -0400
115   modified_at: 2014-04-14 12:35:04 -0400
116   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
117   modified_by_user_uuid: zzzzz-tpzed-0fusedrivertest
118   name: pipeline template in FUSE project
119   components:
120     foo_component:
121       script: foo
122       script_version: master
123       script_parameters:
124         input:
125           required: true
126           dataclass: Collection
127           title: "default input"
128           description: "input collection"
129
130 template_with_dataclass_file:
131   uuid: zzzzz-p5p6p-k0xoa0ofxrystgw
132   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
133   created_at: 2014-04-14 12:35:04 -0400
134   updated_at: 2014-04-14 12:35:04 -0400
135   modified_at: 2014-04-14 12:35:04 -0400
136   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
137   modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz
138   name: Two Part Template with dataclass File
139   components:
140     part-one:
141       script: foo
142       script_version: master
143       script_parameters:
144         input:
145           required: true
146           dataclass: File
147           title: "Foo/bar pair"
148           description: "Provide an input file"
149     part-two:
150       script: bar
151       script_version: master
152       script_parameters:
153         input:
154           output_of: part-one
155         integer_with_default:
156           default: 123
157         integer_with_value:
158           value: 123
159         string_with_default:
160           default: baz
161         string_with_value:
162           value: baz
163         plain_string: qux
164         array_with_default: # important to test repeating values in the array!
165           default: [1,1,2,3,5]
166         array_with_value: # important to test repeating values in the array!
167           value: [1,1,2,3,5]