X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fb3c02b38a24cda422de95f2f8b49002b841cc72..5c8437e59cbfd13b99d402b42b6bdfc18aa82bf8:/services/api/test/fixtures/pipeline_instances.yml diff --git a/services/api/test/fixtures/pipeline_instances.yml b/services/api/test/fixtures/pipeline_instances.yml index c63aac0b60..f73558df40 100644 --- a/services/api/test/fixtures/pipeline_instances.yml +++ b/services/api/test/fixtures/pipeline_instances.yml @@ -1,11 +1,59 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -# This model initially had no columns defined. If you add columns to the -# model remove the '{}' from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value +new_pipeline: + state: New + uuid: zzzzz-d1hrv-f4gneyn6br1xize + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + +has_component_with_no_script_parameters: + state: Ready + uuid: zzzzz-d1hrv-1xfj6xkicf2muk2 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + components: + foo: + script: foo + script_version: master + script_parameters: {} + +has_component_with_empty_script_parameters: + state: Ready + uuid: zzzzz-d1hrv-jq16l10gcsnyumo + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + components: + foo: + script: foo + script_version: master + +has_job: + name: pipeline_with_job + state: Ready + uuid: zzzzz-d1hrv-1yfj6xkidf2muk3 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + components: + foo: + script: foo + script_version: master + script_parameters: {} + job: { + uuid: zzzzz-8i9sb-pshmckwoma9plh7, + script_version: master + } + +components_is_jobspec: + # Helps test that clients cope with funny-shaped components. + # For an example, see #3321. + uuid: zzzzz-d1hrv-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 + state: RunningOnServer + 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."