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
@@ -11,17 +11,15 @@ http_interactions:
11
11
  - application/json
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
14
16
  Content-Type:
15
17
  - application/json
16
- User-Agent:
17
- - Ruby
18
18
  response:
19
19
  status:
20
20
  code: 200
21
21
  message: OK
22
22
  headers:
23
- Content-Encoding:
24
- - gzip
25
23
  Expires:
26
24
  - '0'
27
25
  Cache-Control:
@@ -29,27 +27,29 @@ http_interactions:
29
27
  X-Powered-By:
30
28
  - Undertow/1
31
29
  Server:
32
- - WildFly/9
30
+ - WildFly/10
33
31
  Pragma:
34
32
  - no-cache
35
33
  Date:
36
- - Fri, 06 Nov 2015 19:57:37 GMT
34
+ - Thu, 18 Feb 2016 22:30:16 GMT
37
35
  Connection:
38
36
  - keep-alive
39
37
  Content-Type:
40
38
  - application/json
41
39
  Content-Length:
42
- - '85'
40
+ - '105'
43
41
  body:
44
42
  encoding: ASCII-8BIT
45
- string: !binary |-
46
- H4sIAAAAAAAAAKvmUlBQKkgsyVBSsFJQ0i+xNrIwMDJLMjbTtUhLNdE1MTY2
47
- 0rUwSbbQNTUySTU0N040s0hKU9IB6cpMAeshSgNXLQAnmwH5aQAAAA==
48
- http_version:
49
- recorded_at: Fri, 06 Nov 2015 19:57:37 GMT
43
+ string: |-
44
+ {
45
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
46
+ "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
47
+ }
48
+ http_version:
49
+ recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
50
50
  - request:
51
51
  method: get
52
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources
52
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resourceTypes/WildFly%20Server/resources
53
53
  body:
54
54
  encoding: US-ASCII
55
55
  string: ''
@@ -58,17 +58,19 @@ http_interactions:
58
58
  - application/json
59
59
  Accept-Encoding:
60
60
  - gzip, deflate
61
+ User-Agent:
62
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
63
+ Hawkular-Tenant:
64
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
65
+ Tenantid:
66
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
61
67
  Content-Type:
62
68
  - application/json
63
- User-Agent:
64
- - Ruby
65
69
  response:
66
70
  status:
67
71
  code: 200
68
72
  message: OK
69
73
  headers:
70
- Content-Encoding:
71
- - gzip
72
74
  Expires:
73
75
  - '0'
74
76
  Cache-Control:
@@ -76,11 +78,11 @@ http_interactions:
76
78
  X-Powered-By:
77
79
  - Undertow/1
78
80
  Server:
79
- - WildFly/9
81
+ - WildFly/10
80
82
  Pragma:
81
83
  - no-cache
82
84
  Date:
83
- - Fri, 06 Nov 2015 19:57:37 GMT
85
+ - Thu, 18 Feb 2016 22:30:16 GMT
84
86
  X-Total-Count:
85
87
  - '1'
86
88
  Connection:
@@ -88,22 +90,28 @@ http_interactions:
88
90
  Content-Type:
89
91
  - application/json
90
92
  Content-Length:
91
- - '177'
93
+ - '351'
92
94
  Link:
93
- - <http://localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources>;
95
+ - <http://localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resourceTypes/WildFly%20Server/resources>;
94
96
  rel="current"
95
97
  body:
96
98
  encoding: ASCII-8BIT
97
- string: !binary |-
98
- H4sIAAAAAAAAAItWqOZSUFAqSCzJUFKwUlDSL7E2sjAwMksyNtO1SEs10TUx
99
- NjbStTBJttA1NTJJNTQ3TjSzSErTT7UuSS0u0U+zLs5LLSrRL4LQdT75yYk5
100
- dXVKOiBDSyoLUkGGgmyghh0l1uGZOSluOZWqRgbBqUVlqUVge4BG5yXmgm1S
101
- gipQQJXOTMEmCZSrBbsTh26FaLC9sRDPQM1A9SZXrUIsAH0JV21CAQAA
102
- http_version:
103
- recorded_at: Fri, 06 Nov 2015 19:57:37 GMT
99
+ string: |-
100
+ [ {
101
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~",
102
+ "type" : {
103
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;WildFly%20Server",
104
+ "name" : "WildFly Server",
105
+ "id" : "WildFly Server"
106
+ },
107
+ "name" : "localhost/Local",
108
+ "id" : "Local~~"
109
+ } ]
110
+ http_version:
111
+ recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
104
112
  - request:
