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,177 @@
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:14 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:14 GMT
50
+ - request:
51
+ method: get
52
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/resourceTypes
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:14 GMT
86
+ X-Total-Count:
87
+ - '19'
88
+ Connection:
89
+ - keep-alive
90
+ Content-Type:
91
+ - application/json
92
+ Content-Length:
93
+ - '3134'
94
+ Link:
95
+ - <http://localhost:8080/hawkular/inventory/resourceTypes>; rel="current"
96
+ body:
97
+ encoding: ASCII-8BIT
98
+ string: |-
99
+ [ {
100
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/rt;URL",
101
+ "id" : "URL"
102
+ }, {
103
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Operating%20System",
104
+ "name" : "Operating System",
105
+ "id" : "Operating System"
106
+ }, {
107
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;File%20Store",
108
+ "name" : "File Store",
109
+ "id" : "File Store"
110
+ }, {
111
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Memory",
112
+ "name" : "Memory",
113
+ "id" : "Memory"
114
+ }, {
115
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Processor",
116
+ "name" : "Processor",
117
+ "id" : "Processor"
118
+ }, {
119
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;WildFly%20Server",
120
+ "name" : "WildFly Server",
121
+ "id" : "WildFly Server"
122
+ }, {
123
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Datasource",
124
+ "name" : "Datasource",
125
+ "id" : "Datasource"
126
+ }, {
127
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;JDBC%20Driver",
128
+ "name" : "JDBC Driver",
129
+ "id" : "JDBC Driver"
130
+ }, {
131
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
132
+ "name" : "Deployment",
133
+ "id" : "Deployment"
134
+ }, {
135
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Singleton%20EJB",
136
+ "name" : "Singleton EJB",
137
+ "id" : "Singleton EJB"
138
+ }, {
139
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Stateless%20Session%20EJB",
140
+ "name" : "Stateless Session EJB",
141
+ "id" : "Stateless Session EJB"
142
+ }, {
143
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Message%20Driven%20EJB",
144
+ "name" : "Message Driven EJB",
145
+ "id" : "Message Driven EJB"
146
+ }, {
147
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Servlet",
148
+ "name" : "Servlet",
149
+ "id" : "Servlet"
150
+ }, {
151
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;SubDeployment",
152
+ "name" : "SubDeployment",
153
+ "id" : "SubDeployment"
154
+ }, {
155
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Transaction%20Manager",
156
+ "name" : "Transaction Manager",
157
+ "id" : "Transaction Manager"
158
+ }, {
159
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Messaging%20Server",
160
+ "name" : "Messaging Server",
161
+ "id" : "Messaging Server"
162
+ }, {
163
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;JMS%20Topic",
164
+ "name" : "JMS Topic",
165
+ "id" : "JMS Topic"
166
+ }, {
167
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;JMS%20Queue",
168
+ "name" : "JMS Queue",
169
+ "id" : "JMS Queue"
170
+ }, {
171
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Hawkular%20WildFly%20Agent",
172
+ "name" : "Hawkular WildFly Agent",
173
+ "id" : "Hawkular WildFly Agent"
174
+ } ]
175
+ http_version:
176
+ recorded_at: Thu, 18 Feb 2016 22:30:14 GMT
177
+ 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
- - Mon, 30 Nov 2015 11:16:27 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: Mon, 30 Nov 2015 11:16:27 GMT
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,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
- - Mon, 30 Nov 2015 11:16:27 GMT
85
+ - Thu, 18 Feb 2016 22:30:16 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=
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
+ } ]
106
110
  http_version:
107
- recorded_at: Mon, 30 Nov 2015 11:16:27 GMT
111
+ recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
108
112
  - request:
109
113
  method: get
110
- uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/children
114
+ uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/children
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,11 +140,11 @@ 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
- - Mon, 30 Nov 2015 11:16:28 GMT
147
+ - Thu, 18 Feb 2016 22:30:16 GMT
146
148
  X-Total-Count:
147
149
  - '21'
148
150
  Connection:
@@ -150,31 +152,203 @@ http_interactions:
150
152
  Content-Type:
151
153
  - application/json
152
154
  Content-Length:
153
- - '777'
155
+ - '9140'
154
156
  Link:
155
- - <http://localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/children>;
157
+ - <http://localhost:8080/hawkular/inventory/feeds/f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/resources/Local~~/children>;
156
158
  rel="current"
157
159
  body:
158
160
  encoding: ASCII-8BIT
