X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1f7a6b50cabab4c8645dd6db92e456c080f2a81c..6cef86f2d748be96695293b48afac61e2ae640df:/services/api/test/fixtures/collections.yml diff --git a/services/api/test/fixtures/collections.yml b/services/api/test/fixtures/collections.yml index c14650c2f4..4ba5a3b52d 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: @@ -155,6 +155,16 @@ user_agreement_in_anonymously_accessible_project: manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:GNU_General_Public_License,_version_3.pdf\n" name: GNU General Public License, version 3 +public_text_file: + uuid: zzzzz-4zz18-4en62shvi99lxd4 + portable_data_hash: 55713e6a34081eb03609e7ad5fcad129+62 + owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0 + created_at: 2015-02-12 16:58:03 -0500 + modified_at: 2015-02-12 16:58:03 -0500 + updated_at: 2015-02-12 16:58:03 -0500 + manifest_text: ". f0ef7081e1539ac00ef5b761b4fb01b3+12 0:12:Hello\\040world.txt\n" + name: Hello world + baz_collection_name_in_asubproject: uuid: zzzzz-4zz18-lsitwcf548ui4oe portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45 @@ -289,7 +299,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 @@ -424,7 +434,7 @@ replication_desired_2_confirmed_2: created_at: 2015-02-07 00:19:28.596506247 Z modified_by_user_uuid: zzzzz-tpzed-xurymjxw79nv3jz modified_at: 2015-02-07 00:19:28.596338465 Z - portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45 + portable_data_hash: ec53808e4c23e6aeebea24d998ae5346+88 replication_desired: 2 replication_confirmed_at: 2015-02-07 00:24:52.983381227 Z replication_confirmed: 2 @@ -433,6 +443,107 @@ replication_desired_2_confirmed_2: manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 37b51d194a7513e45b56f6524f2d51f2+3 0:3:foo 3:6:bar\n" name: replication want=2 have=2 +collection_with_empty_properties: + uuid: zzzzz-4zz18-emptyproperties + 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 empty properties + properties: {} + +collection_with_one_property: + uuid: zzzzz-4zz18-withoneproperty + 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 one property + properties: + property1: value1 + +# 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 + 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 + name: collection_with_repeated_filenames_and_contents_in_two_dirs_1 + 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 + 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 + name: collection_with_repeated_filenames_and_contents_in_two_dirs_2 + 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 + portable_data_hash: 6bbac24198d09a93975f60098caf0bdf+62 + 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 + name: foo_file_in_dir + manifest_text: "./dir1 3858f62230ac3c915f300c664312c63f+6 3:3:bar 0:3:foo\n" + +multi_level_to_combine: + uuid: zzzzz-4zz18-pyw8yp9g3ujh45f + portable_data_hash: 7a6ef4c162a5c6413070a8bd0bffc818+150 + 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: ". 85877ca2d7e05498dd3d109baf2df106+95 0:0:file1 0:0:file2 0:0:file3\n./dir1 85877ca2d7e05498dd3d109baf2df106+95 0:0:file1 0:0:file2 0:0:file3\n./dir1/subdir 85877ca2d7e05498dd3d109baf2df106+95 0:0:file1 0:0:file2 0:0:file3\n./dir2 85877ca2d7e05498dd3d109baf2df106+95 0:0:file1 0:0:file2 0:0:file3\n" + name: multi_level_to_combine + +# collection with several file types to test view icon enabled state in collection show page +collection_with_several_supported_file_types: + uuid: zzzzz-4zz18-supportedtypes1 + portable_data_hash: 020d82cf7dedb70fd2b7788b5d0634da+269 + 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:file.csv 0:0:file.fa 0:0:file.fasta 0:0:file.gif 0:0:file.json 0:0:file.md 0:0:file.pdf 0:0:file.py 0:0:file.R 0:0:file.sam 0:0:file.sh 0:0:file.tiff 0:0:file.tsv 0:0:file.txt 0:0:file.vcf 0:0:file.xml 0:0:file.xsl 0:0:file.yml\n" + name: collection_with_several_supported_file_types + +collection_with_several_unsupported_file_types: + uuid: zzzzz-4zz18-supportedtypes2 + portable_data_hash: 71ac42f87464ee5f9fd396d560d400c3+59 + 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:file 0:0:file.bam\n" + name: collection_with_several_unsupported_file_types + # 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