hawkular-client 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +2 -1
  4. data/.rubocop.yml +19 -6
  5. data/CHANGES.rdoc +13 -3
  6. data/README.rdoc +9 -3
  7. data/hawkularclient.gemspec +8 -4
  8. data/lib/alerts/alerts_api.rb +202 -32
  9. data/lib/hawkular.rb +35 -67
  10. data/lib/hawkular_all.rb +2 -0
  11. data/lib/inventory/inventory_api.rb +459 -130
  12. data/lib/metrics/metric_api.rb +14 -9
  13. data/lib/operations/operations_api.rb +247 -0
  14. data/lib/tokens/tokens_api.rb +33 -0
  15. data/lib/version.rb +1 -1
  16. data/spec/integration/alerts_spec.rb +272 -20
  17. data/spec/integration/hello-world-definitions.json +46 -0
  18. data/spec/integration/inventory_spec.rb +253 -89
  19. data/spec/integration/metric_spec.rb +36 -0
  20. data/spec/integration/operations_spec.rb +420 -0
  21. data/spec/integration/tokens_spec.rb +45 -0
  22. data/spec/resources/driver.jar +0 -0
  23. data/spec/resources/sample.war +0 -0
  24. data/spec/spec_helper.rb +30 -6
  25. data/spec/unit/base_spec.rb +22 -1
  26. data/spec/unit/canonical_path_spec.rb +92 -0
  27. data/spec/vcr/vcr_setup.rb +3 -4
  28. data/spec/vcr_cassettes/Alert/EndToEnd/Should_create_and_fire_a_trigger.yml +1187 -0
  29. data/spec/vcr_cassettes/Alert/Events/Should_list_events.yml +101 -0
  30. data/spec/vcr_cassettes/Alert/Events/Should_list_events_using_criteria.yml +79 -0
  31. data/spec/vcr_cassettes/Alert/Events/Should_not_list_events_using_criteria.yml +49 -0
  32. data/spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml +225 -0
  33. data/spec/vcr_cassettes/Alert/Triggers/Should_create_a_basic_trigger_with_action.yml +355 -0
  34. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml +134 -0
  35. data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml +220 -0
  36. data/spec/vcr_cassettes/Alert/Triggers/Should_get_the_action_definitions.yml +218 -0
  37. data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_plugin.yml +46 -0
  38. data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_properties.yml +134 -0
  39. data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +270 -0
  40. data/spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.json +47 -0
  41. data/spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.yml +191 -0
  42. data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +507 -0
  43. data/spec/vcr_cassettes/Inventory/Should_List_datasources_with_no_props.yml +74 -69
  44. data/spec/vcr_cassettes/Inventory/{Should_list_types_without_feed.yml → Should_create_a_feed.yml} +29 -32
  45. data/spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml +211 -0
  46. data/spec/vcr_cassettes/Inventory/Should_create_a_resource_.yml +355 -0
  47. data/spec/vcr_cassettes/Inventory/Should_create_a_resource_with_metric.yml +786 -0
  48. data/spec/vcr_cassettes/Inventory/Should_create_a_resourcetype.yml +205 -0
  49. data/spec/vcr_cassettes/Inventory/Should_create_and_delete_feed.yml +201 -0
  50. data/spec/vcr_cassettes/Inventory/Should_create_and_get_a_resource.yml +419 -0
  51. data/spec/vcr_cassettes/Inventory/Should_list_URLs.yml +39 -27
  52. data/spec/vcr_cassettes/Inventory/Should_list_WildFlys.yml +37 -29
  53. data/spec/vcr_cassettes/Inventory/Should_list_WildFlys_with_props.yml +53 -45
  54. data/spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml +177 -0
  55. data/spec/vcr_cassettes/Inventory/Should_list_children_of_WildFly.yml +230 -56
  56. data/spec/vcr_cassettes/Inventory/Should_list_feeds.yml +27 -24
  57. data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +586 -119
  58. data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +220 -59
  59. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_metric_type.yml +613 -0
  60. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_resource_type.yml +333 -0
  61. data/spec/vcr_cassettes/Inventory/Should_list_recursive_children_of_WildFly.yml +2064 -0
  62. data/spec/vcr_cassettes/Inventory/Should_list_relationships_of_WildFly.yml +460 -0
  63. data/spec/vcr_cassettes/Inventory/Should_list_types_with_bad_feed.yml +26 -25
  64. data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +102 -36
  65. data/spec/vcr_cassettes/Inventory/Should_not_find_an_unknown_resource.yml +54 -0
  66. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
  67. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
  68. data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +50 -0
  69. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +26 -0
  70. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +26 -0
  71. data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +26 -0
  72. data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +40 -0
  73. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  74. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +26 -0
  75. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +26 -0
  76. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +26 -0
  77. data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +26 -0
  78. data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  79. data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
  80. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +9 -0
  81. data/spec/vcr_cassettes/Tokens/Should_be_able_to_create_a_new_token_for_an_actual_user.yml +57 -0
  82. data/spec/vcr_cassettes/Tokens/Should_be_able_to_list_the_available_tokens.yml +49 -0
  83. data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_with_a_wrong_password.yml +56 -0
  84. data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_without_a_password.yml +55 -0
  85. metadata +175 -11
  86. data/lib/metrics/version.rb +0 -7
