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,24 +27,26 @@ 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
- - Tue, 10 Nov 2015 14:01:18 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==
43
+ string: |-
44
+ {
45
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf",
46
+ "id" : "28026b36-8fe4-4332-84c8-524e173a68bf"
47
+ }
48
48
  http_version:
49
- recorded_at: Tue, 10 Nov 2015 14:01:18 GMT
49
+ recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
50
50
  - request:
51
51
  method: get
52
52
  uri: http://jdoe:password@localhost:8080/hawkular/inventory/resourceTypes/URL/resources
@@ -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
- - Tue, 10 Nov 2015 14:01:22 GMT
85
+ - Thu, 18 Feb 2016 22:30:16 GMT
84
86
  X-Total-Count:
85
87
  - '1'
86
88
  Connection:
@@ -88,18 +90,28 @@ http_interactions:
88
90
  Content-Type:
89
91
  - application/json
90
92
  Content-Length:
91
- - '269'
93
+ - '489'
92
94
  Link:
93
95
  - <http://localhost:8080/hawkular/inventory/resourceTypes/URL/resources>; rel="current"
94
96
  body:
95
97
  encoding: ASCII-8BIT
96
- string: !binary |-
97
- H4sIAAAAAAAAAJ2QP0/DMBDF934KKzNOHNtxnGZiZwIxIQb/uZKItLacq6oK
98
- 9buTWC0CFiTWu/d+7969kI8NIUU0OBRkS4oKe64ZV1YoqncgqRSCUy2dpg2X
99
- ULfCKG13FfQIM1apb4RyToCHplWdVczIrm2l5I0Bbw2Xxd3Kx3OElb+G/Scu
100
- Yf/8+JBZi3302bxOlsElJ8QUIiQcYf6WM5ze6dtxpD7szXh4Cgmz0c6+9HCj
101
- YTIjUhemCRyCp+Gwimop21pJphlT+ocyhhOkRWfPGXYfjRt+wRLsAwI13ieY
102
- 80EFr3mpVckZK2vd3eTHNOXtgBi3VXU97KvUteifP95cyOsnvhJ0f8oBAAA=
98
+ string: |-
99
+ [ {
100
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/e;test/r;536cc3ede5769b60a49774425aedba24",
101
+ "type" : {
102
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/rt;URL",
103
+ "id" : "URL"
104
+ },
105
+ "properties" : {
106
+ "trait-collected-on" : 1455834600285,
107
+ "trait-powered-by" : "Apache",
108
+ "created" : 1455833583048,
109
+ "hwk-gui-domainSort" : "bsd.de",
110
+ "trait-remote-address" : "212.86.200.189",
111
+ "url" : "http://bsd.de"
112
+ },
113
+ "id" : "536cc3ede5769b60a49774425aedba24"
114
+ } ]
103
115
  http_version:
104
- recorded_at: Tue, 10 Nov 2015 14:01:22 GMT
105
- recorded_with: VCR 3.0.0
116
+ recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
117
+ recorded_with: VCR 3.0.1
@@ -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:28:58 GMT
34
+ - Thu, 18 Feb 2016 22:30:15 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:28:58 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:15 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:28:58 GMT
85
+ - Thu, 18 Feb 2016 22:30:15 GMT
84
86
  X-Total-Count:
85
87
  - '1'
86
88
  Connection:
@@ -88,17 +90,23 @@ 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:28:58 GMT
104
- recorded_with: VCR 3.0.0
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:15 GMT
112
+ recorded_with: VCR 3.0.1
@@ -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
- - Tue, 01 Dec 2015 11:18:04 GMT
34
+ - Thu, 18 Feb 2016 22:30:15 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: Tue, 01 Dec 2015 11:18:04 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:15 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,21 +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
61
63
  Hawkular-Tenant:
62
64
  - 28026b36-8fe4-4332-84c8-524e173a68bf
63
65
  Tenantid:
64
66
  - 28026b36-8fe4-4332-84c8-524e173a68bf
65
67
  Content-Type:
66
68
  - application/json
67
- User-Agent:
68
- - Ruby
69
69
  response:
70
70
  status:
71
71
  code: 200
72
72
  message: OK
73
73
  headers:
74
- Content-Encoding:
75
- - gzip
76
74
  Expires:
77
75
  - '0'
78
76
  Cache-Control:
@@ -80,11 +78,11 @@ http_interactions:
80
78
  X-Powered-By:
81
79
  - Undertow/1
82
80
  Server:
83
- - WildFly/9
81
+ - WildFly/10
84
82
  Pragma:
