X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5624fec61db977d386ce03ca333241c74ca251b5..0561bd0c3c07257fd58ded6c7cfa5feeae97af57:/services/api/test/fixtures/collections.yml diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml index cda75151c3..7777f74fa0 100644 --- a/services/api/test/fixtures/collections.yml +++ b/services/api/test/fixtures/collections.yml @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + user_agreement: uuid: zzzzz-4zz18-t68oksiu9m80s4y portable_data_hash: b519d9cb706a29fc7ea24dbea2f05851+93 @@ -26,11 +30,11 @@ foo_file: uuid: zzzzz-4zz18-znfnqtbbv4spc3w portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 owner_uuid: zzzzz-tpzed-000000000000000 - created_at: 2014-02-03T17:22:54Z + created_at: 2015-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f - modified_at: 2014-02-03T17:22:54Z - updated_at: 2014-02-03T17:22:54Z + modified_at: 2015-02-03T17:22:54Z + updated_at: 2015-02-03T17:22:54Z manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n" name: foo_file @@ -38,11 +42,11 @@ bar_file: uuid: zzzzz-4zz18-ehbhgtheo8909or portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 owner_uuid: zzzzz-tpzed-000000000000000 - created_at: 2014-02-03T17:22:54Z + created_at: 2015-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f - modified_at: 2014-02-03T17:22:54Z - updated_at: 2014-02-03T17:22:54Z + modified_at: 2015-02-03T17:22:54Z + updated_at: 2015-02-03T17:22:54Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" name: bar_file @@ -284,6 +288,36 @@ collection_expires_in_future: manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n" name: collection_expires_in_future +unique_expired_collection: + uuid: zzzzz-4zz18-mto52zx1s7sn3jk + portable_data_hash: 4ad199f90029935844dc3f098f4fca2a+49 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-02-03T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2014-02-03T17:22:54Z + updated_at: 2014-02-03T17:22:54Z + is_trashed: true + trash_at: 2001-01-01T00:00:00Z + delete_at: 2038-01-01T00:00:00Z + manifest_text: ". 29d7797f1888013986899bc9083783fa+3 0:3:expired\n" + name: unique_expired_collection1 + +unique_expired_collection2: + uuid: zzzzz-4zz18-mto52zx1s7sn3jr + portable_data_hash: 4ad199f90029935844dc3f098f4fca2b+49 + owner_uuid: zzzzz-tpzed-000000000000000 + created_at: 2014-02-03T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2014-02-03T17:22:54Z + updated_at: 2014-02-03T17:22:54Z + is_trashed: true + trash_at: 2001-01-01T00:00:00Z + delete_at: 2038-01-01T00:00:00Z + manifest_text: ". 29d7797f1888013986899bc9083783fa+3 0:3:expired\n" + name: unique_expired_collection2 + # a collection with a log file that can be parsed by the log viewer # This collection hash matches the following log text: # 2014-01-01_12:00:01 zzzzz-8i9sb-abcdefghijklmno 0 log message 1 @@ -532,7 +566,7 @@ collection_with_one_property: # The following four collections are used to test combining collections with repeated filenames collection_with_repeated_filenames_and_contents_in_two_dirs_1: uuid: zzzzz-4zz18-duplicatenames1 - portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + portable_data_hash: f3a67fad3a19c31c658982fb8158fa58+144 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -544,7 +578,7 @@ collection_with_repeated_filenames_and_contents_in_two_dirs_1: collection_with_repeated_filenames_and_contents_in_two_dirs_2: uuid: zzzzz-4zz18-duplicatenames2 - portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + portable_data_hash: f3a67fad3a19c31c658982fb8158fa58+144 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -615,6 +649,60 @@ collection_not_readable_by_active: manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" name: collection_not_readable_by_active +collection_to_remove_and_rename_files: + uuid: zzzzz-4zz18-a21ux3541sxa8sf + portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-02-03T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2014-02-03T17:22:54Z + updated_at: 2014-02-03T17:22:54Z + manifest_text: ". d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2\n" + name: collection to remove and rename files + +collection_with_tags_owned_by_active: + uuid: zzzzz-4zz18-taggedcolletion + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-02-03T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2014-02-03T17:22:54Z + updated_at: 2014-02-03T17:22:54Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: collection with tags + properties: + existing tag 1: value for existing tag 1 + existing tag 2: value for existing tag 2 + +trashed_collection_to_test_name_conflict_on_untrash: + uuid: zzzzz-4zz18-trashedcolnamec + portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-02-03T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2014-02-03T17:22:54Z + updated_at: 2014-02-03T17:22:54Z + manifest_text: ". d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2\n" + name: same name for trashed and persisted collections + is_trashed: true + trash_at: 2001-01-01T00:00:00Z + delete_at: 2038-01-01T00:00:00Z + +same_name_as_trashed_coll_to_test_name_conflict_on_untrash: + uuid: zzzzz-4zz18-namesameastrash + portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-02-03T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2014-02-03T17:22:54Z + updated_at: 2014-02-03T17:22:54Z + manifest_text: ". d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2\n" + name: same name for trashed and persisted collections + # Test Helper trims the rest of the file