hudson-remote-api 0.7.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/Gemfile +9 -0
  4. data/Gemfile.lock +20 -0
  5. data/README.md +11 -9
  6. data/Rakefile +10 -0
  7. data/fixtures/vcr_cassettes/TestHudsonBuildQueue_test_list.yml +38 -0
  8. data/fixtures/vcr_cassettes/TestHudsonBuild_setup.yml +407 -0
  9. data/fixtures/vcr_cassettes/TestHudsonBuild_test_build_info.yml +222 -0
  10. data/fixtures/vcr_cassettes/TestHudsonClient_test_build_job_.yml +52 -0
  11. data/fixtures/vcr_cassettes/TestHudsonClient_test_build_job_with_parameters_.yml +52 -0
  12. data/fixtures/vcr_cassettes/TestHudsonClient_test_build_queue_info.yml +38 -0
  13. data/fixtures/vcr_cassettes/TestHudsonClient_test_create_item_.yml +52 -0
  14. data/fixtures/vcr_cassettes/TestHudsonClient_test_delete_job_.yml +52 -0
  15. data/fixtures/vcr_cassettes/TestHudsonClient_test_job_build_info.yml +39 -0
  16. data/fixtures/vcr_cassettes/TestHudsonClient_test_job_config_info.yml +48 -0
  17. data/fixtures/vcr_cassettes/TestHudsonJob_test_build.yml +409 -0
  18. data/fixtures/vcr_cassettes/TestHudsonJob_test_build_with_params.yml +189 -0
  19. data/fixtures/vcr_cassettes/TestHudsonJob_test_builds_list.yml +192 -0
  20. data/fixtures/vcr_cassettes/TestHudsonJob_test_copy.yml +410 -0
  21. data/fixtures/vcr_cassettes/TestHudsonJob_test_create.yml +257 -0
  22. data/fixtures/vcr_cassettes/TestHudsonJob_test_desc_update.yml +281 -0
  23. data/fixtures/vcr_cassettes/TestHudsonJob_test_get.yml +191 -0
  24. data/fixtures/vcr_cassettes/TestHudsonJob_test_job_with_spaces.yml +260 -0
  25. data/fixtures/vcr_cassettes/TestHudsonJob_test_list.yml +39 -0
  26. data/fixtures/vcr_cassettes/TestHudsonJob_test_list_active.yml +39 -0
  27. data/fixtures/vcr_cassettes/TestHudsonJob_test_new.yml +561 -0
  28. data/fixtures/vcr_cassettes/TestHudsonJob_test_scm_url.yml +728 -0
  29. data/fixtures/vcr_cassettes/TestHudsonJob_test_triggers_delete.yml +588 -0
  30. data/fixtures/vcr_cassettes/TestHudsonJob_test_triggers_set.yml +346 -0
  31. data/fixtures/vcr_cassettes/TestHudsonJob_test_triggers_set_using_shortcut.yml +346 -0
  32. data/fixtures/vcr_cassettes/TestHudsonJob_test_url.yml +156 -0
  33. data/fixtures/vcr_cassettes/TestHudsonJob_test_wipe_out_workspace.yml +685 -0
  34. data/hudson-remote-api.gemspec +23 -0
  35. data/lib/hudson-remote-api.rb +3 -128
  36. data/lib/hudson-remote-api/build.rb +18 -35
  37. data/lib/hudson-remote-api/build_queue.rb +13 -20
  38. data/lib/hudson-remote-api/client.rb +179 -0
  39. data/lib/hudson-remote-api/hudson_xml_api.rb +61 -0
  40. data/lib/hudson-remote-api/job.rb +207 -345
  41. data/lib/hudson-remote-api/parser/build_info.rb +37 -0
  42. data/lib/hudson-remote-api/parser/build_queue_info.rb +19 -0
  43. data/lib/hudson-remote-api/parser/job_config_info.rb +99 -0
  44. data/lib/hudson-remote-api/parser/job_info.rb +62 -0
  45. data/lib/hudson-remote-api/parser/multicast.rb +28 -0
  46. data/lib/hudson-remote-api/parser/server_info.rb +49 -0
  47. data/lib/hudson-remote-api/settings.rb +31 -0
  48. data/lib/hudson-remote-api/version.rb +3 -0
  49. data/lib/hudson-remote-api/xml_writer/job_config_info.rb +113 -0
  50. data/test/test_helper.rb +10 -0
  51. data/test/test_hudson_build.rb +28 -0
  52. data/test/test_hudson_build_queue.rb +11 -0
  53. data/test/test_hudson_client.rb +65 -0
  54. data/test/test_hudson_job.rb +162 -0
  55. data/test/test_hudson_multicast.rb +9 -0
  56. data/test/test_hudson_settings.rb +70 -0
  57. metadata +71 -53
  58. data/lib/hudson-remote-api/config.rb +0 -46