85
83
  - no-cache
86
84
  Date:
87
- - Tue, 01 Dec 2015 11:18:04 GMT
85
+ - Thu, 18 Feb 2016 22:30:15 GMT
88
86
  X-Total-Count:
89
87
  - '1'
90
88
  Connection:
@@ -92,22 +90,28 @@ http_interactions:
92
90
  Content-Type:
93
91
  - application/json
94
92
  Content-Length:
95
- - '170'
93
+ - '351'
96
94
  Link:
97
- - <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>;
98
96
  rel="current"
99
97
  body:
100
98
  encoding: ASCII-8BIT
101
- string: !binary |-
102
- H4sIAAAAAAAAAItWqOZSUFAqSCzJUFKwUlDSL7E2sjAwMksyNtO1SEs10TUx
103
- NjbStTBJttA1NTJJNTQ3TjSzSErTT7MuzkstKtEvgtB1PvnJiTl1dUo6INNK
104
- KgtSQaaBjKbI8BLr8MycFLecSlUjg+DUorLUIrAFQDPzEnPBVihBFSigSmem
105
- YJMEytWCHYhDt0I02N5YiC+gZqD6j6tWIRYAJJoICzQBAAA=
106
- http_version:
107
- recorded_at: Tue, 01 Dec 2015 11:18:04 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:15 GMT
108
112
  - request:
109
113
  method: get
110
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/data?dataType=configuration
114
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/data?dataType=configuration
111
115
  body:
112
116
  encoding: US-ASCII
113
117
  string: ''
@@ -116,21 +120,19 @@ http_interactions:
116
120
  - application/json
117
121
  Accept-Encoding:
118
122
  - gzip, deflate
123
+ User-Agent:
124
+ - rest-client/2.0.0.rc1 (linux-gnu x86_64) ruby/2.2.4p230
119
125
  Hawkular-Tenant:
120
126
  - 28026b36-8fe4-4332-84c8-524e173a68bf
121
127
  Tenantid:
122
128
  - 28026b36-8fe4-4332-84c8-524e173a68bf
123
129
  Content-Type:
124
130
  - application/json
125
- User-Agent:
126
- - Ruby
127
131
  response:
128
132
  status:
129
133
  code: 200
130
134
  message: OK
131
135
  headers:
132
- Content-Encoding:
133
- - gzip
134
136
  Expires:
135
137
  - '0'
136
138
  Cache-Control:
@@ -138,25 +140,31 @@ http_interactions:
138
140
  X-Powered-By:
139
141
  - Undertow/1
140
142
  Server:
141
- - WildFly/9
143
+ - WildFly/10
142
144
  Pragma:
143
145
  - no-cache
144
146
  Date:
145
- - Tue, 01 Dec 2015 11:18:04 GMT
147
+ - Thu, 18 Feb 2016 22:30:15 GMT
146
148
  Connection:
147
149
  - keep-alive
148
150
  Content-Type:
149
151
  - application/json
150
152
  Content-Length:
151
- - '208'
153
+ - '351'
152
154
  body:
153
155
  encoding: ASCII-8BIT
154
- string: !binary |-
155
- H4sIAAAAAAAAAFVOyw6CMBC88xVNz1aeYiMnPHEwSoLxvtKiRmxJH3ow8O1C
156
- DSZmD5vZmZ2Zt4cQ7sBcMdog7JssokGUnuOU0IYnJInjiNCkpmQVJTxcx5DS
157
- c+M3mRZcGV9997CTNbTD4LOslqK5XawCc5MCLyb3J7SWT/bvEY14K61gKGdM
158
- ca1dbLB04+Sj4MSVnr4nKnRU3nZXoKTa52VVHI6zsFSS2dqgPTxcAC7gdbct
159
- qFlQSG3ETLqqeCR6V+t3/6/s9R+Sdz0XEwEAAA==
160
- http_version:
161
- recorded_at: Tue, 01 Dec 2015 11:18:04 GMT
162
- recorded_with: VCR 3.0.0
156
+ string: |-
157
+ {
158
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/d;configuration",
159
+ "value" : {
160
+ "Bound Address" : "127.0.0.1",
161
+ "Version" : "1.0.0.Alpha10-SNAPSHOT",
162
+ "Server State" : "running",
163
+ "Product Name" : "Hawkular",
164
+ "Hostname" : "localhost.localdomain"
165
+ },
166
+ "name" : "configuration"
167
+ }
168
+ http_version:
169
+ recorded_at: Thu, 18 Feb 2016 22:30:15 GMT
170
+ recorded_with: VCR 3.0.1