Merge branch 'master' into 3769-throttle-logs
[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   components:
92     foo:
93       script: foo
94       script_version: master
95       script_parameters:
96         input:
97           required: true
98           dataclass: Collection
99           title: foo template input
100     bar:
101       script: bar
102       script_version: master
103       script_parameters:
104         input:
105           required: true
106           dataclass: Collection
107           title: bar template input