159
- string: !binary |-
160
- H4sIAAAAAAAAAN2ZT2/aMBjG7/0UFlJv9egC69AqDuvQNO3PaZV2qHpw7BfI
161
- SGxkG1A0tZ99DgQSiAOEonreAYHzOs77PD9ex04e0J8LhFpTosct9AG12vo2
162
- 6F0HN2HnBveG0MXdTifAvS7t4XdBF96+75CbXjhsD28VB6nbcvX9/F1QEj8/
163
- 77Qvg89qFqpUaUj6jGiixExSUOZ41sKrZv8LWUxmMZGDn62rLBudTiHLJkvt
164
- Rcnp28HmosuhzWicJMvBW9VQxHYD5vjTMiXLWeihyPtxlXg+QNmCttWAdo38
165
- i6erfwHIN0hpLMjENyBF3i8CUpLvEMhvFlLMZDQH2R8HZwfxdXD36TK4Hiwv
166
- UGGRRdF2LPeyHKnSKEXRwzhojGFH9CvYz2AaizQBrvvjvBAxFUlCOMMjomFB
167
- Urwg8o35nL8YNteuFkMltC6GImAphk3QuH9AzR42TTxxhIjEpovChOpIcIUh
168
- IVHsMaM6OQ0h1briitLcJICpBKKFzyVU0dGUS8UHR0AWUcyGcYrJyBzGTCy4
169
- udExj8nUC2qIaI8zbqc4CUp7DGhHxWkT2sYDRygiPjdtIVPMIq9pVIU0BGJx
170
- wlV5UCpm3Pw5IMtI4ZDQCXCf57I9ipqWzR5vHOGaRnwEPq8BCgENYZSUO/I+
171
- AS0jqrI1/FRwE/IYg1VLQyJ2PxxuNleL9RAYA4YpUcrstCTBYPZY4C2pw8JO
172
- 2IIecMrxvcjjuipLOPFu46CKJvmjOqxAzn28vVgEHOe+TbmzGYwrEYN/5tsU
173
- NJ6TCu2O7JfAxkRnVQhKmQW6hpEk2QOg/2BJfJS2hsiO88v1rkYBlaCxMnst
174
- nyurVs+pO5qKL6/6ikZLwlX+ePXsRO6LwS+D6x+Ek5Hl1UypF9rpk5tp61HF
175
- VTfOgbc1Ww68qvf2R3Vnp7B+HWsQ/FpdyPz6OLLVyboryjuirW65jzWdqkD2
176
- jHaASY0zbuiEM4VDKSZw/inrbqYMi7ti8LJ9Joi2Q7lppUDV9J2zjjW6JPLi
177
- CT3+BfbqhjtHIQAA
161
+ string: |-
162
+ [ {
163
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=ExampleDS",
164
+ "type" : {
165
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Datasource",
166
+ "name" : "Datasource",
167
+ "id" : "Datasource"
168
+ },
169
+ "name" : "ExampleDS",
170
+ "id" : "Local~/subsystem=datasources/data-source=ExampleDS"
171
+ }, {
172
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fdata-source=KeycloakDS",
173
+ "type" : {
174
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Datasource",
175
+ "name" : "Datasource",
176
+ "id" : "Datasource"
177
+ },
178
+ "name" : "KeycloakDS",
179
+ "id" : "Local~/subsystem=datasources/data-source=KeycloakDS"
180
+ }, {
181
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=datasources%2Fjdbc-driver=h2",
182
+ "type" : {
183
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;JDBC%20Driver",
184
+ "name" : "JDBC Driver",
185
+ "id" : "JDBC Driver"
186
+ },
187
+ "name" : "h2",
188
+ "id" : "Local~/subsystem=datasources/jdbc-driver=h2"
189
+ }, {
190
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-command-gateway-war.war",
191
+ "type" : {
192
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
193
+ "name" : "Deployment",
194
+ "id" : "Deployment"
195
+ },
196
+ "name" : "hawkular-command-gateway-war.war",
197
+ "id" : "Local~/deployment=hawkular-command-gateway-war.war"
198
+ }, {
199
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-alerts-actions-email.war",
200
+ "type" : {
201
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
202
+ "name" : "Deployment",
203
+ "id" : "Deployment"
204
+ },
205
+ "name" : "hawkular-alerts-actions-email.war",
206
+ "id" : "Local~/deployment=hawkular-alerts-actions-email.war"
207
+ }, {
208
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-wildfly-agent-download.war",
209
+ "type" : {
210
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
211
+ "name" : "Deployment",
212
+ "id" : "Deployment"
213
+ },
214
+ "name" : "hawkular-wildfly-agent-download.war",
215
+ "id" : "Local~/deployment=hawkular-wildfly-agent-download.war"
216
+ }, {
217
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-avail-creator.war",
218
+ "type" : {
219
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
220
+ "name" : "Deployment",
221
+ "id" : "Deployment"
222
+ },
223
+ "name" : "hawkular-avail-creator.war",
224
+ "id" : "Local~/deployment=hawkular-avail-creator.war"
225
+ }, {
226
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=secret-store.war",
227
+ "type" : {
228
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
229
+ "name" : "Deployment",
230
+ "id" : "Deployment"
231
+ },
232
+ "name" : "secret-store.war",
233
+ "id" : "Local~/deployment=secret-store.war"
234
+ }, {
235
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-inventory-dist.war",
236
+ "type" : {
237
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
238
+ "name" : "Deployment",
239
+ "id" : "Deployment"
240
+ },
241
+ "name" : "hawkular-inventory-dist.war",
242
+ "id" : "Local~/deployment=hawkular-inventory-dist.war"
243
+ }, {
244
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-alerts-rest.war",
245
+ "type" : {
246
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
247
+ "name" : "Deployment",
248
+ "id" : "Deployment"
249
+ },
250
+ "name" : "hawkular-alerts-rest.war",
251
+ "id" : "Local~/deployment=hawkular-alerts-rest.war"
252
+ }, {
253
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-accounts-events-backend.war",
254
+ "type" : {
255
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
256
+ "name" : "Deployment",
257
+ "id" : "Deployment"
258
+ },
259
+ "name" : "hawkular-accounts-events-backend.war",
260
+ "id" : "Local~/deployment=hawkular-accounts-events-backend.war"
261
+ }, {
262
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-pinger.war",
263
+ "type" : {
264
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
265
+ "name" : "Deployment",
266
+ "id" : "Deployment"
267
+ },
268
+ "name" : "hawkular-pinger.war",
269
+ "id" : "Local~/deployment=hawkular-pinger.war"
270
+ }, {
271
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-rest-api.war",
272
+ "type" : {
273
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
274
+ "name" : "Deployment",
275
+ "id" : "Deployment"
276
+ },
277
+ "name" : "hawkular-rest-api.war",
278
+ "id" : "Local~/deployment=hawkular-rest-api.war"
279
+ }, {
280
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-metrics-component.war",
281
+ "type" : {
282
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
283
+ "name" : "Deployment",
284
+ "id" : "Deployment"
285
+ },
286
+ "name" : "hawkular-metrics-component.war",
287
+ "id" : "Local~/deployment=hawkular-metrics-component.war"
288
+ }, {
289
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-commons-embedded-cassandra-ear.ear",
290
+ "type" : {
291
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
292
+ "name" : "Deployment",
293
+ "id" : "Deployment"
294
+ },
295
+ "name" : "hawkular-commons-embedded-cassandra-ear.ear",
296
+ "id" : "Local~/deployment=hawkular-commons-embedded-cassandra-ear.ear"
297
+ }, {
298
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-accounts.war",
299
+ "type" : {
300
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
301
+ "name" : "Deployment",
302
+ "id" : "Deployment"
303
+ },
304
+ "name" : "hawkular-accounts.war",
305
+ "id" : "Local~/deployment=hawkular-accounts.war"
306
+ }, {
307
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=keycloak-server.war",
308
+ "type" : {
309
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
310
+ "name" : "Deployment",
311
+ "id" : "Deployment"
312
+ },
313
+ "name" : "keycloak-server.war",
314
+ "id" : "Local~/deployment=keycloak-server.war"
315
+ }, {
316
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fdeployment=hawkular-console.war",
317
+ "type" : {
318
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Deployment",
319
+ "name" : "Deployment",
320
+ "id" : "Deployment"
321
+ },
322
+ "name" : "hawkular-console.war",
323
+ "id" : "Local~/deployment=hawkular-console.war"
324
+ }, {
325
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=transactions",
326
+ "type" : {
327
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Transaction%20Manager",
328
+ "name" : "Transaction Manager",
329
+ "id" : "Transaction Manager"
330
+ },
331
+ "name" : "Transaction Manager",
332
+ "id" : "Local~/subsystem=transactions"
333
+ }, {
334
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=messaging-activemq%2Fserver=default",
335
+ "type" : {
336
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Messaging%20Server",
337
+ "name" : "Messaging Server",
338
+ "id" : "Messaging Server"
339
+ },
340
+ "name" : "Messaging Server [default]",
341
+ "id" : "Local~/subsystem=messaging-activemq/server=default"
342
+ }, {
343
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/r;Local~~/r;Local~%2Fsubsystem=hawkular-wildfly-agent",
344
+ "type" : {
345
+ "path" : "/t;28026b36-8fe4-4332-84c8-524e173a68bf/f;f1cb161f-4de3-44b9-a2a4-bdc5a2064f88/rt;Hawkular%20WildFly%20Agent",
346
+ "name" : "Hawkular WildFly Agent",
347
+ "id" : "Hawkular WildFly Agent"
348
+ },
349
+ "name" : "Hawkular WildFly Agent",
350
+ "id" : "Local~/subsystem=hawkular-wildfly-agent"
351
+ } ]
178
352
  http_version:
179
- recorded_at: Mon, 30 Nov 2015 11:16:28 GMT
180
- recorded_with: VCR 3.0.0
353
+ recorded_at: Thu, 18 Feb 2016 22:30:16 GMT
354
+ recorded_with: VCR 3.0.1