hawkular-client 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/CHANGES.rdoc +8 -0
- data/README.rdoc +12 -5
- data/hawkularclient.gemspec +2 -2
- data/lib/alerts/alerts_api.rb +193 -0
- data/lib/{hawkularclient.rb → hawkular.rb} +93 -52
- data/lib/hawkular_all.rb +7 -0
- data/lib/inventory/inventory_api.rb +378 -0
- data/lib/metrics/metric_api.rb +20 -10
- data/lib/metrics/metrics_client.rb +52 -0
- data/lib/metrics/tenant_api.rb +1 -1
- data/lib/metrics/version.rb +3 -1
- data/lib/version.rb +8 -0
- data/spec/integration/alerts_spec.rb +143 -0
- data/spec/integration/inventory_spec.rb +191 -0
- data/spec/integration/metric_spec.rb +33 -0
- data/spec/spec_helper.rb +14 -1
- data/spec/unit/base_spec.rb +57 -0
- data/spec/vcr_cassettes/Alert/Alerts/Should_acknowledge_an_alert.yml +183 -0
- data/spec/vcr_cassettes/Alert/Alerts/Should_fetch_single_alert.yml +69 -0
- data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts.yml +85 -0
- data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_trigger.yml +142 -0
- data/spec/vcr_cassettes/Alert/Alerts/Should_list_alerts_for_unknown_trigger.yml +46 -0
- data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert.yml +181 -0
- data/spec/vcr_cassettes/Alert/Alerts/Should_resolve_an_alert2.yml +49 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers.yml +62 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_ID.yml +55 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tag.yml +68 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml +68 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml +138 -0
- data/spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_metric_Trigger.yml +50 -0
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem.yml +44 -0
- data/spec/vcr_cassettes/Gauge_metrics/Platform_mem_def.yml +45 -0
- data/spec/vcr_cassettes/Inventory/Should_List_datasources_with_no_props.yml +228 -0
- data/spec/vcr_cassettes/Inventory/Should_list_URLs.yml +105 -0
- data/spec/vcr_cassettes/Inventory/Should_list_WildFlys.yml +104 -0
- data/spec/vcr_cassettes/Inventory/Should_list_WildFlys_with_props.yml +162 -0
- data/spec/vcr_cassettes/Inventory/Should_list_children_of_WildFly.yml +180 -0
- data/spec/vcr_cassettes/Inventory/Should_list_feeds.yml +102 -0
- data/spec/vcr_cassettes/Inventory/Should_list_heap_metrics_for_WildFlys.yml +308 -0
- data/spec/vcr_cassettes/Inventory/Should_list_metrics_for_WildFlys.yml +172 -0
- data/spec/vcr_cassettes/Inventory/Should_list_types_with_bad_feed.yml +101 -0
- data/spec/vcr_cassettes/Inventory/Should_list_types_with_feed.yml +109 -0
- data/spec/vcr_cassettes/Inventory/Should_list_types_without_feed.yml +110 -0
- data/spec/vcr_cassettes/Metrics/Status.yml +44 -0
- data/spec/vcr_cassettes/No_Tenant/Should_fail.yml +42 -0
- data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml +50 -0
- data/spec/vcr_cassettes/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml +50 -0
- metadata +74 -3
@@ -0,0 +1,105 @@
|
|
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
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Encoding:
|
24
|
+
- gzip
|
25
|
+
Expires:
|
26
|
+
- '0'
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache, no-store, must-revalidate
|
29
|
+
X-Powered-By:
|
30
|
+
- Undertow/1
|
31
|
+
Server:
|
32
|
+
- WildFly/9
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Date:
|
36
|
+
- Tue, 10 Nov 2015 14:01:18 GMT
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Type:
|
40
|
+
- application/json
|
41
|
+
Content-Length:
|
42
|
+
- '85'
|
43
|
+
body:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
H4sIAAAAAAAAAKvmUlBQKkgsyVBSsFJQ0i+xNrIwMDJLMjbTtUhLNdE1MTY2
|
47
|
+
0rUwSbbQNTUySTU0N040s0hKU9IB6cpMAeshSgNXLQAnmwH5aQAAAA==
|
48
|
+
http_version:
|
49
|
+
recorded_at: Tue, 10 Nov 2015 14:01:18 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/resourceTypes/URL/resources
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip, deflate
|
61
|
+
Content-Type:
|
62
|
+
- application/json
|
63
|
+
User-Agent:
|
64
|
+
- Ruby
|
65
|
+
response:
|
66
|
+
status:
|
67
|
+
code: 200
|
68
|
+
message: OK
|
69
|
+
headers:
|
70
|
+
Content-Encoding:
|
71
|
+
- gzip
|
72
|
+
Expires:
|
73
|
+
- '0'
|
74
|
+
Cache-Control:
|
75
|
+
- no-cache, no-store, must-revalidate
|
76
|
+
X-Powered-By:
|
77
|
+
- Undertow/1
|
78
|
+
Server:
|
79
|
+
- WildFly/9
|
80
|
+
Pragma:
|
81
|
+
- no-cache
|
82
|
+
Date:
|
83
|
+
- Tue, 10 Nov 2015 14:01:22 GMT
|
84
|
+
X-Total-Count:
|
85
|
+
- '1'
|
86
|
+
Connection:
|
87
|
+
- keep-alive
|
88
|
+
Content-Type:
|
89
|
+
- application/json
|
90
|
+
Content-Length:
|
91
|
+
- '269'
|
92
|
+
Link:
|
93
|
+
- <http://localhost:8080/hawkular/inventory/resourceTypes/URL/resources>; rel="current"
|
94
|
+
body:
|
95
|
+
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=
|
103
|
+
http_version:
|
104
|
+
recorded_at: Tue, 10 Nov 2015 14:01:22 GMT
|
105
|
+
recorded_with: VCR 3.0.0
|
@@ -0,0 +1,104 @@
|
|
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
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Encoding:
|
24
|
+
- gzip
|
25
|
+
Expires:
|
26
|
+
- '0'
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache, no-store, must-revalidate
|
29
|
+
X-Powered-By:
|
30
|
+
- Undertow/1
|
31
|
+
Server:
|
32
|
+
- WildFly/9
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Date:
|
36
|
+
- Fri, 06 Nov 2015 19:28:58 GMT
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Type:
|
40
|
+
- application/json
|
41
|
+
Content-Length:
|
42
|
+
- '85'
|
43
|
+
body:
|
44
|
+
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
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip, deflate
|
61
|
+
Content-Type:
|
62
|
+
- application/json
|
63
|
+
User-Agent:
|
64
|
+
- Ruby
|
65
|
+
response:
|
66
|
+
status:
|
67
|
+
code: 200
|
68
|
+
message: OK
|
69
|
+
headers:
|
70
|
+
Content-Encoding:
|
71
|
+
- gzip
|
72
|
+
Expires:
|
73
|
+
- '0'
|
74
|
+
Cache-Control:
|
75
|
+
- no-cache, no-store, must-revalidate
|
76
|
+
X-Powered-By:
|
77
|
+
- Undertow/1
|
78
|
+
Server:
|
79
|
+
- WildFly/9
|
80
|
+
Pragma:
|
81
|
+
- no-cache
|
82
|
+
Date:
|
83
|
+
- Fri, 06 Nov 2015 19:28:58 GMT
|
84
|
+
X-Total-Count:
|
85
|
+
- '1'
|
86
|
+
Connection:
|
87
|
+
- keep-alive
|
88
|
+
Content-Type:
|
89
|
+
- application/json
|
90
|
+
Content-Length:
|
91
|
+
- '177'
|
92
|
+
Link:
|
93
|
+
- <http://localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources>;
|
94
|
+
rel="current"
|
95
|
+
body:
|
96
|
+
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
|
@@ -0,0 +1,162 @@
|
|
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
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Encoding:
|
24
|
+
- gzip
|
25
|
+
Expires:
|
26
|
+
- '0'
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache, no-store, must-revalidate
|
29
|
+
X-Powered-By:
|
30
|
+
- Undertow/1
|
31
|
+
Server:
|
32
|
+
- WildFly/9
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Date:
|
36
|
+
- Tue, 01 Dec 2015 11:18:04 GMT
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Type:
|
40
|
+
- application/json
|
41
|
+
Content-Length:
|
42
|
+
- '85'
|
43
|
+
body:
|
44
|
+
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
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip, deflate
|
61
|
+
Hawkular-Tenant:
|
62
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
63
|
+
Tenantid:
|
64
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
65
|
+
Content-Type:
|
66
|
+
- application/json
|
67
|
+
User-Agent:
|
68
|
+
- Ruby
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 200
|
72
|
+
message: OK
|
73
|
+
headers:
|
74
|
+
Content-Encoding:
|
75
|
+
- gzip
|
76
|
+
Expires:
|
77
|
+
- '0'
|
78
|
+
Cache-Control:
|
79
|
+
- no-cache, no-store, must-revalidate
|
80
|
+
X-Powered-By:
|
81
|
+
- Undertow/1
|
82
|
+
Server:
|
83
|
+
- WildFly/9
|
84
|
+
Pragma:
|
85
|
+
- no-cache
|
86
|
+
Date:
|
87
|
+
- Tue, 01 Dec 2015 11:18:04 GMT
|
88
|
+
X-Total-Count:
|
89
|
+
- '1'
|
90
|
+
Connection:
|
91
|
+
- keep-alive
|
92
|
+
Content-Type:
|
93
|
+
- application/json
|
94
|
+
Content-Length:
|
95
|
+
- '170'
|
96
|
+
Link:
|
97
|
+
- <http://localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources>;
|
98
|
+
rel="current"
|
99
|
+
body:
|
100
|
+
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
|
108
|
+
- request:
|
109
|
+
method: get
|
110
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/data?dataType=configuration
|
111
|
+
body:
|
112
|
+
encoding: US-ASCII
|
113
|
+
string: ''
|
114
|
+
headers:
|
115
|
+
Accept:
|
116
|
+
- application/json
|
117
|
+
Accept-Encoding:
|
118
|
+
- gzip, deflate
|
119
|
+
Hawkular-Tenant:
|
120
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
121
|
+
Tenantid:
|
122
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
123
|
+
Content-Type:
|
124
|
+
- application/json
|
125
|
+
User-Agent:
|
126
|
+
- Ruby
|
127
|
+
response:
|
128
|
+
status:
|
129
|
+
code: 200
|
130
|
+
message: OK
|
131
|
+
headers:
|
132
|
+
Content-Encoding:
|
133
|
+
- gzip
|
134
|
+
Expires:
|
135
|
+
- '0'
|
136
|
+
Cache-Control:
|
137
|
+
- no-cache, no-store, must-revalidate
|
138
|
+
X-Powered-By:
|
139
|
+
- Undertow/1
|
140
|
+
Server:
|
141
|
+
- WildFly/9
|
142
|
+
Pragma:
|
143
|
+
- no-cache
|
144
|
+
Date:
|
145
|
+
- Tue, 01 Dec 2015 11:18:04 GMT
|
146
|
+
Connection:
|
147
|
+
- keep-alive
|
148
|
+
Content-Type:
|
149
|
+
- application/json
|
150
|
+
Content-Length:
|
151
|
+
- '208'
|
152
|
+
body:
|
153
|
+
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
|
@@ -0,0 +1,180 @@
|
|
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
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Content-Encoding:
|
24
|
+
- gzip
|
25
|
+
Expires:
|
26
|
+
- '0'
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache, no-store, must-revalidate
|
29
|
+
X-Powered-By:
|
30
|
+
- Undertow/1
|
31
|
+
Server:
|
32
|
+
- WildFly/9
|
33
|
+
Pragma:
|
34
|
+
- no-cache
|
35
|
+
Date:
|
36
|
+
- Mon, 30 Nov 2015 11:16:27 GMT
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Type:
|
40
|
+
- application/json
|
41
|
+
Content-Length:
|
42
|
+
- '85'
|
43
|
+
body:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
H4sIAAAAAAAAAKvmUlBQKkgsyVBSsFJQ0i+xNrIwMDJLMjbTtUhLNdE1MTY2
|
47
|
+
0rUwSbbQNTUySTU0N040s0hKU9IB6cpMAeshSgNXLQAnmwH5aQAAAA==
|
48
|
+
http_version:
|
49
|
+
recorded_at: Mon, 30 Nov 2015 11:16:27 GMT
|
50
|
+
- request:
|
51
|
+
method: get
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip, deflate
|
61
|
+
Hawkular-Tenant:
|
62
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
63
|
+
Tenantid:
|
64
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
65
|
+
Content-Type:
|
66
|
+
- application/json
|
67
|
+
User-Agent:
|
68
|
+
- Ruby
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 200
|
72
|
+
message: OK
|
73
|
+
headers:
|
74
|
+
Content-Encoding:
|
75
|
+
- gzip
|
76
|
+
Expires:
|
77
|
+
- '0'
|
78
|
+
Cache-Control:
|
79
|
+
- no-cache, no-store, must-revalidate
|
80
|
+
X-Powered-By:
|
81
|
+
- Undertow/1
|
82
|
+
Server:
|
83
|
+
- WildFly/9
|
84
|
+
Pragma:
|
85
|
+
- no-cache
|
86
|
+
Date:
|
87
|
+
- Mon, 30 Nov 2015 11:16:27 GMT
|
88
|
+
X-Total-Count:
|
89
|
+
- '1'
|
90
|
+
Connection:
|
91
|
+
- keep-alive
|
92
|
+
Content-Type:
|
93
|
+
- application/json
|
94
|
+
Content-Length:
|
95
|
+
- '170'
|
96
|
+
Link:
|
97
|
+
- <http://localhost:8080/hawkular/inventory/feeds/snert/resourceTypes/WildFly%20Server/resources>;
|
98
|
+
rel="current"
|
99
|
+
body:
|
100
|
+
encoding: ASCII-8BIT
|
101
|
+
string: !binary |-
|
102
|
+
H4sIAAAAAAAAAItWqOZSUFAqSCzJUFKwUlDSL7E2sjAwMksyNtO1SEs10TUx
|
103
|
+
NjbStTBJttA1NTJJNTQ3TjSzSErTT7MuzkstKtEvgtB1PvnJiTl1dUo6INNK
|
104
|
+
KgtSQaaBjKbI8BLr8MycFLecSlUjg+DUorLUIrAFQDPzEnPBVihBFSigSmem
|
105
|
+
YJMEytWCHYhDt0I02N5YiC+gZqD6j6tWIRYAJJoICzQBAAA=
|
106
|
+
http_version:
|
107
|
+
recorded_at: Mon, 30 Nov 2015 11:16:27 GMT
|
108
|
+
- request:
|
109
|
+
method: get
|
110
|
+
uri: http://jdoe:password@localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/children
|
111
|
+
body:
|
112
|
+
encoding: US-ASCII
|
113
|
+
string: ''
|
114
|
+
headers:
|
115
|
+
Accept:
|
116
|
+
- application/json
|
117
|
+
Accept-Encoding:
|
118
|
+
- gzip, deflate
|
119
|
+
Hawkular-Tenant:
|
120
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
121
|
+
Tenantid:
|
122
|
+
- 28026b36-8fe4-4332-84c8-524e173a68bf
|
123
|
+
Content-Type:
|
124
|
+
- application/json
|
125
|
+
User-Agent:
|
126
|
+
- Ruby
|
127
|
+
response:
|
128
|
+
status:
|
129
|
+
code: 200
|
130
|
+
message: OK
|
131
|
+
headers:
|
132
|
+
Content-Encoding:
|
133
|
+
- gzip
|
134
|
+
Expires:
|
135
|
+
- '0'
|
136
|
+
Cache-Control:
|
137
|
+
- no-cache, no-store, must-revalidate
|
138
|
+
X-Powered-By:
|
139
|
+
- Undertow/1
|
140
|
+
Server:
|
141
|
+
- WildFly/9
|
142
|
+
Pragma:
|
143
|
+
- no-cache
|
144
|
+
Date:
|
145
|
+
- Mon, 30 Nov 2015 11:16:28 GMT
|
146
|
+
X-Total-Count:
|
147
|
+
- '21'
|
148
|
+
Connection:
|
149
|
+
- keep-alive
|
150
|
+
Content-Type:
|
151
|
+
- application/json
|
152
|
+
Content-Length:
|
153
|
+
- '777'
|
154
|
+
Link:
|
155
|
+
- <http://localhost:8080/hawkular/inventory/feeds/snert/resources/snert~Local~~/children>;
|
156
|
+
rel="current"
|
157
|
+
body:
|
158
|
+
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
|
178
|
+
http_version:
|
179
|
+
recorded_at: Mon, 30 Nov 2015 11:16:28 GMT
|
180
|
+
recorded_with: VCR 3.0.0
|