105
113
  method: get
106
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/metrics
114
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/metrics
107
115
  body:
108
116
  encoding: US-ASCII
109
117
  string: ''
@@ -112,17 +120,19 @@ http_interactions:
112
120
  - application/json
113
121
  Accept-Encoding:
114
122
  - gzip, deflate
123
+ User-Agent:
124
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
125
+ Hawkular-Tenant:
126
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
127
+ Tenantid:
128
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
115
129
  Content-Type:
116
130
  - application/json
117
- User-Agent:
118
- - Ruby
119
131
  response:
120
132
  status:
121
133
  code: 200
122
134
  message: OK
123
135
  headers:
124
- Content-Encoding:
125
- - gzip
126
136
  Expires:
127
137
  - '0'
128
138
  Cache-Control:
@@ -130,11 +140,11 @@ http_interactions:
130
140
  X-Powered-By:
131
141
  - Undertow/1
132
142
  Server:
133
- - WildFly/9
143
+ - WildFly/10
134
144
  Pragma:
135
145
  - no-cache
136
146
  Date:
137
- - Fri, 06 Nov 2015 19:57:37 GMT
147
+ - Thu, 18 Feb 2016 22:30:16 GMT
138
148
  X-Total-Count:
139
149
  - '14'
140
150
  Connection:
@@ -142,31 +152,182 @@ http_interactions:
142
152
  Content-Type:
143
153
  - application/json
144
154
  Content-Length:
145
- - '800'
155
+ - '10779'
146
156
  Link:
147
- - <http://localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/metrics>;
157
+ - <http://localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/metrics>;
148
158
  rel="current"
149
159
  body:
150
160
  encoding: ASCII-8BIT
