4015: fix pipeline instance tests
[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: qr1hi-tpzed-000000000000000
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: qr1hi-tpzed-000000000000000
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 collection_input_for_simple_pipeline:
127   uuid: zzzzz-4zz18-c5hn44njgog4hhm
128   portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
129   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
130   created_at: 2014-10-23 17:32:02 -0400
131   modified_at: 2014-10-23 17:32:02 -0400
132   updated_at: 2014-10-23 17:32:02 -0400
133   manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
134   name: collection input for simple pipeline
135
136 foo_collection_in_aproject:
137   uuid: zzzzz-4zz18-fy296fx3hot09f7
138   portable_data_hash: 1f4b0bc7583c2a7f9102c395f4ffc5e3+45
139   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
140   created_at: 2014-04-21 15:37:48 -0400
141   modified_at: 2014-04-21 15:37:48 -0400
142   updated_at: 2014-04-21 15:37:48 -0400
143   manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 0:3:foo\n"
144   name: "zzzzz-4zz18-fy296fx3hot09f7 added sometime"
145
146 user_agreement_in_anonymously_accessible_project:
147   uuid: zzzzz-4zz18-uukreo9rbgwsujr
148   portable_data_hash: b519d9cb706a29fc7ea24dbea2f05851+93
149   owner_uuid: zzzzz-j7d0g-zhxawtyetzwc5f0
150   created_at: 2014-06-13 20:42:26 -0800
151   modified_at: 2014-06-13 20:42:26 -0800
152   updated_at: 2014-06-13 20:42:26 -0800
153   manifest_text: ". 6a4ff0499484c6c79c95cd8c566bd25f+249025 0:249025:GNU_General_Public_License,_version_3.pdf\n"
154   name: GNU General Public License, version 3
155
156 baz_collection_name_in_asubproject:
157   uuid: zzzzz-4zz18-lsitwcf548ui4oe
158   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
159   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
160   created_at: 2014-04-21 15:37:48 -0400
161   modified_at: 2014-04-21 15:37:48 -0400
162   updated_at: 2014-04-21 15:37:48 -0400
163   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
164   name: "zzzzz-4zz18-lsitwcf548ui4oe added sometime"
165
166 empty_collection_name_in_active_user_home_project:
167   uuid: zzzzz-4zz18-5qa38qghh1j3nvv
168   portable_data_hash: d41d8cd98f00b204e9800998ecf8427e+0
169   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
170   created_at: 2014-08-06 22:11:51.242392533 Z
171   modified_at: 2014-08-06 22:11:51.242150425 Z
172   manifest_text: ""
173   name: Empty collection
174
175 baz_file_in_asubproject:
176   uuid: zzzzz-4zz18-0mri2x4u7ftngez
177   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
178   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
179   created_at: 2014-02-03T17:22:54Z
180   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
181   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
182   modified_at: 2014-02-03T17:22:54Z
183   updated_at: 2014-02-03T17:22:54Z
184   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
185   name: baz_file
186
187 collection_to_move_around_in_aproject:
188   uuid: zzzzz-4zz18-0mri2x4u7ft1234
189   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
190   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
191   created_at: 2014-02-03T17:22:54Z
192   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
193   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
194   modified_at: 2014-02-03T17:22:54Z
195   updated_at: 2014-02-03T17:22:54Z
196   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
197   name: collection_to_move_around
198
199 expired_collection:
200   uuid: zzzzz-4zz18-mto52zx1s7sn3ih
201   portable_data_hash: 0b21a217243bfce5617fb9224b95bcb9+49
202   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
203   created_at: 2014-02-03T17:22:54Z
204   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
205   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
206   modified_at: 2014-02-03T17:22:54Z
207   updated_at: 2014-02-03T17:22:54Z
208   expires_at: 2001-01-01T00:00:00Z
209   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n"
210   name: expired_collection
211
212 collection_expires_in_future:
213   uuid: zzzzz-4zz18-padkqo7yb8d9i3j
214   portable_data_hash: 0b21a217243bfce5617fb9224b95bcb9+49
215   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
216   created_at: 2014-02-03T17:22:54Z
217   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
218   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
219   modified_at: 2014-02-03T17:22:54Z
220   updated_at: 2014-02-03T17:22:54Z
221   expires_at: 2038-01-01T00:00:00Z
222   manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:expired\n"
223   name: collection_expires_in_future
224
225 # a collection with a log file that can be parsed by the log viewer
226 # This collection hash matches the following log text:
227 #    2014-01-01_12:00:01 zzzzz-8i9sb-abcdefghijklmno 0  log message 1
228 #    2014-01-01_12:00:02 zzzzz-8i9sb-abcdefghijklmno 0  log message 2
229 #    2014-01-01_12:00:03 zzzzz-8i9sb-abcdefghijklmno 0  log message 3
230 #
231 real_log_collection:
232   uuid: zzzzz-4zz18-op4e2lbej01tcvu
233   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
234   created_at: 2014-09-01 12:00:00
235   portable_data_hash: 0b9a7787660e1fce4a93f33e01376ba6+81
236   manifest_text: ". cdd549ae79fe6640fa3d5c6261d8303c+195 0:195:zzzzz-8i9sb-0vsrcqi7whchuil.log.txt\n"
237   name: real_log_collection
238
239 collection_in_home_project_with_same_name_as_in_aproject:
240   uuid: zzzzz-4zz18-12342x4u7ftabcd
241   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
242   owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
243   created_at: 2014-02-03T17:22:54Z
244   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
245   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
246   modified_at: 2014-02-03T17:22:54Z
247   updated_at: 2014-02-03T17:22:54Z
248   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
249   name: collection_with_same_name_in_aproject_and_home_project
250
251 collection_in_aproject_with_same_name_as_in_home_project:
252   uuid: zzzzz-4zz18-56782x4u7ftefgh
253   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
254   owner_uuid: zzzzz-j7d0g-v955i6s2oi1cbso
255   created_at: 2014-02-03T17:22:54Z
256   modified_by_client_uuid: zzzzz-ozdt8-brczlopd8u8d0jr
257   modified_by_user_uuid: zzzzz-tpzed-d9tiejq69daie8f
258   modified_at: 2014-02-03T17:22:54Z
259   updated_at: 2014-02-03T17:22:54Z
260   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
261   name: collection_with_same_name_in_aproject_and_home_project
262
263 collection_owned_by_foo:
264   uuid: zzzzz-4zz18-50surkhkbhsp31b
265   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
266   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
267   owner_uuid: zzzzz-tpzed-81hsbo6mk8nl05c
268   created_at: 2014-02-03T17:22:54Z
269   name: collection_owned_by_foo
270
271 collection_to_remove_from_subproject:
272   # The Workbench tests remove this from subproject.
273   uuid: zzzzz-4zz18-subprojgonecoll
274   portable_data_hash: 2386ca6e3fffd4be5e197a72c6c80fb2+51
275   manifest_text: ". 8258b505536a9ab47baa2f4281cb932a+9 0:9:missingno\n"
276   owner_uuid: zzzzz-j7d0g-axqo7eu9pwvna1x
277   created_at: 2014-10-15T10:45:00
278   name: Collection to remove from subproject
279
280 # Test Helper trims the rest of the file
281
282 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper
283
284 # collections in project_with_10_collections
285 <% for i in 1..10 do %>
286 collection_<%=i%>_of_10:
287   name: Collection_<%= i %>
288   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
289   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
290   uuid: zzzzz-4zz18-10gneyn6brkx<%= i.to_s.rjust(3, '0') %>
291   owner_uuid: zzzzz-j7d0g-0010collections
292   created_at: <%= i.minute.ago.to_s(:db) %>
293 <% end %>
294
295 # collections in project_with_201_collections
296 <% for i in 1..201 do %>
297 collection_<%=i%>_of_201:
298   name: Collection_<%= i %>
299   portable_data_hash: ea10d51bcf88862dbcc36eb292017dfd+45
300   manifest_text: ". 73feffa4b7f6bb68e44cf984c85f6e88+3 0:3:baz\n"
301   uuid: zzzzz-4zz18-201gneyn6brd<%= i.to_s.rjust(3, '0') %>
302   owner_uuid: zzzzz-j7d0g-0201collections
303   created_at: <%= i.minute.ago.to_s(:db) %>
304 <% end %>
305
306 # Do not add your fixtures below this line as the rest of this file will be trimmed by test_helper