3782: bugfix and added integration test
[arvados.git] / services / api / test / fixtures / collections.yml
1 user_agreement:
2   uuid: zzzzz-4zz18-t68oksiu9m80s4y
3   portable_data_hash: b519d9cb706a29fc7ea24dbea2f05851+93
4   owner_uuid: zzzzz-tpzed-000000000000000
5   created_at: 2013-12-26T19:22:54Z
6   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
7   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
8   modified_at: 2013-12-26T19:22:54Z
9   updated_at: 2013-12-26T19:22:54Z
10   manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:GNU_General_Public_License,_version_3.pdf\n"
11   name: user_agreement
12
13 foo_file:
14   uuid: zzzzz-4zz18-znfnqtbbv4spc3w
15   portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
16   owner_uuid: zzzzz-tpzed-000000000000000
17   created_at: 2014-02-03T17:22:54Z
18   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
19   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
20   modified_at: 2014-02-03T17:22:54Z
21   updated_at: 2014-02-03T17:22:54Z
22   manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
23   name: foo_file
24
25 bar_file:
26   uuid: zzzzz-4zz18-ehbhgtheo8909or
27   portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45
28   owner_uuid: zzzzz-tpzed-000000000000000
29   created_at: 2014-02-03T17:22:54Z
30   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
31   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
32   modified_at: 2014-02-03T17:22:54Z
33   updated_at: 2014-02-03T17:22:54Z
34   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n"
35   name: bar_file
36
37 baz_file:
38   uuid: zzzzz-4zz18-y9vne9npefyxh8g
39   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
40   owner_uuid: zzzzz-tpzed-000000000000000
41   created_at: 2014-02-03T17:22:54Z
42   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
43   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
44   modified_at: 2014-02-03T17:22:54Z
45   updated_at: 2014-02-03T17:22:54Z
46   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
47   name: baz_file
48
49 multilevel_collection_1:
50   uuid: zzzzz-4zz18-pyw8yp9g3pr7irn
51   portable_data_hash: 1fd08fc162a5c6413070a8bd0bffc818+150
52   owner_uuid: qr1hi-tpzed-000000000000000
53   created_at: 2014-02-03T17:22:54Z
54   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
55   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
56   modified_at: 2014-02-03T17:22:54Z
57   updated_at: 2014-02-03T17:22:54Z
58   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"
59   name: multilevel_collection_1
60
61 multilevel_collection_2:
62   uuid: zzzzz-4zz18-45xf9hw1sxkhl6q
63   # All of this collection's files are deep in subdirectories.
64   portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48
65   owner_uuid: qr1hi-tpzed-000000000000000
66   created_at: 2014-02-03T17:22:54Z
67   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
68   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
69   modified_at: 2014-02-03T17:22:54Z
70   updated_at: 2014-02-03T17:22:54Z
71   manifest_text: "./dir1/sub1 0:0:a 0:0:b\n./dir2/sub2 0:0:c 0:0:d\n"
72   name: multilevel_collection_2
73
74 docker_image:
75   uuid: zzzzz-4zz18-1v45jub259sjjgb
76   # This Collection has links with Docker image metadata.
77   portable_data_hash: fa3c1a9cb6783f85f2ecda037e07b8c3+167
78   owner_uuid: qr1hi-tpzed-000000000000000
79   created_at: 2014-06-11T17:22:54Z
80   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
81   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
82   modified_at: 2014-06-11T17:22:54Z
83   updated_at: 2014-06-11T17:22:54Z
84   manifest_text: ". d21353cfe035e3e384563ee55eadbb2f+67108864 5c77a43e329b9838cbec18ff42790e57+55605760 0:122714624:d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n"
85   name: docker_image
86
87 unlinked_docker_image:
88   uuid: zzzzz-4zz18-d0d8z5wofvfgwad
89   # This Collection contains a file that looks like a Docker image,
90   # but has no Docker metadata links pointing to it.
91   portable_data_hash: 9ae44d5792468c58bcf85ce7353c7027+124
92   owner_uuid: qr1hi-tpzed-000000000000000
93   created_at: 2014-06-11T17:22:54Z
94   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
95   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
96   modified_at: 2014-06-11T17:22:54Z
97   updated_at: 2014-06-11T17:22:54Z
98   manifest_text: ". fca529cfe035e3e384563ee55eadbb2f+67108863 0:67108863:bcd02158b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n"
99   name: unlinked_docker_image
100
101 empty:
102   uuid: zzzzz-4zz18-gs9ooj1h9sd5mde
103   # Empty collection owned by anonymous_group is added with rake db:seed.
104   portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0
105   owner_uuid: zzzzz-tpzed-000000000000000
106   created_at: 2014-06-11T17:22:54Z
107   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
108   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
109   modified_at: 2014-06-11T17:22:54Z
110   updated_at: 2014-06-11T17:22:54Z
111   manifest_text: ""
112   name: empty_collection
113
114 foo_collection_in_aproject:
115   uuid: zzzzz-4zz18-fy296fx3hot09f7
116   portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
117   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
118   created_at: 2014-04-21 15:37:48 -0400
119   modified_at: 2014-04-21 15:37:48 -0400
120   updated_at: 2014-04-21 15:37:48 -0400
121   manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
122   name: "zzzzz-4zz18-fy296fx3hot09f7 added sometime"
123
124 user_agreement_in_anonymously_accessible_project:
125   uuid: zzzzz-4zz18-uukreo9rbgwsujr
126   portable_data_hash: b519d9cb706a29fc7ea24dbea2f05851+93
127   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
128   created_at: 2014-06-13 20:42:26 -0800
129   modified_at: 2014-06-13 20:42:26 -0800
130   updated_at: 2014-06-13 20:42:26 -0800
131   manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:GNU_General_Public_License,_version_3.pdf\n"
132   name: GNU General Public License, version 3
133
134 baz_collection_name_in_asubproject:
135   uuid: zzzzz-4zz18-lsitwcf548ui4oe
136   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
137   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
138   created_at: 2014-04-21 15:37:48 -0400
139   modified_at: 2014-04-21 15:37:48 -0400
140   updated_at: 2014-04-21 15:37:48 -0400
141   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
142   name: "zzzzz-4zz18-lsitwcf548ui4oe added sometime"
143
144 empty_collection_name_in_active_user_home_project:
145   uuid: zzzzz-4zz18-5qa38qghh1j3nvv
146   portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0
147   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
148   created_at: 2014-08-06 22:11:51.242392533 Z
149   modified_at: 2014-08-06 22:11:51.242150425 Z
150   manifest_text: ""
151   name: Empty collection
152
153 baz_file_in_asubproject:
154   uuid: zzzzz-4zz18-0mri2x4u7ftngez
155   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
156   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
157   created_at: 2014-02-03T17:22:54Z
158   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
159   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
160   modified_at: 2014-02-03T17:22:54Z
161   updated_at: 2014-02-03T17:22:54Z
162   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
163   name: baz_file
164
165 collection_to_move_around_in_aproject:
166   uuid: zzzzz-4zz18-0mri2x4u7ft1234
167   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
168   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
169   created_at: 2014-02-03T17:22:54Z
170   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
171   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
172   modified_at: 2014-02-03T17:22:54Z
173   updated_at: 2014-02-03T17:22:54Z
174   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
175   name: collection_to_move_around
176
177 expired_collection:
178   uuid: zzzzz-4zz18-mto52zx1s7sn3ih
179   portable_data_hash: 0b21a217243bfce5617fb9224b95bcb9+49
180   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
181   created_at: 2014-02-03T17:22:54Z
182   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
183   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
184   modified_at: 2014-02-03T17:22:54Z
185   updated_at: 2014-02-03T17:22:54Z
186   expires_at: 2001-01-01T00:00:00Z
187   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n"
188   name: expired_collection
189
190 collection_expires_in_future:
191   uuid: zzzzz-4zz18-padkqo7yb8d9i3j
192   portable_data_hash: 0b21a217243bfce5617fb9224b95bcb9+49
193   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
194   created_at: 2014-02-03T17:22:54Z
195   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
196   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
197   modified_at: 2014-02-03T17:22:54Z
198   updated_at: 2014-02-03T17:22:54Z
199   expires_at: 2038-01-01T00:00:00Z
200   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n"
201   name: collection_expires_in_future
202
203 # a collection with a log file that can be parsed by the log viewer
204 # This collection hash matches the following log text:
205 #    2014-01-01_12:00:01 zzzzz-8i9sb-abcdefghijklmno 0  log message 1
206 #    2014-01-01_12:00:02 zzzzz-8i9sb-abcdefghijklmno 0  log message 2
207 #    2014-01-01_12:00:03 zzzzz-8i9sb-abcdefghijklmno 0  log message 3
208 #
209 real_log_collection:
210   uuid: zzzzz-4zz18-op4e2lbej01tcvu
211   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
212   created_at: 2014-09-01 12:00:00
213   portable_data_hash: 3399cbb0953a7823618f3e288a85ee26+81
214   manifest_text: ". b9f7e25b33844d816d8531686f8bf360+195 0:195:zzzzz-8i9sb-abcdefghijklmno.log.txt\n"
215   name: real_log_collection