3706: Merge branch 'master' into 3706-keep-warning
[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 collection_owned_by_active:
14   uuid: zzzzz-4zz18-bv31uwvy3neko21
15   portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45
16   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
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: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n"
23   name: owned_by_active
24
25 foo_file:
26   uuid: zzzzz-4zz18-znfnqtbbv4spc3w
27   portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+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: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
35   name: foo_file
36
37 bar_file:
38   uuid: zzzzz-4zz18-ehbhgtheo8909or
39   portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+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: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n"
47   name: bar_file
48
49 baz_file:
50   uuid: zzzzz-4zz18-y9vne9npefyxh8g
51   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
52   owner_uuid: zzzzz-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: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
59   name: baz_file
60
61 multilevel_collection_1:
62   uuid: zzzzz-4zz18-pyw8yp9g3pr7irn
63   portable_data_hash: 1fd08fc162a5c6413070a8bd0bffc818+150
64   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
65   created_at: 2014-02-03T17:22:54Z
66   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
67   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
68   modified_at: 2014-02-03T17:22:54Z
69   updated_at: 2014-02-03T17:22:54Z
70   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"
71   name: multilevel_collection_1
72
73 multilevel_collection_2:
74   uuid: zzzzz-4zz18-45xf9hw1sxkhl6q
75   # All of this collection's files are deep in subdirectories.
76   portable_data_hash: 80cf6dd2cf079dd13f272ec4245cb4a8+48
77   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
78   created_at: 2014-02-03T17:22:54Z
79   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
80   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
81   modified_at: 2014-02-03T17:22:54Z
82   updated_at: 2014-02-03T17:22:54Z
83   manifest_text: "./dir1/sub1 0:0:a 0:0:b\n./dir2/sub2 0:0:c 0:0:d\n"
84   name: multilevel_collection_2
85
86 docker_image:
87   uuid: zzzzz-4zz18-1v45jub259sjjgb
88   # This Collection has links with Docker image metadata.
89   portable_data_hash: fa3c1a9cb6783f85f2ecda037e07b8c3+167
90   owner_uuid: qr1hi-tpzed-000000000000000
91   created_at: 2014-06-11T17:22:54Z
92   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
93   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
94   modified_at: 2014-06-11T17:22:54Z
95   updated_at: 2014-06-11T17:22:54Z
96   manifest_text: ". d21353cfe035e3e384563ee55eadbb2f+67108864 5c77a43e329b9838cbec18ff42790e57+55605760 0:122714624:d8309758b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n"
97   name: docker_image
98
99 unlinked_docker_image:
100   uuid: zzzzz-4zz18-d0d8z5wofvfgwad
101   # This Collection contains a file that looks like a Docker image,
102   # but has no Docker metadata links pointing to it.
103   portable_data_hash: 9ae44d5792468c58bcf85ce7353c7027+124
104   owner_uuid: qr1hi-tpzed-000000000000000
105   created_at: 2014-06-11T17:22:54Z
106   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
107   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
108   modified_at: 2014-06-11T17:22:54Z
109   updated_at: 2014-06-11T17:22:54Z
110   manifest_text: ". fca529cfe035e3e384563ee55eadbb2f+67108863 0:67108863:bcd02158b8fe2c81034ffc8a10c36460b77db7bc5e7b448c4e5b684f9d95a678.tar\n"
111   name: unlinked_docker_image
112
113 empty:
114   uuid: zzzzz-4zz18-gs9ooj1h9sd5mde
115   # Empty collection owned by anonymous_group is added with rake db:seed.
116   portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0
117   owner_uuid: zzzzz-tpzed-000000000000000
118   created_at: 2014-06-11T17:22:54Z
119   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
120   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
121   modified_at: 2014-06-11T17:22:54Z
122   updated_at: 2014-06-11T17:22:54Z
123   manifest_text: ""
124   name: empty_collection
125
126 foo_collection_in_aproject:
127   uuid: zzzzz-4zz18-fy296fx3hot09f7
128   portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
129   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
130   created_at: 2014-04-21 15:37:48 -0400
131   modified_at: 2014-04-21 15:37:48 -0400
132   updated_at: 2014-04-21 15:37:48 -0400
133   manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
134   name: "zzzzz-4zz18-fy296fx3hot09f7 added sometime"
135
136 user_agreement_in_anonymously_accessible_project:
137   uuid: zzzzz-4zz18-uukreo9rbgwsujr
138   portable_data_hash: b519d9cb706a29fc7ea24dbea2f05851+93
139   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
140   created_at: 2014-06-13 20:42:26 -0800
141   modified_at: 2014-06-13 20:42:26 -0800
142   updated_at: 2014-06-13 20:42:26 -0800
143   manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:GNU_General_Public_License,_version_3.pdf\n"
144   name: GNU General Public License, version 3
145
146 baz_collection_name_in_asubproject:
147   uuid: zzzzz-4zz18-lsitwcf548ui4oe
148   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
149   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
150   created_at: 2014-04-21 15:37:48 -0400
151   modified_at: 2014-04-21 15:37:48 -0400
152   updated_at: 2014-04-21 15:37:48 -0400
153   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
154   name: "zzzzz-4zz18-lsitwcf548ui4oe added sometime"
155
156 empty_collection_name_in_active_user_home_project:
157   uuid: zzzzz-4zz18-5qa38qghh1j3nvv
158   portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0
159   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
160   created_at: 2014-08-06 22:11:51.242392533 Z
161   modified_at: 2014-08-06 22:11:51.242150425 Z
162   manifest_text: ""
163   name: Empty collection
164
165 baz_file_in_asubproject:
166   uuid: zzzzz-4zz18-0mri2x4u7ftngez
167   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
168   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
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: baz_file
176
177 collection_to_move_around_in_aproject:
178   uuid: zzzzz-4zz18-0mri2x4u7ft1234
179   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
180   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
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   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
187   name: collection_to_move_around
188
189 expired_collection:
190   uuid: zzzzz-4zz18-mto52zx1s7sn3ih
191   portable_data_hash: 0b21a217243bfce5617fb9224b95bcb9+49
192   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
193   created_at: 2014-02-03T17:22:54Z
194   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
195   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
196   modified_at: 2014-02-03T17:22:54Z
197   updated_at: 2014-02-03T17:22:54Z
198   expires_at: 2001-01-01T00:00:00Z
199   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n"
200   name: expired_collection
201
202 collection_expires_in_future:
203   uuid: zzzzz-4zz18-padkqo7yb8d9i3j
204   portable_data_hash: 0b21a217243bfce5617fb9224b95bcb9+49
205   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
206   created_at: 2014-02-03T17:22:54Z
207   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
208   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
209   modified_at: 2014-02-03T17:22:54Z
210   updated_at: 2014-02-03T17:22:54Z
211   expires_at: 2038-01-01T00:00:00Z
212   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n"
213   name: collection_expires_in_future
214
215 # a collection with a log file that can be parsed by the log viewer
216 # This collection hash matches the following log text:
217 #    2014-01-01_12:00:01 zzzzz-8i9sb-abcdefghijklmno 0  log message 1
218 #    2014-01-01_12:00:02 zzzzz-8i9sb-abcdefghijklmno 0  log message 2
219 #    2014-01-01_12:00:03 zzzzz-8i9sb-abcdefghijklmno 0  log message 3
220 #
221 real_log_collection:
222   uuid: zzzzz-4zz18-op4e2lbej01tcvu
223   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
224   created_at: 2014-09-01 12:00:00
225   portable_data_hash: 0b9a7787660e1fce4a93f33e01376ba6+81
226   manifest_text: ". cdd549ae79fe6640fa3d5c6261d8303c+195 0:195:zzzzz-8i9sb-0vsrcqi7whchuil.log.txt\n"
227   name: real_log_collection
228
229 collection_in_home_project_with_same_name_as_in_aproject:
230   uuid: zzzzz-4zz18-12342x4u7ftabcd
231   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
232   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
233   created_at: 2014-02-03T17:22:54Z
234   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
235   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
236   modified_at: 2014-02-03T17:22:54Z
237   updated_at: 2014-02-03T17:22:54Z
238   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
239   name: collection_with_same_name_in_aproject_and_home_project
240
241 collection_in_aproject_with_same_name_as_in_home_project:
242   uuid: zzzzz-4zz18-56782x4u7ftefgh
243   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
244   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
245   created_at: 2014-02-03T17:22:54Z
246   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
247   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
248   modified_at: 2014-02-03T17:22:54Z
249   updated_at: 2014-02-03T17:22:54Z
250   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
251   name: collection_with_same_name_in_aproject_and_home_project
252
253 collection_owned_by_foo:
254   uuid: zzzzz-4zz18-50surkhkbhsp31b
255   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
256   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
257   owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c
258   created_at: 2014-02-03T17:22:54Z
259   name: collection_owned_by_foo
260
261 collection_to_remove_from_subproject:
262   # The Workbench tests remove this from subproject.
263   uuid: zzzzz-4zz18-subprojgonecoll
264   portable_data_hash: 2386ca6e3fffd4be5e197a72c6c80fb2+51
265   manifest_text: ". 8258b505536a9ab47baa2f4281cb932a+9 0:9:missingno\n"
266   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
267   created_at: 2014-10-15T10:45:00
268   name: Collection to remove from subproject
269
270 collection_with_files_in_subdir:
271   uuid: zzzzz-4zz18-filesinsubdir00
272   name: collection_files_in_subdir
273   portable_data_hash: 85877ca2d7e05498dd3d109baf2df106+95
274   owner_uuid: zzzzz-tpzed-user1withloadab
275   created_at: 2014-02-03T17:22:54Z
276   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
277   modified_by_user_uuid: zzzzz-tpzed-user1withloadab
278   modified_at: 2014-02-03T17:22:54Z
279   updated_at: 2014-02-03T17:22:54Z
280   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"
281
282 collection_1_owned_by_fuse:
283   uuid: zzzzz-4zz18-ovx05bfzormx3bg
284   portable_data_hash: fa7aeb5140e2848d39b416daeef4ffc5+45
285   owner_uuid: zzzzz-tpzed-0fusedrivertest
286   created_at: 2014-02-03T17:22:54Z
287   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
288   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
289   modified_at: 2014-02-03T17:22:54Z
290   updated_at: 2014-02-03T17:22:54Z
291   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n"
292   name: "collection #1 owned by FUSE"
293
294 collection_2_owned_by_fuse:
295   uuid: zzzzz-4zz18-8ubpy4w74twtwzr
296   portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
297   owner_uuid: zzzzz-tpzed-0fusedrivertest
298   created_at: 2014-02-03T17:22:54Z
299   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
300   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
301   modified_at: 2014-02-03T17:22:54Z
302   updated_at: 2014-02-03T17:22:54Z
303   manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
304   name: "collection #2 owned by FUSE"
305
306 collection_in_fuse_project:
307   uuid: zzzzz-4zz18-vx4mtkjqfrb534f
308   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
309   owner_uuid: zzzzz-j7d0g-0000ownedbyfuse
310   created_at: 2014-02-03T17:22:54Z
311   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
312   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
313   modified_at: 2014-02-03T17:22:54Z
314   updated_at: 2014-02-03T17:22:54Z
315   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
316   name: "collection in FUSE project"
317
318 # Test Helper trims the rest of the file
319
320 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
321
322 # collections in project_with_10_collections
323 <% for i in 1..10 do %>
324 collection_<%=i%>_of_10:
325   name: Collection_<%= i %>
326   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
327   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
328   uuid: zzzzz-4zz18-10gneyn6brkx<%= i.to_s.rjust(3, '0') %>
329   owner_uuid: zzzzz-j7d0g-0010collections
330   created_at: <%= i.minute.ago.to_s(:db) %>
331 <% end %>
332
333 # collections in project_with_201_collections
334 <% for i in 1..201 do %>
335 collection_<%=i%>_of_201:
336   name: Collection_<%= i %>
337   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
338   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
339   uuid: zzzzz-4zz18-201gneyn6brd<%= i.to_s.rjust(3, '0') %>
340   owner_uuid: zzzzz-j7d0g-0201collections
341   created_at: <%= i.minute.ago.to_s(:db) %>
342 <% end %>
343
344 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper