X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6eb3d1fb8fe71623fa63da46c250184cf2e4fbb8..49d18afe093301bbb48892e05b2c9c732e038abe:/services/api/test/fixtures/collections.yml diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml index c42a4306c6..2272b0f4a0 100644 --- a/services/api/test/fixtures/collections.yml +++ b/services/api/test/fixtures/collections.yml @@ -79,7 +79,7 @@ multilevel_collection_1: modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f modified_at: 2014-02-03T17:22:54Z updated_at: 2014-02-03T17:22:54Z - manifest_text: ". 0:0:file1 0:0:file2 0:0:file3\n./dir1 0:0:file1 0:0:file2 0:0:file3\n./dir1/subdir 0:0:file1 0:0:file2 0:0:file3\n./dir2 0:0:file1 0:0:file2 0:0:file3\n" + manifest_text: ". d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3\n./dir1 d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3\n./dir1/subdir d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3\n./dir2 d41d8cd98f00b204e9800998ecf8427e+0 0:0:file1 0:0:file2 0:0:file3\n" name: multilevel_collection_1 multilevel_collection_2: @@ -92,14 +92,14 @@ multilevel_collection_2: modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f modified_at: 2014-02-03T17:22:54Z updated_at: 2014-02-03T17:22:54Z - manifest_text: "./dir1/sub1 0:0:a 0:0:b\n./dir2/sub2 0:0:c 0:0:d\n" + manifest_text: "./dir1/sub1 d41d8cd98f00b204e9800998ecf8427e+0 0:0:a 0:0:b\n./dir2/sub2 d41d8cd98f00b204e9800998ecf8427e+0 0:0:c 0:0:d\n" name: multilevel_collection_2 docker_image: uuid: zzzzz-4zz18-1v45jub259sjjgb # This Collection has links with Docker image metadata. portable_data_hash: fa3c1a9cb6783f85f2ecda037e07b8c3+167 - owner_uuid: qr1hi-tpzed-000000000000000 + owner_uuid: zzzzz-tpzed-000000000000000 created_at: 2014-06-11T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f @@ -108,12 +108,25 @@ docker_image: manifest_text: ". d21353cfe035e3e384563ee55eadbb2f+67108864 5c77a43e329b9838cbec18ff42790e57+55605760 0:122714624:d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n" name: docker_image +# untagged docker image with sha256:{hash}.tar filename +docker_image_1_12: + uuid: zzzzz-4zz18-1g4g0vhpjn9wq7i + portable_data_hash: d740a57097711e08eb9b2a93518f20ab+174 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_at: 2016-10-19 08:50:45.653552268 Z + modified_by_client_uuid: zzzzz-ozdt8-teyxzyd8qllg11h + modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz + modified_at: 2016-10-19 08:50:45.652930000 Z + updated_at: 2016-10-19 08:50:45.652930000 Z + manifest_text: ". d21353cfe035e3e384563ee55eadbb2f+67108864 5c77a43e329b9838cbec18ff42790e57+55605760 0:122714624:sha256:d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n" + name: docker_image_1_12 + unlinked_docker_image: uuid: zzzzz-4zz18-d0d8z5wofvfgwad # This Collection contains a file that looks like a Docker image, # but has no Docker metadata links pointing to it. portable_data_hash: 9ae44d5792468c58bcf85ce7353c7027+124 - owner_uuid: qr1hi-tpzed-000000000000000 + owner_uuid: zzzzz-tpzed-000000000000000 created_at: 2014-06-11T17:22:54Z modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f @@ -244,6 +257,7 @@ real_log_collection: uuid: zzzzz-4zz18-op4e2lbej01tcvu owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz created_at: 2014-09-01 12:00:00 + modified_at: 2014-09-01 12:00:00 portable_data_hash: 0b9a7787660e1fce4a93f33e01376ba6+81 manifest_text: ". cdd549ae79fe6640fa3d5c6261d8303c+195 0:195:zzzzz-8i9sb-0vsrcqi7whchuil.log.txt\n" name: real_log_collection @@ -278,6 +292,7 @@ collection_owned_by_foo: manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c created_at: 2014-02-03T17:22:54Z + modified_at: 2014-02-03T17:22:54Z name: collection_owned_by_foo collection_to_remove_from_subproject: @@ -287,6 +302,7 @@ collection_to_remove_from_subproject: manifest_text: ". 8258b505536a9ab47baa2f4281cb932a+9 0:9:missingno\n" owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x created_at: 2014-10-15T10:45:00 + modified_at: 2014-10-15T10:45:00 name: Collection to remove from subproject collection_with_files_in_subdir: @@ -299,7 +315,7 @@ collection_with_files_in_subdir: 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+A3a4e26a366ee7e4ed3e476ccf05354761be2e4ae@545a9920 0:95:file_in_subdir1\n./subdir2/subdir3 2bbc341c702df4d8f42ec31f16c10120+64+A315d7e7bad2ce937e711fc454fae2d1194d14d64@545a9920 0:32:file1_in_subdir3.txt 32:32:file2_in_subdir3.txt\n./subdir2/subdir3/subdir4 2bbc341c702df4d8f42ec31f16c10120+64+A315d7e7bad2ce937e711fc454fae2d1194d14d64@545a9920 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" graph_test_collection1: uuid: zzzzz-4zz18-bv31uwvy3neko22 @@ -307,6 +323,8 @@ graph_test_collection1: portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" name: bar_file + created_at: 2014-02-03T17:22:54Z + modified_at: 2014-02-03T17:22:54Z graph_test_collection2: uuid: zzzzz-4zz18-uukreo9rbgwsujx @@ -314,6 +332,8 @@ graph_test_collection2: portable_data_hash: 65b17c95fdbc9800fc48acda4e9dcd0b+93 manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:FOO_General_Public_License,_version_3.pdf\n" name: "FOO General Public License, version 3" + created_at: 2014-02-03T17:22:54Z + modified_at: 2014-02-03T17:22:54Z graph_test_collection3: uuid: zzzzz-4zz18-uukreo9rbgwsujj @@ -321,6 +341,8 @@ graph_test_collection3: portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" name: "baz file" + created_at: 2014-02-03T17:22:54Z + modified_at: 2014-02-03T17:22:54Z collection_1_owned_by_fuse: uuid: zzzzz-4zz18-ovx05bfzormx3bg @@ -481,7 +503,7 @@ collection_with_repeated_filenames_and_contents_in_two_dirs_1: modified_at: 2014-02-03T17:22:54Z updated_at: 2014-02-03T17:22:54Z name: collection_with_repeated_filenames_and_contents_in_two_dirs_1 - manifest_text: "./dir1 92b53930db60fe94be2a73fc771ba921+34+Af966b611a1e6a7df18e0f20ac742a255c27744b7@550a3f11 0:12:alice 12:12:alice.txt 24:10:bob.txt\n./dir2 56ac2557b1ded11ccab7293dc47d1e88+44+A1780092551dadcb9c74190a793a779cea84d632d@550a3f11 0:27:alice.txt\n" + manifest_text: "./dir1 92b53930db60fe94be2a73fc771ba921+34 0:12:alice 12:12:alice.txt 24:10:bob.txt\n./dir2 56ac2557b1ded11ccab7293dc47d1e88+44 0:27:alice.txt\n" collection_with_repeated_filenames_and_contents_in_two_dirs_2: uuid: zzzzz-4zz18-duplicatenames2 @@ -493,7 +515,7 @@ collection_with_repeated_filenames_and_contents_in_two_dirs_2: modified_at: 2014-02-03T17:22:54Z updated_at: 2014-02-03T17:22:54Z name: collection_with_repeated_filenames_and_contents_in_two_dirs_2 - manifest_text: "./dir1 92b53930db60fe94be2a73fc771ba921+34+Af966b611a1e6a7df18e0f20ac742a255c27744b7@550a3f11 0:12:alice 12:12:alice.txt 24:10:carol.txt\n./dir2 56ac2557b1ded11ccab7293dc47d1e88+44+A1780092551dadcb9c74190a793a779cea84d632d@550a3f11 0:27:alice.txt\n" + manifest_text: "./dir1 92b53930db60fe94be2a73fc771ba921+34 0:12:alice 12:12:alice.txt 24:10:carol.txt\n./dir2 56ac2557b1ded11ccab7293dc47d1e88+44 0:27:alice.txt\n" foo_and_bar_files_in_dir: uuid: zzzzz-4zz18-foonbarfilesdir @@ -505,7 +527,7 @@ foo_and_bar_files_in_dir: modified_at: 2014-02-03T17:22:54Z updated_at: 2014-02-03T17:22:54Z name: foo_file_in_dir - manifest_text: "./dir1 a84b928ebdbae3f658518c711beaec02+28+A0cff02249e70e8cd6e55dba49fef4afa3f5bfdfb@550acd28 0:3:bar 12:16:foo\n" + manifest_text: "./dir1 3858f62230ac3c915f300c664312c63f+6 3:3:bar 0:3:foo\n" multi_level_to_combine: uuid: zzzzz-4zz18-pyw8yp9g3ujh45f @@ -544,6 +566,19 @@ collection_with_several_unsupported_file_types: manifest_text: ". d41d8cd98f00b204e9800998ecf8427e+0 0:0:file 0:0:file.bam\n" name: collection_with_several_unsupported_file_types +collection_not_readable_by_active: + uuid: zzzzz-4zz18-cd42uwvy3neko21 + portable_data_hash: bb89eb5140e2848d39b416daeef4ffc5+45 + 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" + name: collection_not_readable_by_active + + # Test Helper trims the rest of the file # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper @@ -557,6 +592,7 @@ collection_<%=i%>_of_10: uuid: zzzzz-4zz18-10gneyn6brkx<%= i.to_s.rjust(3, '0') %> owner_uuid: zzzzz-j7d0g-0010collections created_at: <%= i.minute.ago.to_s(:db) %> + modified_at: <%= i.minute.ago.to_s(:db) %> <% end %> # collections in project_with_201_collections @@ -568,6 +604,7 @@ collection_<%=i%>_of_201: uuid: zzzzz-4zz18-201gneyn6brd<%= i.to_s.rjust(3, '0') %> owner_uuid: zzzzz-j7d0g-0201collections created_at: <%= i.minute.ago.to_s(:db) %> + modified_at: <%= i.minute.ago.to_s(:db) %> <% end %> # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper