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.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +2 -1
- data/.rubocop.yml +19 -6
- data/CHANGES.rdoc +13 -3
- data/README.rdoc +9 -3
- data/hawkularclient.gemspec +8 -4
- data/lib/alerts/alerts_api.rb +202 -32
- data/lib/hawkular.rb +35 -67
- data/lib/hawkular_all.rb +2 -0
- data/lib/inventory/inventory_api.rb +459 -130
- data/lib/metrics/metric_api.rb +14 -9
- data/lib/operations/operations_api.rb +247 -0
- data/lib/tokens/tokens_api.rb +33 -0
- data/lib/version.rb +1 -1
- data/spec/integration/alerts_spec.rb +272 -20
- data/spec/integration/hello-world-definitions.json +46 -0
- data/spec/integration/inventory_spec.rb +253 -89
- data/spec/integration/metric_spec.rb +36 -0
- data/spec/integration/operations_spec.rb +420 -0
- data/spec/integration/tokens_spec.rb +45 -0
- data/spec/resources/driver.jar +0 -0
- data/spec/resources/sample.war +0 -0
- data/spec/spec_helper.rb +30 -6
- data/spec/unit/base_spec.rb +22 -1
- data/spec/unit/canonical_path_spec.rb +92 -0
- data/spec/vcr/vcr_setup.rb +3 -4
- data/spec/vcr_cassettes/Alert/EndToEnd/Should_create_and_fire_a_trigger.yml +1187 -0
- data/spec/vcr_cassettes/Alert/Events/Should_list_events.yml +101 -0
- data/spec/vcr_cassettes/Alert/Events/Should_list_events_using_criteria.yml +79 -0
- data/spec/vcr_cassettes/Alert/Events/Should_not_list_events_using_criteria.yml +49 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml +225 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_a_basic_trigger_with_action.yml +355 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml +134 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml +220 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_get_the_action_definitions.yml +218 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_plugin.yml +46 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_not_create_an_action_for_unknown_properties.yml +134 -0
- data/spec/vcr_cassettes/Counter_metrics/Should_get_metrics_with_limit_and_order.yml +270 -0
- data/spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.json +47 -0
- data/spec/vcr_cassettes/Inventory/Client_should_listen_on_various_inventory_events.yml +191 -0
- data/spec/vcr_cassettes/Inventory/Helpers/generate_some_events_for_websocket.yml +507 -0
- data/spec/vcr_cassettes/Inventory/Should_List_datasources_with_no_props.yml +74 -69
- data/spec/vcr_cassettes/Inventory/{Should_list_types_without_feed.yml → Should_create_a_feed.yml} +29 -32
- data/spec/vcr_cassettes/Inventory/Should_create_a_feed_again.yml +211 -0
- data/spec/vcr_cassettes/Inventory/Should_create_a_resource_.yml +355 -0
- data/spec/vcr_cassettes/Inventory/Should_create_a_resource_with_metric.yml +786 -0
- data/spec/vcr_cassettes/Inventory/Should_create_a_resourcetype.yml +205 -0
- data/spec/vcr_cassettes/Inventory/Should_create_and_delete_feed.yml +201 -0
- data/spec/vcr_cassettes/Inventory/Should_create_and_get_a_resource.yml +419 -0
- data/spec/vcr_cassettes/Inventory/Should_list_URLs.yml +39 -27
- data/spec/vcr_cassettes/Inventory/Should_list_WildFlys.yml +37 -29
- data/spec/vcr_cassettes/Inventory/Should_list_WildFlys_with_props.yml +53 -45
- data/spec/vcr_cassettes/Inventory/Should_list_all_the_resource_types.yml +177 -0
- data/spec/vcr_cassettes/Inventory/Should_list_children_of_WildFly.yml +230 -56
- data/spec/vcr_cassettes/Inventory/Should_list_feeds.yml +27 -24
- data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +586 -119
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +220 -59
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_metric_type.yml +613 -0
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_of_given_resource_type.yml +333 -0
- data/spec/vcr_cassettes/Inventory/Should_list_recursive_children_of_WildFly.yml +2064 -0
- data/spec/vcr_cassettes/Inventory/Should_list_relationships_of_WildFly.yml +460 -0
- data/spec/vcr_cassettes/Inventory/Should_list_types_with_bad_feed.yml +26 -25
- data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +102 -36
- data/spec/vcr_cassettes/Inventory/Should_not_find_an_unknown_resource.yml +54 -0
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
- data/spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
- data/spec/vcr_cassettes/Operation/Helpers/get_tenant.yml +50 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_JDBC_driver_should_add_the_driver.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_datasource_should_be_doable.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Add_deployment_should_be_doable.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_can_be_run_multiple_times_in_parallel.json +40 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Redeploy_should_not_be_performed_if_resource_path_is_wrong.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_JDBC_driver_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_datasource_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Remove_deployment_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/Undeploy_should_be_performed_and_eventually_respond_with_success.json +26 -0
- data/spec/vcr_cassettes/Operation/Operation/should_not_be_possible_to_perform_on_closed_client.json +12 -0
- data/spec/vcr_cassettes/Operation/Websocket_connection/should_be_established.json +9 -0
- data/spec/vcr_cassettes/Tokens/Should_be_able_to_create_a_new_token_for_an_actual_user.yml +57 -0
- data/spec/vcr_cassettes/Tokens/Should_be_able_to_list_the_available_tokens.yml +49 -0
- data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_with_a_wrong_password.yml +56 -0
- data/spec/vcr_cassettes/Tokens/Should_get_a_401_when_attempting_to_create_a_token_without_a_password.yml +55 -0
- metadata +175 -11
- 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/
|
30
|
+
- WildFly/10
|
33
31
|
Pragma:
|
34
32
|
- no-cache
|
35
33
|
Date:
|
36
|
-
-
|
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
|
-
- '
|
40
|
+
- '105'
|
43
41
|
body:
|
44
42
|
encoding: ASCII-8BIT
|
45
|
-
string:
|
46
|
-
|
47
|
-
|
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:
|
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/
|
81
|
+
- WildFly/10
|
80
82
|
Pragma:
|
81
83
|
- no-cache
|
82
84
|
Date:
|
83
|
-
-
|
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
|
-
- '
|
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:
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
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:
|
105
|
-
recorded_with: VCR 3.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/
|
30
|
+
- WildFly/10
|
33
31
|
Pragma:
|
34
32
|
- no-cache
|
35
33
|
Date:
|
36
|
-
-
|
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
|
-
- '
|
40
|
+
- '105'
|
43
41
|
body:
|
44
42
|
encoding: ASCII-8BIT
|
45
|
-
string:
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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/
|
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/
|
81
|
+
- WildFly/10
|
80
82
|
Pragma:
|
81
83
|
- no-cache
|
82
84
|
Date:
|
83
|
-
-
|
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
|
-
- '
|
93
|
+
- '351'
|
92
94
|
Link:
|
93
|
-
- <http://localhost:8080/hawkular/inventory/feeds/
|
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:
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
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/
|
30
|
+
- WildFly/10
|
33
31
|
Pragma:
|
34
32
|
- no-cache
|
35
33
|
Date:
|
36
|
-
-
|
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
|
-
- '
|
40
|
+
- '105'
|
43
41
|
body:
|
44
42
|
encoding: ASCII-8BIT
|
45
|
-
string:
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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/
|
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/
|
81
|
+
- WildFly/10
|
84
82
|
Pragma:
|
85
83
|
- no-cache
|
86
84
|
Date:
|
87
|
-
-
|
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
|
-
- '
|
93
|
+
- '351'
|
96
94
|
Link:
|
97
|
-
- <http://localhost:8080/hawkular/inventory/feeds/
|
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:
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
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/
|
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/
|
143
|
+
- WildFly/10
|
142
144
|
Pragma:
|
143
145
|
- no-cache
|
144
146
|
Date:
|
145
|
-
-
|
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
|
-
- '
|
153
|
+
- '351'
|
152
154
|
body:
|
153
155
|
encoding: ASCII-8BIT
|
154
|
-
string:
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
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
|