X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b91db14a4dced9d6ea124e86be3c796e6f2c8e8c..7086db26dce2ed43098daf1198a37412a5e42e48:/services/api/test/fixtures/pipeline_templates.yml diff --git a/services/api/test/fixtures/pipeline_templates.yml b/services/api/test/fixtures/pipeline_templates.yml index 454c184aac..2f1e43e31c 100644 --- a/services/api/test/fixtures/pipeline_templates.yml +++ b/services/api/test/fixtures/pipeline_templates.yml @@ -1,6 +1,26 @@ +simple_pipeline: + uuid: zzzzz-p5p6p-hrfcwbrc62fj0kq + owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso + created_at: 2014-10-23 16:46:27 -0400 + updated_at: 2014-10-23 16:46:27 -0400 + modified_at: 2014-10-23 16:46:27 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + name: Pipeline Template With Collection Input + components: + foo_component: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: "simple pipeline input" + description: "Collection input for simple pipeline" + two_part: uuid: zzzzz-p5p6p-aox0k0ofxrystgw - owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso created_at: 2014-04-14 12:35:04 -0400 updated_at: 2014-04-14 12:35:04 -0400 modified_at: 2014-04-14 12:35:04 -0400 @@ -14,7 +34,9 @@ two_part: script_parameters: input: required: true - dataclass: collection + dataclass: Collection + title: "Foo/bar pair" + description: "Provide a collection containing at least two files." part-two: script: bar script_version: master @@ -34,3 +56,73 @@ two_part: default: [1,1,2,3,5] array_with_value: # important to test repeating values in the array! value: [1,1,2,3,5] + +components_is_jobspec: + # Helps test that clients cope with funny-shaped components. + # For an example, see #3321. + uuid: zzzzz-p5p6p-jobspeccomponts + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-14 12:35:04 -0400 + updated_at: 2014-04-14 12:35:04 -0400 + modified_at: 2014-04-14 12:35:04 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + name: Pipeline Template with Jobspec Components + components: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: "Foo/bar pair" + description: "Provide a collection containing at least two files." + +parameter_with_search: + uuid: zzzzz-p5p6p-paramwsearch345 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-04-14 12:35:04 -0400 + updated_at: 2014-04-14 12:35:04 -0400 + modified_at: 2014-04-14 12:35:04 -0400 + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + name: Pipeline Template with Input Parameter with Search + components: + with-search: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: "Foo/bar pair" + description: "Provide a collection containing at least two files." + search_for: sometime # Matches baz_collection_in_asubproject + +new_pipeline_template: + # This template must include components that are not + # present in the pipeline instance 'pipeline_with_newer_template', + # at least one of which has a script_parameter that is a hash + # with a 'dataclass' field (ticket #4000) + uuid: zzzzz-p5p6p-vq4wuvy84xvaq2r + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-09-14 12:00:00 + modified_at: 2014-09-16 12:00:00 + name: Pipeline Template Newer Than Instance + components: + foo: + script: foo + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: foo template input + bar: + script: bar + script_version: master + script_parameters: + input: + required: true + dataclass: Collection + title: bar template input