X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a7f12322bab34a27863d90de9ddb95f69697bf29..e34d6859d936f0b82f981d44be415a46b1aa61e1:/services/api/test/fixtures/collections.yml diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml index 817fd5c3d0..f4614492f2 100644 --- a/services/api/test/fixtures/collections.yml +++ b/services/api/test/fixtures/collections.yml @@ -61,7 +61,7 @@ baz_file: multilevel_collection_1: uuid: zzzzz-4zz18-pyw8yp9g3pr7irn portable_data_hash: 1fd08fc162a5c6413070a8bd0bffc818+150 - owner_uuid: qr1hi-tpzed-000000000000000 + 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 @@ -74,7 +74,7 @@ multilevel_collection_2: uuid: zzzzz-4zz18-45xf9hw1sxkhl6q # All of this collection's files are deep in subdirectories. portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48 - owner_uuid: qr1hi-tpzed-000000000000000 + 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 @@ -212,6 +212,20 @@ collection_expires_in_future: manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n" name: collection_expires_in_future +# 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 +# 2014-01-01_12:00:02 zzzzz-8i9sb-abcdefghijklmno 0 log message 2 +# 2014-01-01_12:00:03 zzzzz-8i9sb-abcdefghijklmno 0 log message 3 +# +real_log_collection: + uuid: zzzzz-4zz18-op4e2lbej01tcvu + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + created_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 + collection_in_home_project_with_same_name_as_in_aproject: uuid: zzzzz-4zz18-12342x4u7ftabcd portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 @@ -235,3 +249,117 @@ collection_in_aproject_with_same_name_as_in_home_project: updated_at: 2014-02-03T17:22:54Z manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" name: collection_with_same_name_in_aproject_and_home_project + +collection_owned_by_foo: + uuid: zzzzz-4zz18-50surkhkbhsp31b + portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 + manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" + owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c + created_at: 2014-02-03T17:22:54Z + name: collection_owned_by_foo + +collection_to_remove_from_subproject: + # The Workbench tests remove this from subproject. + uuid: zzzzz-4zz18-subprojgonecoll + portable_data_hash: 2386ca6e3fffd4be5e197a72c6c80fb2+51 + manifest_text: ". 8258b505536a9ab47baa2f4281cb932a+9 0:9:missingno\n" + owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x + created_at: 2014-10-15T10:45:00 + name: Collection to remove from subproject + +collection_with_files_in_subdir: + uuid: zzzzz-4zz18-filesinsubdir00 + name: collection_files_in_subdir + portable_data_hash: 85877ca2d7e05498dd3d109baf2df106+95 + 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+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" + +graph_test_collection1: + uuid: zzzzz-4zz18-bv31uwvy3neko22 + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n" + name: bar_file + +graph_test_collection2: + uuid: zzzzz-4zz18-uukreo9rbgwsujx + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + 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" + +graph_test_collection3: + uuid: zzzzz-4zz18-uukreo9rbgwsujj + owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz + portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 + manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" + name: "baz file" + +collection_1_owned_by_fuse: + uuid: zzzzz-4zz18-ovx05bfzormx3bg + portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + owner_uuid: zzzzz-tpzed-0fusedrivertest + 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 #1 owned by FUSE" + +collection_2_owned_by_fuse: + uuid: zzzzz-4zz18-8ubpy4w74twtwzr + portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45 + owner_uuid: zzzzz-tpzed-0fusedrivertest + 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: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n" + name: "collection #2 owned by FUSE" + +collection_in_fuse_project: + uuid: zzzzz-4zz18-vx4mtkjqfrb534f + portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 + owner_uuid: zzzzz-j7d0g-0000ownedbyfuse + 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: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" + name: "collection in FUSE project" + +# 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 + +# collections in project_with_10_collections +<% for i in 1..10 do %> +collection_<%=i%>_of_10: + name: Collection_<%= i %> + portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 + manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" + uuid: zzzzz-4zz18-10gneyn6brkx<%= i.to_s.rjust(3, '0') %> + owner_uuid: zzzzz-j7d0g-0010collections + created_at: <%= i.minute.ago.to_s(:db) %> +<% end %> + +# collections in project_with_201_collections +<% for i in 1..201 do %> +collection_<%=i%>_of_201: + name: Collection_<%= i %> + portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 + manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n" + uuid: zzzzz-4zz18-201gneyn6brd<%= i.to_s.rjust(3, '0') %> + owner_uuid: zzzzz-j7d0g-0201collections + created_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