X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a31587cba5c2c38e0fc4f91981baf8bf2605664c..7407f41105f8000bb3908d41a31daaf3a30d9440:/services/api/test/fixtures/collections.yml diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml index 62bb644c0d..a16ee8763f 100644 --- a/services/api/test/fixtures/collections.yml +++ b/services/api/test/fixtures/collections.yml @@ -29,6 +29,22 @@ collection_owned_by_active: name: owned_by_active version: 2 +collection_owned_by_active_with_file_stats: + uuid: zzzzz-4zz18-fjeod4od92kfj5f + current_version_uuid: zzzzz-4zz18-fjeod4od92kfj5f + 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" + file_count: 1 + file_size_total: 3 + name: owned_by_active_with_file_stats + version: 2 + collection_owned_by_active_past_version_1: uuid: zzzzz-4zz18-znfnqtbbv4spast current_version_uuid: zzzzz-4zz18-bv31uwvy3neko21 @@ -85,7 +101,7 @@ baz_file: w_a_z_file: uuid: zzzzz-4zz18-25k12570yk134b3 current_version_uuid: zzzzz-4zz18-25k12570yk134b3 - portable_data_hash: 8706aadd12a0ebc07d74cae88762ba9e+56 + portable_data_hash: 44a8da9ec82098323895cd14e178386f+56 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2015-02-09T10:53:38Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -99,21 +115,21 @@ w_a_z_file: w_a_z_file_version_1: uuid: zzzzz-4zz18-25k12570yk1ver1 current_version_uuid: zzzzz-4zz18-25k12570yk134b3 - portable_data_hash: 8706aadd12a0ebc07d74cae88762ba9e+56 + portable_data_hash: ba4ba4c7b99a58806b1ed70ea1263afe+45 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2015-02-09T10:53:38Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f modified_at: 2015-02-09T10:53:38Z updated_at: 2015-02-09T10:53:38Z - manifest_text: ". 4c6c2c0ac8aa0696edd7316a3be5ca3c+5 0:5:w\\040\\141\\040z\n" + manifest_text: ". 4d20280d5e516a0109768d49ab0f3318+3 0:3:waz\n" name: "waz file" version: 1 multilevel_collection_1: uuid: zzzzz-4zz18-pyw8yp9g3pr7irn current_version_uuid: zzzzz-4zz18-pyw8yp9g3pr7irn - portable_data_hash: 1fd08fc162a5c6413070a8bd0bffc818+150 + portable_data_hash: f9ddda46bb293b6847da984e3aa735db+290 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -127,7 +143,7 @@ multilevel_collection_2: uuid: zzzzz-4zz18-45xf9hw1sxkhl6q current_version_uuid: zzzzz-4zz18-45xf9hw1sxkhl6q # All of this collection's files are deep in subdirectories. - portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + portable_data_hash: 8591cc5caeca80fc62fd529ba1d63bf3+118 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -183,7 +199,6 @@ unlinked_docker_image: empty: uuid: zzzzz-4zz18-gs9ooj1h9sd5mde current_version_uuid: zzzzz-4zz18-gs9ooj1h9sd5mde - # Empty collection owned by anonymous_group is added with rake db:seed. portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0 owner_uuid: zzzzz-tpzed-000000000000000 created_at: 2014-06-11T17:22:54Z @@ -192,7 +207,7 @@ empty: modified_at: 2014-06-11T17:22:54Z updated_at: 2014-06-11T17:22:54Z manifest_text: "" - name: empty_collection + name: "empty collection for python test" foo_collection_in_aproject: uuid: zzzzz-4zz18-fy296fx3hot09f7 @@ -291,6 +306,24 @@ expired_collection: delete_at: 2038-01-01T00:00:00Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n" name: expired_collection + version: 2 + +expired_collection_past_version: + uuid: zzzzz-4zz18-mto52zx1s7oldie + current_version_uuid: zzzzz-4zz18-mto52zx1s7sn3ih + portable_data_hash: 0b21a217243bfce5617fb9224b95bcb9+49 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2014-02-03T17:12:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2014-02-03T17:17:54Z + updated_at: 2014-02-03T17:17:54Z + is_trashed: true + trash_at: 2001-01-01T00:00:00Z + delete_at: 2038-01-01T00:00:00Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n" + name: expired_collection original + version: 1 trashed_on_next_sweep: uuid: zzzzz-4zz18-4guozfh77ewd2f0 @@ -360,7 +393,7 @@ unique_expired_collection: unique_expired_collection2: uuid: zzzzz-4zz18-mto52zx1s7sn3jr current_version_uuid: zzzzz-4zz18-mto52zx1s7sn3jr - portable_data_hash: 4ad199f90029935844dc3f098f4fca2b+49 + portable_data_hash: 64a2bed1ef0f40fe3a7d39bcf2584cb8+50 owner_uuid: zzzzz-tpzed-000000000000000 created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -370,7 +403,7 @@ unique_expired_collection2: 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" + manifest_text: ". 29d7797f1888013986899bc9083783fa+3 0:3:expired2\n" name: unique_expired_collection2 # a collection with a log file that can be parsed by the log viewer @@ -440,14 +473,14 @@ collection_with_files_in_subdir: uuid: zzzzz-4zz18-filesinsubdir00 current_version_uuid: zzzzz-4zz18-filesinsubdir00 name: collection_files_in_subdir - portable_data_hash: 85877ca2d7e05498dd3d109baf2df106+95 + portable_data_hash: 7eb64275355980ebc93411b44050c137+281 owner_uuid: zzzzz-tpzed-user1withloadab created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-user1withloadab modified_at: 2014-02-03T17:22:54Z updated_at: 2014-02-03T17:22:54Z - manifest_text: ". 85877ca2d7e05498dd3d109baf2df106+95 0:95:file_in_subdir1\n./subdir2/subdir3 2bbc341c702df4d8f42ec31f16c10120+64 0:32:file1_in_subdir3.txt 32:32:file2_in_subdir3.txt\n./subdir2/subdir3/subdir4 2bbc341c702df4d8f42ec31f16c10120+64 0:32:file1_in_subdir4.txt 32:32:file2_in_subdir4.txt" + manifest_text: ". 85877ca2d7e05498dd3d109baf2df106+95 0:95:file_in_subdir1\n./subdir2/subdir3 2bbc341c702df4d8f42ec31f16c10120+64 0:32:file1_in_subdir3.txt 32:32:file2_in_subdir3.txt\n./subdir2/subdir3/subdir4 2bbc341c702df4d8f42ec31f16c10120+64 0:32:file1_in_subdir4.txt 32:32:file2_in_subdir4.txt\n" graph_test_collection1: uuid: zzzzz-4zz18-bv31uwvy3neko22 @@ -688,7 +721,7 @@ collection_with_one_property: collection_with_repeated_filenames_and_contents_in_two_dirs_1: uuid: zzzzz-4zz18-duplicatenames1 current_version_uuid: zzzzz-4zz18-duplicatenames1 - portable_data_hash: f3a67fad3a19c31c658982fb8158fa58+144 + portable_data_hash: ce437b12aa73ab34f7af5227f556c9e6+142 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -714,7 +747,7 @@ collection_with_repeated_filenames_and_contents_in_two_dirs_2: foo_and_bar_files_in_dir: uuid: zzzzz-4zz18-foonbarfilesdir current_version_uuid: zzzzz-4zz18-foonbarfilesdir - portable_data_hash: 6bbac24198d09a93975f60098caf0bdf+62 + portable_data_hash: 870369fc72738603c2fad16664e50e2d+58 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -767,20 +800,20 @@ collection_with_several_unsupported_file_types: collection_not_readable_by_active: uuid: zzzzz-4zz18-cd42uwvy3neko21 current_version_uuid: zzzzz-4zz18-cd42uwvy3neko21 - portable_data_hash: bb89eb5140e2848d39b416daeef4ffc5+45 + portable_data_hash: b9e51a238ce08a698e7d7f8f101aee18+55 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 - manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar 0:0:empty\n" name: collection_not_readable_by_active collection_to_remove_and_rename_files: uuid: zzzzz-4zz18-a21ux3541sxa8sf current_version_uuid: zzzzz-4zz18-a21ux3541sxa8sf - portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + portable_data_hash: 21aed8fd508bd6263704b673455949ba+57 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -809,7 +842,7 @@ collection_with_tags_owned_by_active: trashed_collection_to_test_name_conflict_on_untrash: uuid: zzzzz-4zz18-trashedcolnamec current_version_uuid: zzzzz-4zz18-trashedcolnamec - portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + portable_data_hash: 21aed8fd508bd6263704b673455949ba+57 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -825,7 +858,7 @@ trashed_collection_to_test_name_conflict_on_untrash: same_name_as_trashed_coll_to_test_name_conflict_on_untrash: uuid: zzzzz-4zz18-namesameastrash current_version_uuid: zzzzz-4zz18-namesameastrash - portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + portable_data_hash: 21aed8fd508bd6263704b673455949ba+57 owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -838,7 +871,7 @@ same_name_as_trashed_coll_to_test_name_conflict_on_untrash: collection_in_trashed_subproject: uuid: zzzzz-4zz18-trashedproj2col current_version_uuid: zzzzz-4zz18-trashedproj2col - portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 + portable_data_hash: 21aed8fd508bd6263704b673455949ba+57 owner_uuid: zzzzz-j7d0g-trashedproject2 created_at: 2014-02-03T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr @@ -919,7 +952,7 @@ collection_with_prop2_1: modified_at: 2015-02-13T17:22:54Z updated_at: 2015-02-13T17:22:54Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" - name: collection with prop1 1 + name: collection with prop2 1 properties: prop2: 1 @@ -934,10 +967,55 @@ collection_with_prop2_5: modified_at: 2015-02-13T17:22:54Z updated_at: 2015-02-13T17:22:54Z manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" - name: collection with prop1 5 + name: collection with prop2 5 properties: prop2: 5 +collection_with_list_prop_odd: + uuid: zzzzz-4zz18-listpropertyodd + current_version_uuid: zzzzz-4zz18-listpropertyodd + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2015-02-13T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2015-02-13T17:22:54Z + updated_at: 2015-02-13T17:22:54Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: collection with list property with odd values + properties: + listprop: [elem1, elem3, 5] + +collection_with_list_prop_even: + uuid: zzzzz-4zz18-listpropertyeven + current_version_uuid: zzzzz-4zz18-listpropertyeven + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2015-02-13T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2015-02-13T17:22:54Z + updated_at: 2015-02-13T17:22:54Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: collection with list property with even values + properties: + listprop: [elem2, 4, elem6, ELEM8] + +collection_with_listprop_elem1: + uuid: zzzzz-4zz18-listpropelem1 + current_version_uuid: zzzzz-4zz18-listpropelem1 + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2015-02-13T17:22:54Z + modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr + modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f + modified_at: 2015-02-13T17:22:54Z + updated_at: 2015-02-13T17:22:54Z + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: collection with list property with string value + properties: + listprop: elem1 + collection_with_uri_prop: uuid: zzzzz-4zz18-withuripropval1 current_version_uuid: zzzzz-4zz18-withuripropval1