@@ -0,0 +1,355 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/plugins/email
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/10
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Mon, 14 Mar 2016 10:49:44 GMT
35
+ Connection:
36
+ - keep-alive
37
+ Content-Type:
38
+ - application/json
39
+ Content-Length:
40
+ - '87'
41
+ body:
42
+ encoding: ASCII-8BIT
43
+ string: '["cc","from","from-name","template.hawkular.url","template.html","template.plain","to"]'
44
+ http_version:
45
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
46
+ - request:
47
+ method: post
48
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"actionId":"send-via-email","actionPlugin":"email","properties":{"notify-to-admins":"joe@acme.org"}}'
52
+ headers:
53
+ Accept:
54
+ - application/json
55
+ Accept-Encoding:
56
+ - gzip, deflate
57
+ Content-Type:
58
+ - application/json
59
+ Content-Length:
60
+ - '101'
61
+ User-Agent:
62
+ - Ruby
63
+ response:
64
+ status:
65
+ code: 200
66
+ message: OK
67
+ headers:
68
+ Expires:
69
+ - '0'
70
+ Cache-Control:
71
+ - no-cache, no-store, must-revalidate
72
+ X-Powered-By:
73
+ - Undertow/1
74
+ Server:
75
+ - WildFly/10
76
+ Pragma:
77
+ - no-cache
78
+ Date:
79
+ - Mon, 14 Mar 2016 10:49:44 GMT
80
+ Connection:
81
+ - keep-alive
82
+ Content-Type:
83
+ - application/json
84
+ Content-Length:
85
+ - '151'
86
+ body:
87
+ encoding: ASCII-8BIT
88
+ string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email","properties":{"notify-to-admins":"joe@acme.org"}}'
89
+ http_version:
90
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
91
+ - request:
92
+ method: post
93
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/trigger
94
+ body:
95
+ encoding: UTF-8
96
+ string: '{"trigger":{"id":"my-cool-trigger","name":"Just a trigger","enabled":true,"severity":"HIGH","description":"Just
97
+ a test trigger","actions":[{"actionPlugin":"email","actionId":"send-via-email","tenantId":null,"states":null}]},"conditions":[{"conditionId":null,"type":"THRESHOLD","operator":"LT","threshold":5,"triggerMode":"FIRING","dataId":"my-metric-id","triggerId":null}],"dampenings":[]}'
98
+ headers:
99
+ Accept:
100
+ - application/json
101
+ Accept-Encoding:
102
+ - gzip, deflate
103
+ Content-Type:
104
+ - application/json
105
+ Content-Length:
106
+ - '389'
107
+ User-Agent:
108
+ - Ruby
109
+ response:
110
+ status:
111
+ code: 200
112
+ message: OK
113
+ headers:
114
+ Expires:
115
+ - '0'
116
+ Cache-Control:
117
+ - no-cache, no-store, must-revalidate
118
+ X-Powered-By:
119
+ - Undertow/1
120
+ Server:
121
+ - WildFly/10
122
+ Pragma:
123
+ - no-cache
124
+ Date:
125
+ - Mon, 14 Mar 2016 10:49:44 GMT
126
+ Connection:
127
+ - keep-alive
128
+ Content-Type:
129
+ - application/json
130
+ Content-Length:
131
+ - '835'
132
+ body:
133
+ encoding: ASCII-8BIT
134
+ string: '{"trigger":{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-trigger","name":"Just
135
+ a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"},"conditions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-trigger-FIRING-1-1","dataId":"my-metric-id","operator":"LT","threshold":5.0}]}'
136
+ http_version:
137
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
138
+ - request:
139
+ method: get
140
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-trigger
141
+ body:
142
+ encoding: US-ASCII
143
+ string: ''
144
+ headers:
145
+ Accept:
146
+ - application/json
147
+ Accept-Encoding:
148
+ - gzip, deflate
149
+ Content-Type:
150
+ - application/json
151
+ User-Agent:
152
+ - Ruby
153
+ response:
154
+ status:
155
+ code: 200
156
+ message: OK
157
+ headers:
158
+ Expires:
159
+ - '0'
160
+ Cache-Control:
161
+ - no-cache, no-store, must-revalidate
162
+ X-Powered-By:
163
+ - Undertow/1
164
+ Server:
165
+ - WildFly/10
166
+ Pragma:
167
+ - no-cache
168
+ Date:
169
+ - Mon, 14 Mar 2016 10:49:44 GMT
170
+ Connection:
171
+ - keep-alive
172
+ Content-Type:
173
+ - application/json
174
+ Content-Length:
175
+ - '505'
176
+ body:
177
+ encoding: ASCII-8BIT
178
+ string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","id":"my-cool-trigger","name":"Just
179
+ a trigger","description":"Just a test trigger","type":"STANDARD","eventType":"ALERT","eventCategory":null,"eventText":null,"severity":"HIGH","actions":[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"send-via-email"}],"autoDisable":false,"autoEnable":false,"autoResolve":false,"autoResolveAlerts":true,"autoResolveMatch":"ALL","enabled":true,"firingMatch":"ALL","source":"_none_"}'
180
+ http_version:
181
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
182
+ - request:
183
+ method: get
184
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-trigger/conditions
185
+ body:
186
+ encoding: US-ASCII
187
+ string: ''
188
+ headers:
189
+ Accept:
190
+ - application/json
191
+ Accept-Encoding:
192
+ - gzip, deflate
193
+ Content-Type:
194
+ - application/json
195
+ User-Agent:
196
+ - Ruby
197
+ response:
198
+ status:
199
+ code: 200
200
+ message: OK
201
+ headers:
202
+ Expires:
203
+ - '0'
204
+ Cache-Control:
205
+ - no-cache, no-store, must-revalidate
206
+ X-Powered-By:
207
+ - Undertow/1
208
+ Server:
209
+ - WildFly/10
210
+ Pragma:
211
+ - no-cache
212
+ Date:
213
+ - Mon, 14 Mar 2016 10:49:44 GMT
214
+ Connection:
215
+ - keep-alive
216
+ Content-Type:
217
+ - application/json
218
+ Content-Length:
219
+ - '304'
220
+ body:
221
+ encoding: ASCII-8BIT
222
+ string: '[{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","triggerId":"my-cool-trigger","triggerMode":"FIRING","type":"THRESHOLD","conditionSetSize":1,"conditionSetIndex":1,"conditionId":"28026b36-8fe4-4332-84c8-524e173a68bf-my-cool-trigger-FIRING-1-1","dataId":"my-metric-id","operator":"LT","threshold":5.0}]'
223
+ http_version:
224
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
225
+ - request:
226
+ method: get
227
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-trigger/dampenings
228
+ body:
229
+ encoding: US-ASCII
230
+ string: ''
231
+ headers:
232
+ Accept:
233
+ - application/json
234
+ Accept-Encoding:
235
+ - gzip, deflate
236
+ Content-Type:
237
+ - application/json
238
+ User-Agent:
239
+ - Ruby
240
+ response:
241
+ status:
242
+ code: 200
243
+ message: OK
244
+ headers:
245
+ Expires:
246
+ - '0'
247
+ Cache-Control:
248
+ - no-cache, no-store, must-revalidate
249
+ X-Powered-By:
250
+ - Undertow/1
251
+ Server:
252
+ - WildFly/10
253
+ Pragma:
254
+ - no-cache
255
+ Date:
256
+ - Mon, 14 Mar 2016 10:49:44 GMT
257
+ Connection:
258
+ - keep-alive
259
+ Content-Type:
260
+ - application/json
261
+ Content-Length:
262
+ - '2'
263
+ body:
264
+ encoding: ASCII-8BIT
265
+ string: '[]'
266
+ http_version:
267
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
268
+ - request:
269
+ method: delete
270
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/triggers/my-cool-trigger
271
+ body:
272
+ encoding: US-ASCII
273
+ string: ''
274
+ headers:
275
+ Accept:
276
+ - application/json
277
+ Accept-Encoding:
278
+ - gzip, deflate
279
+ Content-Type:
280
+ - application/json
281
+ User-Agent:
282
+ - Ruby
283
+ response:
284
+ status:
285
+ code: 200
286
+ message: OK
287
+ headers:
288
+ Expires:
289
+ - '0'
290
+ Cache-Control:
291
+ - no-cache, no-store, must-revalidate
292
+ X-Powered-By:
293
+ - Undertow/1
294
+ Server:
295
+ - WildFly/10
296
+ Pragma:
297
+ - no-cache
298
+ Date:
299
+ - Mon, 14 Mar 2016 10:49:44 GMT
300
+ Connection:
301
+ - keep-alive
302
+ Content-Type:
303
+ - application/json
304
+ Content-Length:
305
+ - '0'
306
+ body:
307
+ encoding: UTF-8
308
+ string: ''
309
+ http_version:
310
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
311
+ - request:
312
+ method: delete
313
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions/send-via-email/email
314
+ body:
315
+ encoding: US-ASCII
316
+ string: ''
317
+ headers:
318
+ Accept:
319
+ - application/json
320
+ Accept-Encoding:
321
+ - gzip, deflate
322
+ Content-Type:
323
+ - application/json
324
+ User-Agent:
325
+ - Ruby
326
+ response:
327
+ status:
328
+ code: 404
329
+ message: Not Found
330
+ headers:
331
+ Expires:
332
+ - '0'
333
+ Cache-Control:
334
+ - no-cache, no-store, must-revalidate
335
+ X-Powered-By:
336
+ - Undertow/1
337
+ Server:
338
+ - WildFly/10
339
+ Pragma:
340
+ - no-cache
341
+ Date:
342
+ - Mon, 14 Mar 2016 10:49:44 GMT
343
+ Connection:
344
+ - keep-alive
345
+ Content-Type:
346
+ - application/json
347
+ Content-Length:
348
+ - '80'
349
+ body:
350
+ encoding: ASCII-8BIT
351
+ string: '{"errorMsg":"ActionPlugin: send-via-email ActionId: email not found
352
+ for delete"}'
353
+ http_version:
354
+ recorded_at: Mon, 14 Mar 2016 10:49:44 GMT
355
+ recorded_with: VCR 3.0.0
@@ -0,0 +1,134 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/plugins/email
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Type:
15
+ - application/json
16
+ User-Agent:
17
+ - Ruby
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Expires:
24
+ - '0'
25
+ Cache-Control:
26
+ - no-cache, no-store, must-revalidate
27
+ X-Powered-By:
28
+ - Undertow/1
29
+ Server:
30
+ - WildFly/10
31
+ Pragma:
32
+ - no-cache
33
+ Date:
34
+ - Mon, 14 Mar 2016 10:36:21 GMT
35
+ Connection:
36
+ - keep-alive
37
+ Content-Type:
38
+ - application/json
39
+ Content-Length:
40
+ - '87'
41
+ body:
42
+ encoding: ASCII-8BIT
43
+ string: '["cc","from","from-name","template.hawkular.url","template.html","template.plain","to"]'
44
+ http_version:
45
+ recorded_at: Mon, 14 Mar 2016 10:36:21 GMT
46
+ - request:
47
+ method: post
48
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"actionId":"my-id1","actionPlugin":"email","properties":{"notify-to-admins":"joe@acme.org"}}'
52
+ headers:
53
+ Accept:
54
+ - application/json
55
+ Accept-Encoding:
56
+ - gzip, deflate
57
+ Content-Type:
58
+ - application/json
59
+ Content-Length:
60
+ - '93'
61
+ User-Agent:
62
+ - Ruby
63
+ response:
64
+ status:
65
+ code: 200
66
+ message: OK
67
+ headers:
68
+ Expires:
69
+ - '0'
70
+ Cache-Control:
71
+ - no-cache, no-store, must-revalidate
72
+ X-Powered-By:
73
+ - Undertow/1
74
+ Server:
75
+ - WildFly/10
76
+ Pragma:
77
+ - no-cache
78
+ Date:
79
+ - Mon, 14 Mar 2016 10:36:21 GMT
80
+ Connection:
81
+ - keep-alive
82
+ Content-Type:
83
+ - application/json
84
+ Content-Length:
85
+ - '143'
86
+ body:
87
+ encoding: ASCII-8BIT
88
+ string: '{"tenantId":"28026b36-8fe4-4332-84c8-524e173a68bf","actionPlugin":"email","actionId":"my-id1","properties":{"notify-to-admins":"joe@acme.org"}}'
89
+ http_version:
90
+ recorded_at: Mon, 14 Mar 2016 10:36:21 GMT
91
+ - request:
92
+ method: delete
93
+ uri: http://jdoe:password@localhost:8080/hawkular/alerts/actions/email/my-id1
94
+ body:
95
+ encoding: US-ASCII
96
+ string: ''
97
+ headers:
98
+ Accept:
99
+ - application/json
100
+ Accept-Encoding:
101
+ - gzip, deflate
102
+ Content-Type:
103
+ - application/json
104
+ User-Agent:
105
+ - Ruby
106
+ response:
107
+ status:
108
+ code: 200
109
+ message: OK
110
+ headers:
111
+ Expires:
112
+ - '0'
113
+ Cache-Control:
114
+ - no-cache, no-store, must-revalidate
115
+ X-Powered-By:
116
+ - Undertow/1
117
+ Server:
118
+ - WildFly/10
119
+ Pragma:
120
+ - no-cache
121
+ Date:
122
+ - Mon, 14 Mar 2016 10:36:21 GMT
123
+ Connection:
124
+ - keep-alive
125
+ Content-Type:
126
+ - application/json
127
+ Content-Length:
128
+ - '0'
129
+ body:
130
+ encoding: UTF-8
131
+ string: ''
132
+ http_version:
133
+ recorded_at: Mon, 14 Mar 2016 10:36:21 GMT
134
+ recorded_with: VCR 3.0.0