151
- string: !binary |-
152
- H4sIAAAAAAAAANVZ0Y6iMBR9369oSOZtjLPquGZ9YhzX3WR1EsVMNpN5QKxO
153
- N4AuFDNmI9++FYFBbaGUKuwLgcI997ScHO4tL+DvJwCUtY7fFPAVKHXcbXTu
154
- Gu1Zs13rLGCr1mo2G7VOy+jU7hst+PlLU293Zos67GLo4vqi69rQwXWrO/zh
155
- j/2b+4fg2v+5MnTTJ9eP/lDzn5E5/2Zubxp36nLpwKWO4ZxcPMMZOQ4hdpDh
156
- +ke3JtDZmBCTszH845FM5ExDFlRu92zxdg33bPfUZZDHXckMCSlbtwKOSggN
157
- PqIBgQXnoCCEBCEgSMJ5NsIB3Ohp1I8Go3VQBup0EI+iuYy8BGsXLLbMiUTc
158
- ArG8HEnlNSEUYc672+vKeQitlbNNSOQ71NfkcurC+eWlmpmd9vYOQSAZApIB
159
- sdAefmn9SS6lMaHZWkplw6sWdt5r64HXPFQDow2Mn5lA10Ur262Ou6URFPOE
160
- A2Jw9xTtkt5GS1vE2ljTkOdsVMZVFfIY/oZG8qnqSTmdopgKIkwBOfeepiOt
161
- PxYWND11EUmzJyNP1AzW15a19uZAfY7sZUIshzEy0Ft5Nr68bjk50N5lHAqO
162
- A8FRmLidZuCzRcZBjFdLWRyq6oT99zVyKm2EqQzFrCOELMEGqZmLuCBzKvJM
163
- kM659J5ltLLDxqG3siyEcSm9C4sFR9cQhoKzQHEnzMzA3dLQyQm2NhQepcsn
164
- fGtD/b28jjdKzttiJp6XppEYOF+3G69bgWY3yFq6EFTD8CzPDL82gx45PHqO
165
- jonNlaCMLDYc7ycBAQY9cBpe5APHmYlbSmlUBZXF5FTVCoy2I3ulml4ORTmb
166
- rTl6gaJFGD21zJ3j/P2DMOvS/bMCRZhoBXbh8ku09pJXeJVddfEaDKkE/oft
167
- 5WyaYvZBcMvaaGalLuKGadOR54dM5qU74kdPWNIPNQqBHC0f9bearFY034+1
168
- M0oFG1DZv9dUlkBUzd9/r6Gz94uNjkx9hkyEt766XocFFXQupQzOzMn1PwyD
169
- 0wBw/Hh+NWTgnguBg0iErdI0EC88O+cOvP4DiWqq0D8iAAA=
170
- http_version:
171
- recorded_at: Fri, 06 Nov 2015 19:57:37 GMT
172
- recorded_with: VCR 3.0.0
161
+ string: |-
162
+ [ {
163
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
164
+ "type" : {
165
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Memory%20Metrics~Accumulated%20GC%20Duration",
166
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
167
+ "unit" : "NONE",
168
+ "type" : "COUNTER",
169
+ "collectionInterval" : 60,
170
+ "id" : "WildFly Memory Metrics~Accumulated GC Duration"
171
+ },
172
+ "name" : "WildFly Memory Metrics~Accumulated GC Duration",
173
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Memory Metrics~Accumulated GC Duration"
174
+ }, {
175
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Used",
176
+ "type" : {
177
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Memory%20Metrics~Heap%20Used",
178
+ "name" : "WildFly Memory Metrics~Heap Used",
179
+ "unit" : "BYTES",
180
+ "type" : "GAUGE",
181
+ "collectionInterval" : 30,
182
+ "id" : "WildFly Memory Metrics~Heap Used"
183
+ },
184
+ "name" : "WildFly Memory Metrics~Heap Used",
185
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Memory Metrics~Heap Used"
186
+ }, {
187
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
188
+ "type" : {
189
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Active%20Web%20Sessions",
190
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
191
+ "unit" : "NONE",
192
+ "type" : "GAUGE",
193
+ "collectionInterval" : 60,
194
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
195
+ },
196
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Active Web Sessions",
197
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Active Web Sessions"
198
+ }, {
199
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Committed",
200
+ "type" : {
201
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Memory%20Metrics~NonHeap%20Committed",
202
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
203
+ "unit" : "NONE",
204
+ "type" : "GAUGE",
205
+ "collectionInterval" : 60,
206
+ "id" : "WildFly Memory Metrics~NonHeap Committed"
207
+ },
208
+ "name" : "WildFly Memory Metrics~NonHeap Committed",
209
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Memory Metrics~NonHeap Committed"
210
+ }, {
211
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~NonHeap%20Used",
212
+ "type" : {
213
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Memory%20Metrics~NonHeap%20Used",
214
+ "name" : "WildFly Memory Metrics~NonHeap Used",
215
+ "unit" : "NONE",
216
+ "type" : "GAUGE",
217
+ "collectionInterval" : 30,
218
+ "id" : "WildFly Memory Metrics~NonHeap Used"
219
+ },
220
+ "name" : "WildFly Memory Metrics~NonHeap Used",
221
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Memory Metrics~NonHeap Used"
222
+ }, {
223
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
224
+ "type" : {
225
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Expired%20Web%20Sessions",
226
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
227
+ "unit" : "NONE",
228
+ "type" : "COUNTER",
229
+ "collectionInterval" : 60,
230
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
231
+ },
232
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions",
233
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Expired Web Sessions"
234
+ }, {
235
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Max",
236
+ "type" : {
237
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Memory%20Metrics~Heap%20Max",
238
+ "name" : "WildFly Memory Metrics~Heap Max",
239
+ "unit" : "NONE",
240
+ "type" : "GAUGE",
241
+ "collectionInterval" : 60,
242
+ "id" : "WildFly Memory Metrics~Heap Max"
243
+ },
244
+ "name" : "WildFly Memory Metrics~Heap Max",
245
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Memory Metrics~Heap Max"
246
+ }, {
247
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Threading%20Metrics~Thread%20Count",
248
+ "type" : {
249
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Threading%20Metrics~Thread%20Count",
250
+ "name" : "WildFly Threading Metrics~Thread Count",
251
+ "unit" : "NONE",
252
+ "type" : "GAUGE",
253
+ "collectionInterval" : 120,
254
+ "id" : "WildFly Threading Metrics~Thread Count"
255
+ },
256
+ "name" : "WildFly Threading Metrics~Thread Count",
257
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Threading Metrics~Thread Count"
258
+ }, {
259
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
260
+ "type" : {
261
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Count",
262
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
263
+ "unit" : "NONE",
264
+ "type" : "COUNTER",
265
+ "collectionInterval" : 60,
266
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
267
+ },
268
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Count",
269
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Count"
270
+ }, {
271
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
272
+ "type" : {
273
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Max%20Active%20Web%20Sessions",
274
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
275
+ "unit" : "NONE",
276
+ "type" : "GAUGE",
277
+ "collectionInterval" : 60,
278
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
279
+ },
280
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions",
281
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Max Active Web Sessions"
282
+ }, {
283
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Memory%20Metrics~Heap%20Committed",
284
+ "type" : {
285
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Memory%20Metrics~Heap%20Committed",
286
+ "name" : "WildFly Memory Metrics~Heap Committed",
287
+ "unit" : "NONE",
288
+ "type" : "GAUGE",
289
+ "collectionInterval" : 60,
290
+ "id" : "WildFly Memory Metrics~Heap Committed"
291
+ },
292
+ "name" : "WildFly Memory Metrics~Heap Committed",
293
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Memory Metrics~Heap Committed"
294
+ }, {
295
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
296
+ "type" : {
297
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Rejected%20Web%20Sessions",
298
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
299
+ "unit" : "NONE",
300
+ "type" : "COUNTER",
301
+ "collectionInterval" : 60,
302
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
303
+ },
304
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions",
305
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Rejected Web Sessions"
306
+ }, {
307
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~MT~WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
308
+ "type" : {
309
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;WildFly%20Aggregated%20Web%20Metrics~Aggregated%20Servlet%20Request%20Time",
310
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
311
+ "unit" : "NONE",
312
+ "type" : "COUNTER",
313
+ "collectionInterval" : 60,
314
+ "id" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
315
+ },
316
+ "name" : "WildFly Aggregated Web Metrics~Aggregated Servlet Request Time",
317
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~MT~WildFly Aggregated Web Metrics~Aggregated Servlet Request Time"
318
+ }, {
319
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;AI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2FLocal~~%5D~AT~Server%20Availability~App%20Server",
320
+ "type" : {
321
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Server%20Availability~App%20Server",
322
+ "name" : "Server Availability~App Server",
323
+ "unit" : "NONE",
324
+ "type" : "AVAILABILITY",
325
+ "collectionInterval" : 30,
326
+ "id" : "Server Availability~App Server"
327
+ },
328
+ "name" : "Server Availability~App Server",
329
+ "id" : "AI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/Local~~]~AT~Server Availability~App Server"
330
+ } ]
331
+ http_version:
332
+ recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
333
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,613 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/tenant
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
16
+ Content-Type:
17
+ - application/json
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
+ - Thu, 18 Feb 2016 22:30:17 GMT
35
+ Connection:
36
+ - keep-alive
37
+ Content-Type:
38
+ - application/json
39
+ Content-Length:
40
+ - '105'
41
+ body:
42
+ encoding: ASCII-8BIT
43
+ string: |-
44
+ {
45
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
46
+ "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
47
+ }
48
+ http_version:
49
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
50
+ - request:
51
+ method: get
52
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/metricTypes/Total%20Space
53
+ body:
54
+ encoding: US-ASCII
55
+ string: ''
56
+ headers:
57
+ Accept:
58
+ - application/json
59
+ Accept-Encoding:
60
+ - gzip, deflate
61
+ User-Agent:
62
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
63
+ Hawkular-Tenant:
64
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
65
+ Tenantid:
66
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
67
+ Content-Type:
68
+ - application/json
69
+ response:
70
+ status:
71
+ code: 200
72
+ message: OK
73
+ headers:
74
+ Expires:
75
+ - '0'
76
+ Cache-Control:
77
+ - no-cache, no-store, must-revalidate
78
+ X-Powered-By:
79
+ - Undertow/1
80
+ Server:
81
+ - WildFly/10
82
+ Pragma:
83
+ - no-cache
84
+ Date:
85
+ - Thu, 18 Feb 2016 22:30:17 GMT
86
+ Connection:
87
+ - keep-alive
88
+ Content-Type:
89
+ - application/json
90
+ Content-Length:
91
+ - '232'
92
+ body:
93
+ encoding: ASCII-8BIT
94
+ string: |-
95
+ {
96
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
97
+ "name" : "Total Space",
98
+ "unit" : "BYTES",
99
+ "type" : "GAUGE",
100
+ "collectionInterval" : 300,
101
+ "id" : "Total Space"
102
+ }
103
+ http_version:
104
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
105
+ - request:
106
+ method: get
107
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space/relationships?named=defines
108
+ body:
109
+ encoding: US-ASCII
110
+ string: ''
111
+ headers:
112
+ Accept:
113
+ - application/json
114
+ Accept-Encoding:
115
+ - gzip, deflate
116
+ User-Agent:
117
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
118
+ Hawkular-Tenant:
119
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
120
+ Tenantid:
121
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
122
+ Content-Type:
123
+ - application/json
124
+ response:
125
+ status:
126
+ code: 200
127
+ message: OK
128
+ headers:
129
+ Expires:
130
+ - '0'
131
+ Cache-Control:
132
+ - no-cache, no-store, must-revalidate
133
+ X-Powered-By:
134
+ - Undertow/1
135
+ Server:
136
+ - WildFly/10
137
+ Pragma:
138
+ - no-cache
139
+ Date:
140
+ - Thu, 18 Feb 2016 22:30:17 GMT
141
+ X-Total-Count:
142
+ - '7'
143
+ Connection:
144
+ - keep-alive
145
+ Content-Type:
146
+ - application/json
147
+ Content-Length:
148
+ - '3074'
149
+ Link:
150
+ - <http://localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space/relationships?named=defines>;
151
+ rel="current"
152
+ body:
153
+ encoding: ASCII-8BIT
154
+ string: |-
155
+ [ {
156
+ "id" : "1i00-9hc-1g5x-1clc",
157
+ "name" : "defines",
158
+ "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
159
+ "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=hugetlbfs%5D~MT~Total%20Space"
160
+ }, {
161
+ "id" : "1icg-9hc-1g5x-1czk",
162
+ "name" : "defines",
163
+ "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
164
+ "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=tmpfs%5D~MT~Total%20Space"
165
+ }, {
166
+ "id" : "1iow-9hc-1g5x-1dds",
167
+ "name" : "defines",
168
+ "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
169
+ "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=sunrpc%5D~MT~Total%20Space"
170
+ }, {
171
+ "id" : "1j7k-9hc-1g5x-1dz4",
172
+ "name" : "defines",
173
+ "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
174
+ "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space"
175
+ }, {
176
+ "id" : "1jk0-9hc-1g5x-1edc",
177
+ "name" : "defines",
178
+ "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
179
+ "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=mqueue%5D~MT~Total%20Space"
180
+ }, {
181
+ "id" : "1jq8-9hc-1g5x-1ekg",
182
+ "name" : "defines",
183
+ "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
184
+ "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=~%5D~MT~Total%20Space"
185
+ }, {
186
+ "id" : "1k2o-9hc-1g5x-1eyo",
187
+ "name" : "defines",
188
+ "source" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
189
+ "target" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=%2Fdev%2Fsda3%5D~MT~Total%20Space"
190
+ } ]
191
+ http_version:
192
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
193
+ - request:
194
+ method: get
195
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=hugetlbfs%5D~MT~Total%20Space
196
+ body:
197
+ encoding: US-ASCII
198
+ string: ''
199
+ headers:
200
+ Accept:
201
+ - application/json
202
+ Accept-Encoding:
203
+ - gzip, deflate
204
+ User-Agent:
205
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
206
+ Hawkular-Tenant:
207
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
208
+ Tenantid:
209
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
210
+ Content-Type:
211
+ - application/json
212
+ response:
213
+ status:
214
+ code: 200
215
+ message: OK
216
+ headers:
217
+ Expires:
218
+ - '0'
219
+ Cache-Control:
220
+ - no-cache, no-store, must-revalidate
221
+ X-Powered-By:
222
+ - Undertow/1
223
+ Server:
224
+ - WildFly/10
225
+ Pragma:
226
+ - no-cache
227
+ Date:
228
+ - Thu, 18 Feb 2016 22:30:17 GMT
229
+ Connection:
230
+ - keep-alive
231
+ Content-Type:
232
+ - application/json
233
+ Content-Length:
234
+ - '726'
235
+ body:
236
+ encoding: ASCII-8BIT
237
+ string: |-
238
+ {
239
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=hugetlbfs%5D~MT~Total%20Space",
240
+ "type" : {
241
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
242
+ "name" : "Total Space",
243
+ "unit" : "BYTES",
244
+ "type" : "GAUGE",
245
+ "collectionInterval" : 300,
246
+ "id" : "Total Space"
247
+ },
248
+ "name" : "Total Space",
249
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/platform~/OPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem/FILE_STORE=hugetlbfs]~MT~Total Space"
250
+ }
251
+ http_version:
252
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
253
+ - request:
254
+ method: get
255
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=tmpfs%5D~MT~Total%20Space
256
+ body:
257
+ encoding: US-ASCII
258
+ string: ''
259
+ headers:
260
+ Accept:
261
+ - application/json
262
+ Accept-Encoding:
263
+ - gzip, deflate
264
+ User-Agent:
265
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
266
+ Hawkular-Tenant:
267
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
268
+ Tenantid:
269
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
270
+ Content-Type:
271
+ - application/json
272
+ response:
273
+ status:
274
+ code: 200
275
+ message: OK
276
+ headers:
277
+ Expires:
278
+ - '0'
279
+ Cache-Control:
280
+ - no-cache, no-store, must-revalidate
281
+ X-Powered-By:
282
+ - Undertow/1
283
+ Server:
284
+ - WildFly/10
285
+ Pragma:
286
+ - no-cache
287
+ Date:
288
+ - Thu, 18 Feb 2016 22:30:17 GMT
289
+ Connection:
290
+ - keep-alive
291
+ Content-Type:
292
+ - application/json
293
+ Content-Length:
294
+ - '718'
295
+ body:
296
+ encoding: ASCII-8BIT
297
+ string: |-
298
+ {
299
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=tmpfs%5D~MT~Total%20Space",
300
+ "type" : {
301
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
302
+ "name" : "Total Space",
303
+ "unit" : "BYTES",
304
+ "type" : "GAUGE",
305
+ "collectionInterval" : 300,
306
+ "id" : "Total Space"
307
+ },
308
+ "name" : "Total Space",
309
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/platform~/OPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem/FILE_STORE=tmpfs]~MT~Total Space"
310
+ }
311
+ http_version:
312
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
313
+ - request:
314
+ method: get
315
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=sunrpc%5D~MT~Total%20Space
316
+ body:
317
+ encoding: US-ASCII
318
+ string: ''
319
+ headers:
320
+ Accept:
321
+ - application/json
322
+ Accept-Encoding:
323
+ - gzip, deflate
324
+ User-Agent:
325
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
326
+ Hawkular-Tenant:
327
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
328
+ Tenantid:
329
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
330
+ Content-Type:
331
+ - application/json
332
+ response:
333
+ status:
334
+ code: 200
335
+ message: OK
336
+ headers:
337
+ Expires:
338
+ - '0'
339
+ Cache-Control:
340
+ - no-cache, no-store, must-revalidate
341
+ X-Powered-By:
342
+ - Undertow/1
343
+ Server:
344
+ - WildFly/10
345
+ Pragma:
346
+ - no-cache
347
+ Date:
348
+ - Thu, 18 Feb 2016 22:30:17 GMT
349
+ Connection:
350
+ - keep-alive
351
+ Content-Type:
352
+ - application/json
353
+ Content-Length:
354
+ - '720'
355
+ body:
356
+ encoding: ASCII-8BIT
357
+ string: |-
358
+ {
359
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=sunrpc%5D~MT~Total%20Space",
360
+ "type" : {
361
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
362
+ "name" : "Total Space",
363
+ "unit" : "BYTES",
364
+ "type" : "GAUGE",
365
+ "collectionInterval" : 300,
366
+ "id" : "Total Space"
367
+ },
368
+ "name" : "Total Space",
369
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/platform~/OPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem/FILE_STORE=sunrpc]~MT~Total Space"
370
+ }
371
+ http_version:
372
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
373
+ - request:
374
+ method: get
375
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space
376
+ body:
377
+ encoding: US-ASCII
378
+ string: ''
379
+ headers:
380
+ Accept:
381
+ - application/json
382
+ Accept-Encoding:
383
+ - gzip, deflate
384
+ User-Agent:
385
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
386
+ Hawkular-Tenant:
387
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
388
+ Tenantid:
389
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
390
+ Content-Type:
391
+ - application/json
392
+ response:
393
+ status:
394
+ code: 200
395
+ message: OK
396
+ headers:
397
+ Expires:
398
+ - '0'
399
+ Cache-Control:
400
+ - no-cache, no-store, must-revalidate
401
+ X-Powered-By:
402
+ - Undertow/1
403
+ Server:
404
+ - WildFly/10
405
+ Pragma:
406
+ - no-cache
407
+ Date:
408
+ - Thu, 18 Feb 2016 22:30:17 GMT
409
+ Connection:
410
+ - keep-alive
411
+ Content-Type:
412
+ - application/json
413
+ Content-Length:
414
+ - '760'
415
+ body:
416
+ encoding: ASCII-8BIT
417
+ string: |-
418
+ {
419
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=%2Fdev%2Fmapper%2Ffedora-home%5D~MT~Total%20Space",
420
+ "type" : {
421
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
422
+ "name" : "Total Space",
423
+ "unit" : "BYTES",
424
+ "type" : "GAUGE",
425
+ "collectionInterval" : 300,
426
+ "id" : "Total Space"
427
+ },
428
+ "name" : "Total Space",
429
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/platform~/OPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem/FILE_STORE=/dev/mapper/fedora-home]~MT~Total Space"
430
+ }
431
+ http_version:
432
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
433
+ - request:
434
+ method: get
435
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=mqueue%5D~MT~Total%20Space
436
+ body:
437
+ encoding: US-ASCII
438
+ string: ''
439
+ headers:
440
+ Accept:
441
+ - application/json
442
+ Accept-Encoding:
443
+ - gzip, deflate
444
+ User-Agent:
445
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
446
+ Hawkular-Tenant:
447
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
448
+ Tenantid:
449
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
450
+ Content-Type:
451
+ - application/json
452
+ response:
453
+ status:
454
+ code: 200
455
+ message: OK
456
+ headers:
457
+ Expires:
458
+ - '0'
459
+ Cache-Control:
460
+ - no-cache, no-store, must-revalidate
461
+ X-Powered-By:
462
+ - Undertow/1
463
+ Server:
464
+ - WildFly/10
465
+ Pragma:
466
+ - no-cache
467
+ Date:
468
+ - Thu, 18 Feb 2016 22:30:17 GMT
469
+ Connection:
470
+ - keep-alive
471
+ Content-Type:
472
+ - application/json
473
+ Content-Length:
474
+ - '720'
475
+ body:
476
+ encoding: ASCII-8BIT
477
+ string: |-
478
+ {
479
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=mqueue%5D~MT~Total%20Space",
480
+ "type" : {
481
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
482
+ "name" : "Total Space",
483
+ "unit" : "BYTES",
484
+ "type" : "GAUGE",
485
+ "collectionInterval" : 300,
486
+ "id" : "Total Space"
487
+ },
488
+ "name" : "Total Space",
489
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/platform~/OPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem/FILE_STORE=mqueue]~MT~Total Space"
490
+ }
491
+ http_version:
492
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
493
+ - request:
494
+ method: get
495
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=~%5D~MT~Total%20Space
496
+ body:
497
+ encoding: US-ASCII
498
+ string: ''
499
+ headers:
500
+ Accept:
501
+ - application/json
502
+ Accept-Encoding:
503
+ - gzip, deflate
504
+ User-Agent:
505
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
506
+ Hawkular-Tenant:
507
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
508
+ Tenantid:
509
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
510
+ Content-Type:
511
+ - application/json
512
+ response:
513
+ status:
514
+ code: 200
515
+ message: OK
516
+ headers:
517
+ Expires:
518
+ - '0'
519
+ Cache-Control:
520
+ - no-cache, no-store, must-revalidate
521
+ X-Powered-By:
522
+ - Undertow/1
523
+ Server:
524
+ - WildFly/10
525
+ Pragma:
526
+ - no-cache
527
+ Date:
528
+ - Thu, 18 Feb 2016 22:30:17 GMT
529
+ Connection:
530
+ - keep-alive
531
+ Content-Type:
532
+ - application/json
533
+ Content-Length:
534
+ - '710'
535
+ body:
536
+ encoding: ASCII-8BIT
537
+ string: |-
538
+ {
539
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=~%5D~MT~Total%20Space",
540
+ "type" : {
541
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
542
+ "name" : "Total Space",
543
+ "unit" : "BYTES",
544
+ "type" : "GAUGE",
545
+ "collectionInterval" : 300,
546
+ "id" : "Total Space"
547
+ },
548
+ "name" : "Total Space",
549
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/platform~/OPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem/FILE_STORE=~]~MT~Total Space"
550
+ }
551
+ http_version:
552
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
553
+ - request:
554
+ method: get
555
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/path/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=%2Fdev%2Fsda3%5D~MT~Total%20Space
556
+ body:
557
+ encoding: US-ASCII
558
+ string: ''
559
+ headers:
560
+ Accept:
561
+ - application/json
562
+ Accept-Encoding:
563
+ - gzip, deflate
564
+ User-Agent:
565
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
566
+ Hawkular-Tenant:
567
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
568
+ Tenantid:
569
+ - 28026b36-8fe4-4332-84c8-524e173a68bf
570
+ Content-Type:
571
+ - application/json
572
+ response:
573
+ status:
574
+ code: 200
575
+ message: OK
576
+ headers:
577
+ Expires:
578
+ - '0'
579
+ Cache-Control:
580
+ - no-cache, no-store, must-revalidate
581
+ X-Powered-By:
582
+ - Undertow/1
583
+ Server:
584
+ - WildFly/10
585
+ Pragma:
586
+ - no-cache
587
+ Date:
588
+ - Thu, 18 Feb 2016 22:30:17 GMT
589
+ Connection:
590
+ - keep-alive
591
+ Content-Type:
592
+ - application/json
593
+ Content-Length:
594
+ - '730'
595
+ body:
596
+ encoding: ASCII-8BIT
597
+ string: |-
598
+ {
599
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/m;MI~R~%5Bf1cb161f-4de3-44b9-a2a4-bdc5a2064f88%2Fplatform~%2FOPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem%2FFILE_STORE=%2Fdev%2Fsda3%5D~MT~Total%20Space",
600
+ "type" : {
601
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/mt;Total%20Space",
602
+ "name" : "Total Space",
603
+ "unit" : "BYTES",
604
+ "type" : "GAUGE",
605
+ "collectionInterval" : 300,
606
+ "id" : "Total Space"
607
+ },
608
+ "name" : "Total Space",
609
+ "id" : "MI~R~[f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/platform~/OPERATING_SYSTEM=f1cb161f-4de3-44b9-a2a4-bdc5a2064f88_OperatingSystem/FILE_STORE=/dev/sda3]~MT~Total Space"
610
+ }
611
+ http_version:
612
+ recorded_at: Thu, 18 Feb 2016 22:30:17 GMT
613
+ recorded_with: VCR 3.0.1