@@ -0,0 +1,39 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:8080/job/test_job/1/api/xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Content-Type:
17
+ - text/xml
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ X-Jenkins:
24
+ - '1.583'
25
+ X-Jenkins-Session:
26
+ - cdced1b2
27
+ Content-Type:
28
+ - application/xml;charset=UTF-8
29
+ Content-Length:
30
+ - '296'
31
+ Server:
32
+ - Jetty(8.y.z-SNAPSHOT)
33
+ body:
34
+ encoding: UTF-8
35
+ string: "<freeStyleBuild><action><cause><shortDescription>Started by user anonymous</shortDescription><userName>anonymous</userName></cause></action><building>false</building><duration>27</duration><estimatedDuration>28</estimatedDuration><fullDisplayName>test_job
36
+ #1</fullDisplayName><id>2014-11-06_22-42-52</id><keepLog>false</keepLog><number>1</number><result>SUCCESS</result><timestamp>1415342572000</timestamp><url>http://localhost:8080/job/test_job/1/</url><builtOn></builtOn><changeSet></changeSet></freeStyleBuild>"
37
+ http_version:
38
+ recorded_at: Tue, 18 Nov 2014 06:53:50 GMT
39
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:8080/job/test_job/config.xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Content-Type:
17
+ - text/xml
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Content-Type:
24
+ - application/xml
25
+ Content-Length:
26
+ - '498'
27
+ Server:
28
+ - Jetty(8.y.z-SNAPSHOT)
29
+ body:
30
+ encoding: UTF-8
31
+ string: |-
32
+ <?xml version="1.0" encoding="UTF-8"?><project>
33
+ <keepDependencies>false</keepDependencies>
34
+ <properties/>
35
+ <scm class="hudson.scm.NullSCM"/>
36
+ <canRoam>false</canRoam>
37
+ <disabled>false</disabled>
38
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
39
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
40
+ <triggers/>
41
+ <concurrentBuild>false</concurrentBuild>
42
+ <builders/>
43
+ <publishers/>
44
+ <buildWrappers/>
45
+ <description>test</description></project>
46
+ http_version:
47
+ recorded_at: Tue, 18 Nov 2014 06:55:19 GMT
48
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,409 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:8080/crumbIssuer/api/xml
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Content-Type:
17
+ - text/xml
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ X-Jenkins:
24
+ - '1.583'
25
+ X-Jenkins-Session:
26
+ - 394516d7
27
+ Content-Type:
28
+ - application/xml;charset=UTF-8
29
+ Content-Length:
30
+ - '107'
31
+ Server:
32
+ - Jetty(8.y.z-SNAPSHOT)
33
+ body:
34
+ encoding: UTF-8
35
+ string: "<defaultCrumbIssuer><crumb>d6162b9f2e248ec452bad69592fb87ea</crumb><crumbRequestField>.crumb</crumbRequestField></defaultCrumbIssuer>"
36
+ http_version:
37
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
38
+ - request:
39
+ method: get
40
+ uri: http://localhost:8080/api/xml
41
+ body:
42
+ encoding: US-ASCII
43
+ string: ''
44
+ headers:
45
+ Accept-Encoding:
46
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
47
+ Accept:
48
+ - "*/*"
49
+ User-Agent:
50
+ - Ruby
51
+ Content-Type:
52
+ - text/xml
53
+ response:
54
+ status:
55
+ code: 200
56
+ message: OK
57
+ headers:
58
+ X-Jenkins:
59
+ - '1.583'
60
+ X-Jenkins-Session:
61
+ - 394516d7
62
+ Content-Type:
63
+ - application/xml;charset=UTF-8
64
+ Content-Length:
65
+ - '260'
66
+ Server:
67
+ - Jetty(8.y.z-SNAPSHOT)
68
+ body:
69
+ encoding: UTF-8
70
+ string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
71
+ master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><overallLoad></overallLoad><primaryView><name>All</name><url>http://localhost:8080/</url></primaryView><quietingDown>false</quietingDown><slaveAgentPort>0</slaveAgentPort><unlabeledLoad></unlabeledLoad><useCrumbs>true</useCrumbs><useSecurity>false</useSecurity><view><name>All</name><url>http://localhost:8080/</url></view></hudson>"
72
+ http_version:
73
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
74
+ - request:
75
+ method: post
76
+ uri: http://localhost:8080/createItem
77
+ body:
78
+ encoding: US-ASCII
79
+ string: name=test_job&mode=hudson.model.FreeStyleProject&config=%3C%3Fxml+version%3D%271.0%27+encoding%3D%27UTF-8%27%3F%3E%0A%3Cproject%3E%0A++%3Cactions%2F%3E%0A++%3Cdescription%3E%3C%2Fdescription%3E%0A++%3CkeepDependencies%3Efalse%3C%2FkeepDependencies%3E%0A++%3Cproperties%2F%3E%0A++%3Cscm+class%3D%22hudson.scm.NullSCM%22%2F%3E%0A++%3CcanRoam%3Etrue%3C%2FcanRoam%3E%0A++%3Cdisabled%3Efalse%3C%2Fdisabled%3E%0A++%3CblockBuildWhenUpstreamBuilding%3Efalse%3C%2FblockBuildWhenUpstreamBuilding%3E%0A++%3Ctriggers+class%3D%22vector%22%2F%3E%0A++%3CconcurrentBuild%3Efalse%3C%2FconcurrentBuild%3E%0A++%3Cbuilders%2F%3E%0A++%3Cpublishers%2F%3E%0A++%3CbuildWrappers%2F%3E%0A%3C%2Fproject%3E
80
+ headers:
81
+ Accept-Encoding:
82
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
83
+ Accept:
84
+ - "*/*"
85
+ User-Agent:
86
+ - Ruby
87
+ Content-Type:
88
+ - application/x-www-form-urlencoded
89
+ ".crumb":
90
+ - d6162b9f2e248ec452bad69592fb87ea
91
+ response:
92
+ status:
93
+ code: 302
94
+ message: Found
95
+ headers:
96
+ Location:
97
+ - http://localhost:8080/job/test_job/configure
98
+ Content-Length:
99
+ - '0'
100
+ Server:
101
+ - Jetty(8.y.z-SNAPSHOT)
102
+ body:
103
+ encoding: UTF-8
104
+ string: ''
105
+ http_version:
106
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
107
+ - request:
108
+ method: get
109
+ uri: http://localhost:8080/api/xml
110
+ body:
111
+ encoding: US-ASCII
112
+ string: ''
113
+ headers:
114
+ Accept-Encoding:
115
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
116
+ Accept:
117
+ - "*/*"
118
+ User-Agent:
119
+ - Ruby
120
+ Content-Type:
121
+ - text/xml
122
+ response:
123
+ status:
124
+ code: 200
125
+ message: OK
126
+ headers:
127
+ X-Jenkins:
128
+ - '1.583'
129
+ X-Jenkins-Session:
130
+ - 394516d7
131
+ Content-Type:
132
+ - application/xml;charset=UTF-8
133
+ Content-Length:
134
+ - '294'
135
+ Server:
136
+ - Jetty(8.y.z-SNAPSHOT)
137
+ body:
138
+ encoding: UTF-8
139
+ string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
140
+ master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test_job</name><url>http://localhost:8080/job/test_job/</url><color>notbuilt</color></job><overallLoad></overallLoad><primaryView><name>All</name><url>http://localhost:8080/</url></primaryView><quietingDown>false</quietingDown><slaveAgentPort>0</slaveAgentPort><unlabeledLoad></unlabeledLoad><useCrumbs>true</useCrumbs><useSecurity>false</useSecurity><view><name>All</name><url>http://localhost:8080/</url></view></hudson>"
141
+ http_version:
142
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
143
+ - request:
144
+ method: get
145
+ uri: http://localhost:8080/crumbIssuer/api/xml
146
+ body:
147
+ encoding: US-ASCII
148
+ string: ''
149
+ headers:
150
+ Accept-Encoding:
151
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
152
+ Accept:
153
+ - "*/*"
154
+ User-Agent:
155
+ - Ruby
156
+ Content-Type:
157
+ - text/xml
158
+ response:
159
+ status:
160
+ code: 200
161
+ message: OK
162
+ headers:
163
+ X-Jenkins:
164
+ - '1.583'
165
+ X-Jenkins-Session:
166
+ - 394516d7
167
+ Content-Type:
168
+ - application/xml;charset=UTF-8
169
+ Content-Length:
170
+ - '107'
171
+ Server:
172
+ - Jetty(8.y.z-SNAPSHOT)
173
+ body:
174
+ encoding: UTF-8
175
+ string: "<defaultCrumbIssuer><crumb>d6162b9f2e248ec452bad69592fb87ea</crumb><crumbRequestField>.crumb</crumbRequestField></defaultCrumbIssuer>"
176
+ http_version:
177
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
178
+ - request:
179
+ method: get
180
+ uri: http://localhost:8080/api/xml
181
+ body:
182
+ encoding: US-ASCII
183
+ string: ''
184
+ headers:
185
+ Accept-Encoding:
186
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
187
+ Accept:
188
+ - "*/*"
189
+ User-Agent:
190
+ - Ruby
191
+ Content-Type:
192
+ - text/xml
193
+ response:
194
+ status:
195
+ code: 200
196
+ message: OK
197
+ headers:
198
+ X-Jenkins:
199
+ - '1.583'
200
+ X-Jenkins-Session:
201
+ - 394516d7
202
+ Content-Type:
203
+ - application/xml;charset=UTF-8
204
+ Content-Length:
205
+ - '294'
206
+ Server:
207
+ - Jetty(8.y.z-SNAPSHOT)
208
+ body:
209
+ encoding: UTF-8
210
+ string: "<hudson><assignedLabel></assignedLabel><mode>NORMAL</mode><nodeDescription>the
211
+ master Jenkins node</nodeDescription><nodeName></nodeName><numExecutors>2</numExecutors><job><name>test_job</name><url>http://localhost:8080/job/test_job/</url><color>notbuilt</color></job><overallLoad></overallLoad><primaryView><name>All</name><url>http://localhost:8080/</url></primaryView><quietingDown>false</quietingDown><slaveAgentPort>0</slaveAgentPort><unlabeledLoad></unlabeledLoad><useCrumbs>true</useCrumbs><useSecurity>false</useSecurity><view><name>All</name><url>http://localhost:8080/</url></view></hudson>"
212
+ http_version:
213
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
214
+ - request:
215
+ method: get
216
+ uri: http://localhost:8080/job/test_job/config.xml
217
+ body:
218
+ encoding: US-ASCII
219
+ string: ''
220
+ headers:
221
+ Accept-Encoding:
222
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
223
+ Accept:
224
+ - "*/*"
225
+ User-Agent:
226
+ - Ruby
227
+ Content-Type:
228
+ - text/xml
229
+ response:
230
+ status:
231
+ code: 200
232
+ message: OK
233
+ headers:
234
+ Content-Type:
235
+ - application/xml
236
+ Content-Length:
237
+ - '468'
238
+ Server:
239
+ - Jetty(8.y.z-SNAPSHOT)
240
+ body:
241
+ encoding: UTF-8
242
+ string: |-
243
+ <?xml version='1.0' encoding='UTF-8'?>
244
+ <project>
245
+ <keepDependencies>false</keepDependencies>
246
+ <properties/>
247
+ <scm class="hudson.scm.NullSCM"/>
248
+ <canRoam>false</canRoam>
249
+ <disabled>false</disabled>
250
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
251
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
252
+ <triggers/>
253
+ <concurrentBuild>false</concurrentBuild>
254
+ <builders/>
255
+ <publishers/>
256
+ <buildWrappers/>
257
+ </project>
258
+ http_version:
259
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
260
+ - request:
261
+ method: get
262
+ uri: http://localhost:8080/job/test_job/api/xml
263
+ body:
264
+ encoding: US-ASCII
265
+ string: ''
266
+ headers:
267
+ Accept-Encoding:
268
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
269
+ Accept:
270
+ - "*/*"
271
+ User-Agent:
272
+ - Ruby
273
+ Content-Type:
274
+ - text/xml
275
+ response:
276
+ status:
277
+ code: 200
278
+ message: OK
279
+ headers:
280
+ X-Jenkins:
281
+ - '1.583'
282
+ X-Jenkins-Session:
283
+ - 394516d7
284
+ Content-Type:
285
+ - application/xml;charset=UTF-8
286
+ Content-Length:
287
+ - '194'
288
+ Server:
289
+ - Jetty(8.y.z-SNAPSHOT)
290
+ body:
291
+ encoding: UTF-8
292
+ string: "<freeStyleProject><displayName>test_job</displayName><name>test_job</name><url>http://localhost:8080/job/test_job/</url><buildable>true</buildable><color>notbuilt</color><inQueue>false</inQueue><keepDependencies>false</keepDependencies><nextBuildNumber>1</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
293
+ http_version:
294
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
295
+ - request:
296
+ method: get
297
+ uri: http://localhost:8080/job/test_job/config.xml
298
+ body:
299
+ encoding: US-ASCII
300
+ string: ''
301
+ headers:
302
+ Accept-Encoding:
303
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
304
+ Accept:
305
+ - "*/*"
306
+ User-Agent:
307
+ - Ruby
308
+ Content-Type:
309
+ - text/xml
310
+ response:
311
+ status:
312
+ code: 200
313
+ message: OK
314
+ headers:
315
+ Content-Type:
316
+ - application/xml
317
+ Content-Length:
318
+ - '468'
319
+ Server:
320
+ - Jetty(8.y.z-SNAPSHOT)
321
+ body:
322
+ encoding: UTF-8
323
+ string: |-
324
+ <?xml version='1.0' encoding='UTF-8'?>
325
+ <project>
326
+ <keepDependencies>false</keepDependencies>
327
+ <properties/>
328
+ <scm class="hudson.scm.NullSCM"/>
329
+ <canRoam>false</canRoam>
330
+ <disabled>false</disabled>
331
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
332
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
333
+ <triggers/>
334
+ <concurrentBuild>false</concurrentBuild>
335
+ <builders/>
336
+ <publishers/>
337
+ <buildWrappers/>
338
+ </project>
339
+ http_version:
340
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
341
+ - request:
342
+ method: get
343
+ uri: http://localhost:8080/job/test_job/api/xml
344
+ body:
345
+ encoding: US-ASCII
346
+ string: ''
347
+ headers:
348
+ Accept-Encoding:
349
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
350
+ Accept:
351
+ - "*/*"
352
+ User-Agent:
353
+ - Ruby
354
+ Content-Type:
355
+ - text/xml
356
+ response:
357
+ status:
358
+ code: 200
359
+ message: OK
360
+ headers:
361
+ X-Jenkins:
362
+ - '1.583'
363
+ X-Jenkins-Session:
364
+ - 394516d7
365
+ Content-Type:
366
+ - application/xml;charset=UTF-8
367
+ Content-Length:
368
+ - '194'
369
+ Server:
370
+ - Jetty(8.y.z-SNAPSHOT)
371
+ body:
372
+ encoding: UTF-8
373
+ string: "<freeStyleProject><displayName>test_job</displayName><name>test_job</name><url>http://localhost:8080/job/test_job/</url><buildable>true</buildable><color>notbuilt</color><inQueue>false</inQueue><keepDependencies>false</keepDependencies><nextBuildNumber>1</nextBuildNumber><concurrentBuild>false</concurrentBuild><scm></scm></freeStyleProject>"
374
+ http_version:
375
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
376
+ - request:
377
+ method: post
378
+ uri: http://localhost:8080/job/test_job/build
379
+ body:
380
+ encoding: US-ASCII
381
+ string: delay=0sec
382
+ headers:
383
+ Accept-Encoding:
384
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
385
+ Accept:
386
+ - "*/*"
387
+ User-Agent:
388
+ - Ruby
389
+ Content-Type:
390
+ - application/x-www-form-urlencoded
391
+ ".crumb":
392
+ - d6162b9f2e248ec452bad69592fb87ea
393
+ response:
394
+ status:
395
+ code: 201
396
+ message: Created
397
+ headers:
398
+ Location:
399
+ - http://localhost:8080/queue/item/6/
400
+ Content-Length:
401
+ - '0'
402
+ Server:
403
+ - Jetty(8.y.z-SNAPSHOT)
404
+ body:
405
+ encoding: UTF-8
406
+ string: ''
407
+ http_version:
408
+ recorded_at: Fri, 07 Nov 2014 06:42:52 GMT
409
+ recorded_with: VCR 2.9.3