hawkular-client 0.2.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +3 -0
  3. data/.yardopts +1 -0
  4. data/CHANGES.rdoc +17 -4
  5. data/README.rdoc +15 -6
  6. data/api_breaking_changes.rdoc +79 -0
  7. data/hawkularclient.gemspec +6 -5
  8. data/lib/{alerts → hawkular/alerts}/alerts_api.rb +168 -7
  9. data/lib/{hawkular.rb → hawkular/base_client.rb} +7 -44
  10. data/lib/hawkular/hawkular_client.rb +60 -0
  11. data/lib/hawkular/hawkular_client_utils.rb +40 -0
  12. data/lib/{inventory → hawkular/inventory}/inventory_api.rb +167 -142
  13. data/lib/{metrics → hawkular/metrics}/metric_api.rb +1 -0
  14. data/lib/{metrics → hawkular/metrics}/metrics_client.rb +4 -4
  15. data/lib/{metrics → hawkular/metrics}/tenant_api.rb +0 -0
  16. data/lib/{metrics → hawkular/metrics}/types.rb +0 -0
  17. data/lib/{operations → hawkular/operations}/operations_api.rb +11 -8
  18. data/lib/{tokens → hawkular/tokens}/tokens_api.rb +1 -1
  19. data/lib/{version.rb → hawkular/version.rb} +1 -1
  20. data/spec/integration/alerts_spec.rb +200 -0
  21. data/spec/integration/hawkular_client_spec.rb +228 -0
  22. data/spec/integration/inventory_spec.rb +246 -160
  23. data/spec/integration/metric_spec.rb +52 -59
  24. data/spec/integration/operations_spec.rb +53 -29
  25. data/spec/spec_helper.rb +109 -8
  26. data/spec/unit/base_spec.rb +9 -0
  27. data/spec/unit/canonical_path_spec.rb +2 -2
  28. data/spec/vcr/vcr_setup.rb +6 -0
  29. data/spec/vcr_cassettes/Alert/Events/Should_create_an_event.yml +50 -0
  30. data/spec/vcr_cassettes/Alert/Groups/Should_operate_a_complex_group_trigger.yml +1726 -0
  31. data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_as_bucketed_results.yml +190 -0
  32. data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +30 -42
  33. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_both_create_and_delete_feed.yml +287 -0
  34. data/spec/vcr_cassettes/{Inventory/Should_list_URLs.yml → HawkularClient/and_Inventory_client/Should_both_list_WildFlys.yml} +35 -33
  35. data/spec/vcr_cassettes/{Inventory/Should_list_types_with_bad_feed.yml → HawkularClient/and_Inventory_client/Should_both_list_types_with_bad_feed.yml} +16 -19
  36. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_same_types_when_param_is_given.yml +245 -0
  37. data/spec/vcr_cassettes/{Inventory/Should_list_feeds.yml → HawkularClient/and_Inventory_client/Should_list_the_same_feeds.yml} +20 -20
  38. data/spec/vcr_cassettes/HawkularClient/and_Inventory_client/Should_list_the_same_resource_types.yml +249 -0
  39. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_retrieve_tags_for_Availability.yml +155 -0
  40. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_create_and_return_Availability_using_Hash_parameter.yml +155 -0
  41. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_return_the_version.yml +89 -0
  42. data/spec/vcr_cassettes/HawkularClient/and_Metrics_client/Should_both_work_the_same_way_when_pushing_metric_data_to_non-existing_counter.yml +114 -0
  43. data/spec/vcr_cassettes/{Inventory/Should_list_WildFlys_with_props.yml → HawkularClient/and_Operations_client/Should_both_work_the_same_way.yml} +28 -50
  44. data/spec/vcr_cassettes/HawkularClient/and_Operations_client_Should_both_work_the_same_way.json +44 -0
  45. data/spec/vcr_cassettes/Inventory/Helpers/create_url.yml +48 -0
  46. data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +4446 -0
  47. data/spec/vcr_cassettes/Inventory/Helpers/get_feeds.yml +54 -0
  48. data/spec/vcr_cassettes/Inventory/Templates/Client_should_listen_on_various_inventory_events.json +47 -0
  49. data/spec/vcr_cassettes/Inventory/{Should_create_a_resourcetype.yml → Templates/Client_should_listen_on_various_inventory_events.yml} +47 -61
  50. data/spec/vcr_cassettes/Inventory/Templates/Helpers/generate_some_events_for_websocket.yml +542 -0
  51. data/spec/vcr_cassettes/Inventory/{Should_List_datasources_with_no_props.yml → Templates/Should_List_datasources_with_no_props.yml} +26 -85
  52. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed.yml +54 -0
  53. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_feed_again.yml +164 -0
  54. data/spec/vcr_cassettes/Inventory/{Should_create_a_nested_resource_and_metric_on_it.yml → Templates/Should_create_a_nested_resource_and_metric_on_it.yml} +93 -74
  55. data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_.yml → Templates/Should_create_a_resource.yml} +103 -76
  56. data/spec/vcr_cassettes/Inventory/{Should_create_a_resource_with_metric.yml → Templates/Should_create_a_resource_with_metric.yml} +91 -197
  57. data/spec/vcr_cassettes/Inventory/Templates/Should_create_a_resourcetype.yml +154 -0
  58. data/spec/vcr_cassettes/Inventory/Templates/Should_create_and_delete_feed.yml +145 -0
  59. data/spec/vcr_cassettes/Inventory/{Should_create_and_get_a_resource.yml → Templates/Should_create_and_get_a_resource.yml} +35 -20
  60. data/spec/vcr_cassettes/Inventory/Templates/Should_list_URLs.yml +65 -0
  61. data/spec/vcr_cassettes/Inventory/Templates/Should_list_WildFlys.yml +61 -0
  62. data/spec/vcr_cassettes/Inventory/{Should_list_WildFlys.yml → Templates/Should_list_WildFlys_with_props.yml} +36 -33
  63. data/spec/vcr_cassettes/Inventory/Templates/Should_list_all_the_resource_types.yml +126 -0
  64. data/spec/vcr_cassettes/Inventory/{Should_list_children_of_WildFly.yml → Templates/Should_list_children_of_WildFly.yml} +66 -112
  65. data/spec/vcr_cassettes/Inventory/{Should_list_children_of_nested_resource.yml → Templates/Should_list_children_of_nested_resource.yml} +13 -13
  66. data/spec/vcr_cassettes/Inventory/Templates/Should_list_feeds.yml +54 -0
  67. data/spec/vcr_cassettes/Inventory/Templates/Should_list_heap_metrics_for_WildFlys.yml +712 -0
  68. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_for_WildFlys.yml +278 -0
  69. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_metric_type.yml +530 -0
  70. data/spec/vcr_cassettes/Inventory/Templates/Should_list_metrics_of_given_resource_type.yml +278 -0
  71. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource.yml +185 -0
  72. data/spec/vcr_cassettes/Inventory/Templates/Should_list_operation_definitions_of_given_resource_type.yml +126 -0
  73. data/spec/vcr_cassettes/Inventory/Templates/Should_list_recursive_children_of_WildFly.yml +2369 -0
  74. data/spec/vcr_cassettes/Inventory/Templates/Should_list_relationships_of_WildFly.yml +415 -0
  75. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_bad_feed.yml +51 -0
  76. data/spec/vcr_cassettes/Inventory/Templates/Should_list_types_with_feed.yml +124 -0
  77. data/spec/vcr_cassettes/Inventory/{Should_not_find_an_unknown_resource.yml → Templates/Should_not_find_an_unknown_resource.yml} +14 -13
  78. data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_nested_resource.yml → Templates/Should_return_config_data_of_given_nested_resource.yml} +4 -4
  79. data/spec/vcr_cassettes/Inventory/{Should_return_config_data_of_given_resource.yml → Templates/Should_return_config_data_of_given_resource.yml} +4 -4
  80. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
  81. data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
  82. data/spec/vcr_cassettes/Operation/Helpers/get_feed.yml +54 -0
  83. data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +50 -0
  84. data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +26 -0
  85. data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +26 -0
  86. data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +26 -0
  87. data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +40 -0
  88. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  89. data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +26 -0
  90. data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +26 -0
  91. data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +26 -0
  92. data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +26 -0
  93. data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
  94. data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
  95. data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +9 -0
  96. metadata +171 -72
  97. data/lib/hawkular_all.rb +0 -9
  98. data/spec/vcr_cassettes/Inventory/Should_create_a_feed.yml +0 -107
  99. data/spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml +0 -211
  100. data/spec/vcr_cassettes/Inventory/Should_create_and_delete_feed.yml +0 -201
  101. data/spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml +0 -177
  102. data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +0 -775
  103. data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +0 -333
  104. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_metric_type.yml +0 -613
  105. data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_resource_type.yml +0 -333
  106. data/spec/vcr_cassettes/Inventory/Should_list_recursive_children_of_WildFly.yml +0 -2064
  107. data/spec/vcr_cassettes/Inventory/Should_list_relationships_of_WildFly.yml +0 -460
  108. data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +0 -175
