X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8eaad00b025167a7505ba11ad6a05b52a43c2399..5a80356ddc3798f6530e306901d7ea5e19cfe3f9:/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 aa353952a9..7bfc2e1b3f 100644 --- a/services/api/test/fixtures/pipeline_instances.yml +++ b/services/api/test/fixtures/pipeline_instances.yml @@ -1,10 +1,14 @@ new_pipeline: + state: New uuid: zzzzz-d1hrv-f4gneyn6br1xize owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 1.minute.ago.to_s(:db) %> has_component_with_no_script_parameters: + state: Ready uuid: zzzzz-d1hrv-1xfj6xkicf2muk2 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 10.minute.ago.to_s(:db) %> components: foo: script: foo @@ -12,9 +16,49 @@ has_component_with_no_script_parameters: script_parameters: {} has_component_with_empty_script_parameters: + state: Ready uuid: zzzzz-d1hrv-jq16l10gcsnyumo owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 3.minute.ago.to_s(:db) %> components: foo: script: foo script_version: master + +has_job: + name: pipeline_with_job + state: Ready + uuid: zzzzz-d1hrv-1yfj6xkidf2muk3 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: <%= 3.1.minute.ago.to_s(:db) %> + 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 + created_at: <%= 30.minute.ago.to_s(:db) %> + 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."