data/lib/hawkular_all.rb DELETED
@@ -1,9 +0,0 @@
1
- require 'inventory/inventory_api'
2
- require 'metrics/metrics_client.rb'
3
- require 'alerts/alerts_api'
4
- require 'tokens/tokens_api'
5
- require 'operations/operations_api'
6
- require 'hawkular'
7
-
8
- module Hawkular
9
- end
@@ -1,107 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
6
- body:
7
- encoding: UTF-8
8
- string: '{"id":"feed_1123sdncisud6237ui23hjbdscuzsad","name":null}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- Content-Length:
17
- - '57'
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 409
23
- message: Conflict
24
- headers:
25
- Content-Encoding:
26
- - gzip
27
- Expires:
28
- - '0'
29
- Cache-Control:
30
- - no-cache, no-store, must-revalidate
31
- X-Powered-By:
32
- - Undertow/1
33
- Server:
34
- - WildFly/10
35
- Pragma:
36
- - no-cache
37
- Date:
38
- - Mon, 15 Feb 2016 09:08:19 GMT
39
- Connection:
40
- - keep-alive
41
- Content-Type:
42
- - application/json
43
- Content-Length:
44
- - '391'
45
- body:
46
- encoding: ASCII-8BIT
47
- string: !binary |-
48
- H4sIAAAAAAAAAJWRP2/CMBDFdz7FKUuWEEpCIQIxVVRiaCtROkVR5eALcRvs
49
- yHZKU8R3r53wZ2hVpfLis+5+vvfeoQfgoJRCPqitA1Nw7hEp7JnOgVFwbRWX
50
- ROdzd6BnQXQTjNNw3I8yHPVHYRj0o9Em6t8GIxxOQjKO0myQzTIz9DocBqGi
51
- fMNURcdBOKlYEOZvKVWb6ksR6iYu5ERBisiBFBIJrUHilimNEqkPC66Zrq+b
52
- dIJeSPhpQAqIBiV2CCIDnSOUQjHNBFdTiON1XaKK18gJ14kHS6riLvpM6woL
53
- oo0vnlm4mLsbwTVhXLmmFgXOn59eVncL09f+YC088btoSJLE8WwqFA21UDaU
54
- g6ltTo0lS9rk1IXVgMygDbABxea0MPOq7XrtqyPk1s/J/r0qiPQZ/zBfCVn7
55
- pGT+TlAs/NYnB5Jm+uhdMYyeIV3s+40grZ82lpyVj2SHjb6zqycNF/krY3HT
56
- 0Nrs/KD9S5YN529RnXw+EyBpbsfe8RvfIvsFWQMAAA==
57
- http_version:
58
- recorded_at: Mon, 15 Feb 2016 09:08:19 GMT
59
- - request:
60
- method: get
61
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui23hjbdscuzsad
62
- body:
63
- encoding: US-ASCII
64
- string: ''
65
- headers:
66
- Accept:
67
- - application/json
68
- Accept-Encoding:
69
- - gzip, deflate
70
- Content-Type:
71
- - application/json
72
- User-Agent:
73
- - Ruby
74
- response:
75
- status:
76
- code: 200
77
- message: OK
78
- headers:
79
- Content-Encoding:
80
- - gzip
81
- Expires:
82
- - '0'
83
- Cache-Control:
84
- - no-cache, no-store, must-revalidate
85
- X-Powered-By:
86
- - Undertow/1
87
- Server:
88
- - WildFly/10
89
- Pragma:
90
- - no-cache
91
- Date:
92
- - Mon, 15 Feb 2016 09:08:19 GMT
93
- Connection:
94
- - keep-alive
95
- Content-Type:
96
- - application/json
97
- Content-Length:
98
- - '121'
99
- body:
100
- encoding: ASCII-8BIT
101
- string: !binary |-
102
- H4sIAAAAAAAAAI3MQQ6DIBAAwDuvIJxLlF0KG32MARYiPTQmyEXj3019QR8w
103
- cwop1Rb2VclJqmGfgUZwEZ2mkq22iKDJJtJvsNl4DI5iGcpccubFGMDG31Rb
104
- ZwfoewVcP5Fb6kcLrF6/vPJT/wXEdQMOauIckAAAAA==
105
- http_version:
106
- recorded_at: Mon, 15 Feb 2016 09:08:19 GMT
107
- recorded_with: VCR 3.0.0
@@ -1,211 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
6
- body:
7
- encoding: UTF-8
8
- string: '{"id":"feed_1123sdncisud6237ui2378789vvgX","name":null}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- Content-Length:
17
- - '55'
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 409
23
- message: Conflict
24
- headers:
25
- Content-Encoding:
26
- - gzip
27
- Expires:
28
- - '0'
29
- Cache-Control:
30
- - no-cache, no-store, must-revalidate
31
- X-Powered-By:
32
- - Undertow/1
33
- Server:
34
- - WildFly/10
35
- Pragma:
36
- - no-cache
37
- Date:
38
- - Mon, 15 Feb 2016 09:08:19 GMT
39
- Connection:
40
- - keep-alive
41
- Content-Type:
42
- - application/json
43
- Content-Length:
44
- - '391'
45
- body:
46
- encoding: ASCII-8BIT
47
- string: !binary |-
48
- H4sIAAAAAAAAAJWRX2vCMBTF3/0Ul770pa2z7bRTfBoOfNgGboNBKSOa2zas
49
- JiWJOhG/+5LWPw8b01EIveHeX+45Z9cBcFBKIR9V4cAQnAdEChumS2AUXFul
50
- NdHl2O3qUZjchP151PeTHGM/jqLQT+JF4t+GMfYGEekn87ybj3Iz9NHrhZGi
51
- fMHUivbDaLBi5kgGyd16Xby7mQslUTBH5EAqiYRuQWLBlEaJNIAJ10xvz3tc
52
- gTxx8MtgFBANSiwRRA66RKiFYpoJroaQpq/bGlX6ipxwnXkwpSq9RptpnWFF
53
- tPHEM+tWY3chuCaMK9fUosLxy/Pb7H5i+toXrH0H/mUFWZY5ns2DomFWysax
54
- M7VNqLFjSpuELpMajBmzwTWY1Hwtytxqu1p76whZBCXZfK4qIgPG1+YhIbcB
55
- qVmwFBSroPXIgayZ3ntnDKNHyDXW/UaQ1ksbScnqJ7LERt3R0YOGk/iZsbdp
56
- aC12ftD+JcsG87eoK1w+zkPW/O07+2/wq+msTwMAAA==
57
- http_version:
58
- recorded_at: Mon, 15 Feb 2016 09:08:19 GMT
59
- - request:
60
- method: get
61
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui2378789vvgX
62
- body:
63
- encoding: US-ASCII
64
- string: ''
65
- headers:
66
- Accept:
67
- - application/json
68
- Accept-Encoding:
69
- - gzip, deflate
70
- Content-Type:
71
- - application/json
72
- User-Agent:
73
- - Ruby
74
- response:
75
- status:
76
- code: 200
77
- message: OK
78
- headers:
79
- Content-Encoding:
80
- - gzip
81
- Expires:
82
- - '0'
83
- Cache-Control:
84
- - no-cache, no-store, must-revalidate
85
- X-Powered-By:
86
- - Undertow/1
87
- Server:
88
- - WildFly/10
89
- Pragma:
90
- - no-cache
91
- Date:
92
- - Mon, 15 Feb 2016 09:08:19 GMT
93
- Connection:
94
- - keep-alive
95
- Content-Type:
96
- - application/json
97
- Content-Length:
98
- - '120'
99
- body:
100
- encoding: ASCII-8BIT
101
- string: !binary |-
102
- H4sIAAAAAAAAAI3MOQ6AIBBA0d5TEGqJMoMw6kXsDAgojTFxaYx3dzmBza9+
103
- 3pkxxhe7TZw1jBdbC1SCdqgFxaCEQgRBaiBRgQrSoNXkYhHbGILvpQRc/Tyk
104
- dfca0OzpCRmqj2PseP7SyX/wjz27bkwNEceMAAAA
105
- http_version:
106
- recorded_at: Mon, 15 Feb 2016 09:08:19 GMT
107
- - request:
108
- method: post
109
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
110
- body:
111
- encoding: UTF-8
112
- string: '{"id":"feed_1123sdncisud6237ui2378789vvgX","name":null}'
113
- headers:
114
- Accept:
115
- - application/json
116
- Accept-Encoding:
117
- - gzip, deflate
118
- Content-Type:
119
- - application/json
120
- Content-Length:
121
- - '55'
122
- User-Agent:
123
- - Ruby
124
- response:
125
- status:
126
- code: 409
127
- message: Conflict
128
- headers:
129
- Content-Encoding:
130
- - gzip
131
- Expires:
132
- - '0'
133
- Cache-Control:
134
- - no-cache, no-store, must-revalidate
135
- X-Powered-By:
136
- - Undertow/1
137
- Server:
138
- - WildFly/10
139
- Pragma:
140
- - no-cache
141
- Date:
142
- - Mon, 15 Feb 2016 09:08:19 GMT
143
- Connection:
144
- - keep-alive
145
- Content-Type:
146
- - application/json
147
- Content-Length:
148
- - '391'
149
- body:
150
- encoding: ASCII-8BIT
151
- string: !binary |-
152
- H4sIAAAAAAAAAJWRX2vCMBTF3/0Ul770pa2z7bRTfBoOfNgGboNBKSOa2zas
153
- JiWJOhG/+5LWPw8b01EIveHeX+45Z9cBcFBKIR9V4cAQnAdEChumS2AUXFul
154
- NdHl2O3qUZjchP151PeTHGM/jqLQT+JF4t+GMfYGEekn87ybj3Iz9NHrhZGi
155
- fMHUivbDaLBi5kgGyd16Xby7mQslUTBH5EAqiYRuQWLBlEaJNIAJ10xvz3tc
156
- gTxx8MtgFBANSiwRRA66RKiFYpoJroaQpq/bGlX6ipxwnXkwpSq9RptpnWFF
157
- tPHEM+tWY3chuCaMK9fUosLxy/Pb7H5i+toXrH0H/mUFWZY5ns2DomFWysax
158
- M7VNqLFjSpuELpMajBmzwTWY1Hwtytxqu1p76whZBCXZfK4qIgPG1+YhIbcB
159
- qVmwFBSroPXIgayZ3ntnDKNHyDXW/UaQ1ksbScnqJ7LERt3R0YOGk/iZsbdp
160
- aC12ftD+JcsG87eoK1w+zkPW/O07+2/wq+msTwMAAA==
161
- http_version:
162
- recorded_at: Mon, 15 Feb 2016 09:08:19 GMT
163
- - request:
164
- method: get
165
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_1123sdncisud6237ui2378789vvgX
166
- body:
167
- encoding: US-ASCII
168
- string: ''
169
- headers:
170
- Accept:
171
- - application/json
172
- Accept-Encoding:
173
- - gzip, deflate
174
- Content-Type:
175
- - application/json
176
- User-Agent:
177
- - Ruby
178
- response:
179
- status:
180
- code: 200
181
- message: OK
182
- headers:
183
- Content-Encoding:
184
- - gzip
185
- Expires:
186
- - '0'
187
- Cache-Control:
188
- - no-cache, no-store, must-revalidate
189
- X-Powered-By:
190
- - Undertow/1
191
- Server:
192
- - WildFly/10
193
- Pragma:
194
- - no-cache
195
- Date:
196
- - Mon, 15 Feb 2016 09:08:19 GMT
197
- Connection:
198
- - keep-alive
199
- Content-Type:
200
- - application/json
201
- Content-Length:
202
- - '120'
203
- body:
204
- encoding: ASCII-8BIT
205
- string: !binary |-
206
- H4sIAAAAAAAAAI3MOQ6AIBBA0d5TEGqJMoMw6kXsDAgojTFxaYx3dzmBza9+
207
- 3pkxxhe7TZw1jBdbC1SCdqgFxaCEQgRBaiBRgQrSoNXkYhHbGILvpQRc/Tyk
208
- dfca0OzpCRmqj2PseP7SyX/wjz27bkwNEceMAAAA
209
- http_version:
210
- recorded_at: Mon, 15 Feb 2016 09:08:19 GMT
211
- recorded_with: VCR 3.0.0
@@ -1,201 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/
6
- body:
7
- encoding: UTF-8
8
- string: '{"properties":{},"id":"feed_1123sdn","name":null,"outgoing":{},"incoming":{}}'
9
- headers:
10
- Accept:
11
- - application/json
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
15
- - application/json
16
- Content-Length:
17
- - '77'
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 409
23
- message: Conflict
24
- headers:
25
- Content-Encoding:
26
- - gzip
27
- Expires:
28
- - '0'
29
- Cache-Control:
30
- - no-cache, no-store, must-revalidate
31
- X-Powered-By:
32
- - Undertow/1
33
- Server:
34
- - WildFly/10
35
- Pragma:
36
- - no-cache
37
- Date:
38
- - Mon, 15 Feb 2016 11:35:10 GMT
39
- Connection:
40
- - keep-alive
41
- Content-Type:
42
- - application/json
43
- Content-Length:
44
- - '369'
45
- body:
46
- encoding: ASCII-8BIT
47
- string: !binary |-
48
- H4sIAAAAAAAAAJWQzW7CMBCE7zzFKpdcQihJSiMQp4pKHNpKlJ6iqDJ4Q6wG
49
- O7Ld0gjx7rUdftWqosola83M7nzbDoCHUgr5qFYeDMF7QKSwYboERsG3U1YT
50
- XY79nh5F6U00WMSDblpg0k3iOOqmyTLt3kYJ9u9iMkgXRa8YFcb01u9HsaLc
51
- z30oiYIFIgdSSSS0AYkrpjRKpCFMuGa6OW28MB8d+GUMCogGJdYIogBdItRC
52
- Mc0EV0PIsnlTo8rmyAnXeQBTqrJr7jXSGVZEm56BOawa+0vBNWFc+WYWFY5f
53
- nl9n9xOjazdYJPv881vzPPcCS5OicVfKwtya2fJ1FafU8T33OIMRWMDOkJmv
54
- NZlXbde1r56Qq7Akm/ePisiQ8U8TKWQTkpqFa0GxCtveHuTOvQtOMYweQq7B
55
- 8VuCtHws5pLVT2SNrseB0r7DsebMIHOCFpv3I+1ftSzsv0td8DwoIXd/u87u
56
- G4TKPEThAgAA
57
- http_version:
58
- recorded_at: Mon, 15 Feb 2016 11:35:10 GMT
59
- - request:
60
- method: get
61
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_1123sdn
62
- body:
63
- encoding: US-ASCII
64
- string: ''
65
- headers:
66
- Accept:
67
- - application/json
68
- Accept-Encoding:
69
- - gzip, deflate
70
- Content-Type:
71
- - application/json
72
- User-Agent:
73
- - Ruby
74
- response:
75
- status:
76
- code: 200
77
- message: OK
78
- headers:
79
- Content-Encoding:
80
- - gzip
81
- Expires:
82
- - '0'
83
- Cache-Control:
84
- - no-cache, no-store, must-revalidate
85
- X-Powered-By:
86
- - Undertow/1
87
- Server:
88
- - WildFly/10
89
- Pragma:
90
- - no-cache
91
- Date:
92
- - Mon, 15 Feb 2016 11:35:10 GMT
93
- Connection:
94
- - keep-alive
95
- Content-Type:
96
- - application/json
97
- Content-Length:
98
- - '100'
99
- body:
100
- encoding: ASCII-8BIT
101
- string: !binary |-
102
- H4sIAAAAAAAAAKvmUlBQKkgsyVBSsFJQ0i+xNrIwMDJLMjbTtUhLNdE1MTY2
103
- 0rUwSbbQNTUySTU0N040s0hK00+zTktNTYk3NDQyLk7JU9IBGZKZAjYCRYKr
104
- FgCP+2d1YAAAAA==
105
- http_version:
106
- recorded_at: Mon, 15 Feb 2016 11:35:10 GMT
107
- - request:
108
- method: delete
109
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/feed_1123sdn
110
- body:
111
- encoding: US-ASCII
112
- string: ''
113
- headers:
114
- Accept:
115
- - application/json
116
- Accept-Encoding:
117
- - gzip, deflate
118
- Content-Type:
119
- - application/json
120
- User-Agent:
121
- - Ruby
122
- response:
123
- status:
124
- code: 204
125
- message: No Content
126
- headers:
127
- Expires:
128
- - '0'
129
- Cache-Control:
130
- - no-cache, no-store, must-revalidate
131
- X-Powered-By:
132
- - Undertow/1
133
- Server:
134
- - WildFly/10
135
- Pragma:
136
- - no-cache
137
- Date:
138
- - Mon, 15 Feb 2016 11:35:11 GMT
139
- body:
140
- encoding: UTF-8
141
- string: ''
142
- http_version:
143
- recorded_at: Mon, 15 Feb 2016 11:35:11 GMT
144
- - request:
145
- method: get
146
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds
147
- body:
148
- encoding: US-ASCII
149
- string: ''
150
- headers:
151
- Accept:
152
- - application/json
153
- Accept-Encoding:
154
- - gzip, deflate
155
- Content-Type:
156
- - application/json
157
- User-Agent:
158
- - Ruby
159
- response:
160
- status:
161
- code: 200
162
- message: OK
163
- headers:
164
- Content-Encoding:
165
- - gzip
166
- Expires:
167
- - '0'
168
- Cache-Control:
169
- - no-cache, no-store, must-revalidate
170
- X-Powered-By:
171
- - Undertow/1
172
- Server:
173
- - WildFly/10
174
- Pragma:
175
- - no-cache
176
- Date:
177
- - Mon, 15 Feb 2016 11:35:11 GMT
178
- X-Total-Count:
179
- - '11'
180
- Connection:
181
- - keep-alive
182
- Content-Type:
183
- - application/json
184
- Content-Length:
185
- - '328'
186
- Link:
187
- - <http://localhost:8080/hawkular/inventory/feeds>; rel="current"
188
- body:
189
- encoding: ASCII-8BIT
190
- string: !binary |-
191
- H4sIAAAAAAAAALWT22rDMAyG7/sUIdcVtS1LttcXKYxRfFwzaBmkKTvQd1/X
192
- FbrswLJlvZX86f+Q8HX1PKmq+t5vV3V1VdWz7VxZoTgggy1Zg0ZUYHW0QEpn
193
- adCzDWVW5qHkrIQwUKJE0J4YvLcJHLqQTBYxe6qnr8ObdBw9CJjsp382Ip04
194
- 5oiQqGTQhA6cjQVkOSBIOamSekaDgDFGjj2KEhJkjwa0MAmCSA6EDWQU6ahE
195
- 7BkNAsYYrWMnFb5lbvw6H/H3xZPIqTQm6nDutJSaSDOxsr3xH3v/lMOO+buc
196
- Y298zmErbdrEpu0SKzRdo3B1F1Ibu6fWpy/CfwAuYmSssW63u90N8zk/v6jN
197
- 4nc2i1E21jvDURnwSA60IQtBMgJJJZxnEUTof71BwOj9rP3jMj807fbzLs6t
198
- yb66eQFLybIxmQUAAA==
199
- http_version:
200
- recorded_at: Mon, 15 Feb 2016 11:35:11 GMT
201
- recorded_with: VCR 3.0.0