hawkular-client 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/CHANGES.rdoc +13 -0
- data/README.rdoc +94 -2
- data/hawkularclient.gemspec +1 -0
- data/lib/hawkular/alerts/alerts_api.rb +7 -3
- data/lib/hawkular/base_client.rb +22 -0
- data/lib/hawkular/hawkular_client.rb +1 -1
- data/lib/hawkular/inventory/inventory_api.rb +18 -1
- data/lib/hawkular/metrics/metric_api.rb +39 -3
- data/lib/hawkular/metrics/metrics_client.rb +2 -2
- data/lib/hawkular/operations/operations_api.rb +1 -1
- data/lib/hawkular/tokens/tokens_api.rb +1 -1
- data/lib/hawkular/version.rb +1 -1
- data/spec/integration/alerts_spec.rb +41 -1
- data/spec/integration/hawkular_client_spec.rb +12 -4
- data/spec/integration/inventory_spec.rb +10 -3
- data/spec/integration/metric_spec.rb +82 -0
- data/spec/integration/operations_spec.rb +6 -1
- data/spec/spec_helper.rb +17 -0
- data/spec/unit/base_spec.rb +56 -1
- data/spec/unit/client_spec.rb +5 -12
- data/spec/vcr_cassettes/Alert/Triggers/Should_create_a_firing_ALL_ANY_trigger.yml +463 -0
- data/spec/vcr_cassettes/Availability_metrics/Should_group_contiguous_values.yml +93 -0
- data/spec/vcr_cassettes/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml +330 -0
- metadata +25 -4
@@ -0,0 +1,93 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '[{"timestamp":<%= now - 50 %>,"value":"up"},{"timestamp":<%= now - 40 %>,"value":"up"},{"timestamp":<%= now - 30 %>,"value":"down"},{"timestamp":<%= now - 20 %>,"value":"down"},{"timestamp":<%= now - 10 %>,"value":"down"},{"timestamp":<%= now %>,"value":"up"}]'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Hawkular-Tenant:
|
15
|
+
- vcr-test
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Content-Length:
|
19
|
+
- '253'
|
20
|
+
User-Agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Expires:
|
28
|
+
- '0'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Cache-Control:
|
32
|
+
- no-cache, no-store, must-revalidate
|
33
|
+
X-Powered-By:
|
34
|
+
- Undertow/1
|
35
|
+
Server:
|
36
|
+
- WildFly/10
|
37
|
+
Pragma:
|
38
|
+
- no-cache
|
39
|
+
Content-Length:
|
40
|
+
- '0'
|
41
|
+
Date:
|
42
|
+
- Thu, 30 Jun 2016 23:03:28 GMT
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: ''
|
46
|
+
http_version:
|
47
|
+
recorded_at: Thu, 30 Jun 2016 23:03:28 GMT
|
48
|
+
- request:
|
49
|
+
method: get
|
50
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/<%= id %>/data/?distinct=true&order=ASC
|
51
|
+
body:
|
52
|
+
encoding: US-ASCII
|
53
|
+
string: ''
|
54
|
+
headers:
|
55
|
+
Accept:
|
56
|
+
- application/json
|
57
|
+
Accept-Encoding:
|
58
|
+
- gzip, deflate
|
59
|
+
Hawkular-Tenant:
|
60
|
+
- vcr-test
|
61
|
+
Content-Type:
|
62
|
+
- application/json
|
63
|
+
User-Agent:
|
64
|
+
- Ruby
|
65
|
+
response:
|
66
|
+
status:
|
67
|
+
code: 200
|
68
|
+
message: OK
|
69
|
+
headers:
|
70
|
+
Expires:
|
71
|
+
- '0'
|
72
|
+
Cache-Control:
|
73
|
+
- no-cache, no-store, must-revalidate
|
74
|
+
X-Powered-By:
|
75
|
+
- Undertow/1
|
76
|
+
Server:
|
77
|
+
- WildFly/10
|
78
|
+
Pragma:
|
79
|
+
- no-cache
|
80
|
+
Date:
|
81
|
+
- Thu, 30 Jun 2016 23:03:28 GMT
|
82
|
+
Connection:
|
83
|
+
- keep-alive
|
84
|
+
Content-Type:
|
85
|
+
- application/json
|
86
|
+
Content-Length:
|
87
|
+
- '126'
|
88
|
+
body:
|
89
|
+
encoding: UTF-8
|
90
|
+
string: '[{"timestamp":<%= now - 50 %>,"value":"up"},{"timestamp":<%= now - 30 %>,"value":"down"},{"timestamp":<%= now %>,"value":"up"}]'
|
91
|
+
http_version:
|
92
|
+
recorded_at: Thu, 30 Jun 2016 23:03:28 GMT
|
93
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,330 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"ids":["<%= ids[0] %>","<%= ids[1] %>","<%= ids[2] %>"],"start":null,"end":null,"limit":null,"order":null}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
Hawkular-Tenant:
|
15
|
+
- vcr-test
|
16
|
+
Content-Type:
|
17
|
+
- application/json
|
18
|
+
Content-Length:
|
19
|
+
- '176'
|
20
|
+
User-Agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Expires:
|
28
|
+
- '0'
|
29
|
+
Cache-Control:
|
30
|
+
- no-cache, no-store, must-revalidate
|
31
|
+
X-Powered-By:
|
32
|
+
- Undertow/1
|
33
|
+
Server:
|
34
|
+
- WildFly/10
|
35
|
+
Pragma:
|
36
|
+
- no-cache
|
37
|
+
Date:
|
38
|
+
- Wed, 29 Jun 2016 16:41:22 GMT
|
39
|
+
Connection:
|
40
|
+
- keep-alive
|
41
|
+
Content-Type:
|
42
|
+
- application/json
|
43
|
+
Content-Length:
|
44
|
+
- '2'
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: "[]"
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 29 Jun 2016 16:41:22 GMT
|
50
|
+
- request:
|
51
|
+
method: post
|
52
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"ids":["<%= ids[0] %>","<%= ids[1] %>","<%= ids[2] %>"],"start":null,"end":null,"limit":null,"order":null}'
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip, deflate
|
61
|
+
Hawkular-Tenant:
|
62
|
+
- vcr-test
|
63
|
+
Content-Type:
|
64
|
+
- application/json
|
65
|
+
Content-Length:
|
66
|
+
- '176'
|
67
|
+
User-Agent:
|
68
|
+
- Ruby
|
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
|
+
- Wed, 29 Jun 2016 16:41:22 GMT
|
86
|
+
Connection:
|
87
|
+
- keep-alive
|
88
|
+
Content-Type:
|
89
|
+
- application/json
|
90
|
+
Content-Length:
|
91
|
+
- '2'
|
92
|
+
body:
|
93
|
+
encoding: UTF-8
|
94
|
+
string: "[]"
|
95
|
+
http_version:
|
96
|
+
recorded_at: Wed, 29 Jun 2016 16:41:22 GMT
|
97
|
+
- request:
|
98
|
+
method: post
|
99
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: '{"ids":["<%= ids[0] %>","<%= ids[1] %>","<%= ids[2] %>"],"start":null,"end":null,"limit":null,"order":null}'
|
103
|
+
headers:
|
104
|
+
Accept:
|
105
|
+
- application/json
|
106
|
+
Accept-Encoding:
|
107
|
+
- gzip, deflate
|
108
|
+
Hawkular-Tenant:
|
109
|
+
- vcr-test
|
110
|
+
Content-Type:
|
111
|
+
- application/json
|
112
|
+
Content-Length:
|
113
|
+
- '176'
|
114
|
+
User-Agent:
|
115
|
+
- Ruby
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
headers:
|
121
|
+
Expires:
|
122
|
+
- '0'
|
123
|
+
Cache-Control:
|
124
|
+
- no-cache, no-store, must-revalidate
|
125
|
+
X-Powered-By:
|
126
|
+
- Undertow/1
|
127
|
+
Server:
|
128
|
+
- WildFly/10
|
129
|
+
Pragma:
|
130
|
+
- no-cache
|
131
|
+
Date:
|
132
|
+
- Wed, 29 Jun 2016 16:41:22 GMT
|
133
|
+
Connection:
|
134
|
+
- keep-alive
|
135
|
+
Content-Type:
|
136
|
+
- application/json
|
137
|
+
Content-Length:
|
138
|
+
- '2'
|
139
|
+
body:
|
140
|
+
encoding: UTF-8
|
141
|
+
string: "[]"
|
142
|
+
http_version:
|
143
|
+
recorded_at: Wed, 29 Jun 2016 16:41:22 GMT
|
144
|
+
- request:
|
145
|
+
method: post
|
146
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/metrics/data
|
147
|
+
body:
|
148
|
+
encoding: UTF-8
|
149
|
+
string: '{"gauges":[{"id":"<%= ids[0] %>","data":[{"value":1.1,"timestamp":1467218482085}]},{"id":"<%= ids[1] %>","data":[{"value":2.2,"timestamp":1467218482085}]},{"id":"<%= ids[2] %>","data":[{"value":3.3,"timestamp":1467218482085}]}],"counters":[{"id":"<%= ids[0] %>","data":[{"value":1,"timestamp":1467218482085}]},{"id":"<%= ids[1] %>","data":[{"value":2,"timestamp":1467218482085}]},{"id":"<%= ids[2] %>","data":[{"value":3,"timestamp":1467218482085}]}],"availabilities":[{"id":"<%= ids[0] %>","data":[{"value":"up","timestamp":1467218482085}]},{"id":"<%= ids[1] %>","data":[{"value":"down","timestamp":1467218482085}]},{"id":"<%= ids[2] %>","data":[{"value":"up","timestamp":1467218482085}]}]}'
|
150
|
+
headers:
|
151
|
+
Accept:
|
152
|
+
- application/json
|
153
|
+
Accept-Encoding:
|
154
|
+
- gzip, deflate
|
155
|
+
Hawkular-Tenant:
|
156
|
+
- vcr-test
|
157
|
+
Content-Type:
|
158
|
+
- application/json
|
159
|
+
Content-Length:
|
160
|
+
- '898'
|
161
|
+
User-Agent:
|
162
|
+
- Ruby
|
163
|
+
response:
|
164
|
+
status:
|
165
|
+
code: 200
|
166
|
+
message: OK
|
167
|
+
headers:
|
168
|
+
Expires:
|
169
|
+
- '0'
|
170
|
+
Connection:
|
171
|
+
- keep-alive
|
172
|
+
Cache-Control:
|
173
|
+
- no-cache, no-store, must-revalidate
|
174
|
+
X-Powered-By:
|
175
|
+
- Undertow/1
|
176
|
+
Server:
|
177
|
+
- WildFly/10
|
178
|
+
Pragma:
|
179
|
+
- no-cache
|
180
|
+
Content-Length:
|
181
|
+
- '0'
|
182
|
+
Date:
|
183
|
+
- Wed, 29 Jun 2016 16:41:22 GMT
|
184
|
+
body:
|
185
|
+
encoding: UTF-8
|
186
|
+
string: ''
|
187
|
+
http_version:
|
188
|
+
recorded_at: Wed, 29 Jun 2016 16:41:22 GMT
|
189
|
+
- request:
|
190
|
+
method: post
|
191
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/counters/raw/query
|
192
|
+
body:
|
193
|
+
encoding: UTF-8
|
194
|
+
string: '{"ids":["<%= ids[0] %>","<%= ids[1] %>","<%= ids[2] %>"],"start":null,"end":null,"limit":null,"order":null}'
|
195
|
+
headers:
|
196
|
+
Accept:
|
197
|
+
- application/json
|
198
|
+
Accept-Encoding:
|
199
|
+
- gzip, deflate
|
200
|
+
Hawkular-Tenant:
|
201
|
+
- vcr-test
|
202
|
+
Content-Type:
|
203
|
+
- application/json
|
204
|
+
Content-Length:
|
205
|
+
- '176'
|
206
|
+
User-Agent:
|
207
|
+
- Ruby
|
208
|
+
response:
|
209
|
+
status:
|
210
|
+
code: 200
|
211
|
+
message: OK
|
212
|
+
headers:
|
213
|
+
Expires:
|
214
|
+
- '0'
|
215
|
+
Cache-Control:
|
216
|
+
- no-cache, no-store, must-revalidate
|
217
|
+
X-Powered-By:
|
218
|
+
- Undertow/1
|
219
|
+
Server:
|
220
|
+
- WildFly/10
|
221
|
+
Pragma:
|
222
|
+
- no-cache
|
223
|
+
Date:
|
224
|
+
- Wed, 29 Jun 2016 16:41:22 GMT
|
225
|
+
Connection:
|
226
|
+
- keep-alive
|
227
|
+
Content-Type:
|
228
|
+
- application/json
|
229
|
+
Content-Length:
|
230
|
+
- '280'
|
231
|
+
body:
|
232
|
+
encoding: UTF-8
|
233
|
+
string: '[{"id":"<%= ids[0] %>","data":[{"timestamp":1467218482085,"value":1}]},{"id":"<%= ids[1] %>","data":[{"timestamp":1467218482085,"value":2}]},{"id":"<%= ids[2] %>","data":[{"timestamp":1467218482085,"value":3}]}]'
|
234
|
+
http_version:
|
235
|
+
recorded_at: Wed, 29 Jun 2016 16:41:22 GMT
|
236
|
+
- request:
|
237
|
+
method: post
|
238
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/gauges/raw/query
|
239
|
+
body:
|
240
|
+
encoding: UTF-8
|
241
|
+
string: '{"ids":["<%= ids[0] %>","<%= ids[1] %>","<%= ids[2] %>"],"start":null,"end":null,"limit":null,"order":null}'
|
242
|
+
headers:
|
243
|
+
Accept:
|
244
|
+
- application/json
|
245
|
+
Accept-Encoding:
|
246
|
+
- gzip, deflate
|
247
|
+
Hawkular-Tenant:
|
248
|
+
- vcr-test
|
249
|
+
Content-Type:
|
250
|
+
- application/json
|
251
|
+
Content-Length:
|
252
|
+
- '176'
|
253
|
+
User-Agent:
|
254
|
+
- Ruby
|
255
|
+
response:
|
256
|
+
status:
|
257
|
+
code: 200
|
258
|
+
message: OK
|
259
|
+
headers:
|
260
|
+
Expires:
|
261
|
+
- '0'
|
262
|
+
Cache-Control:
|
263
|
+
- no-cache, no-store, must-revalidate
|
264
|
+
X-Powered-By:
|
265
|
+
- Undertow/1
|
266
|
+
Server:
|
267
|
+
- WildFly/10
|
268
|
+
Pragma:
|
269
|
+
- no-cache
|
270
|
+
Date:
|
271
|
+
- Wed, 29 Jun 2016 16:41:22 GMT
|
272
|
+
Connection:
|
273
|
+
- keep-alive
|
274
|
+
Content-Type:
|
275
|
+
- application/json
|
276
|
+
Content-Length:
|
277
|
+
- '286'
|
278
|
+
body:
|
279
|
+
encoding: UTF-8
|
280
|
+
string: '[{"id":"<%= ids[0] %>","data":[{"timestamp":1467218482085,"value":1.1}]},{"id":"<%= ids[1] %>","data":[{"timestamp":1467218482085,"value":2.2}]},{"id":"<%= ids[2] %>","data":[{"timestamp":1467218482085,"value":3.3}]}]'
|
281
|
+
http_version:
|
282
|
+
recorded_at: Wed, 29 Jun 2016 16:41:22 GMT
|
283
|
+
- request:
|
284
|
+
method: post
|
285
|
+
uri: http://jdoe:password@localhost:8080/hawkular/metrics/availability/raw/query
|
286
|
+
body:
|
287
|
+
encoding: UTF-8
|
288
|
+
string: '{"ids":["<%= ids[0] %>","<%= ids[1] %>","<%= ids[2] %>"],"start":null,"end":null,"limit":null,"order":null}'
|
289
|
+
headers:
|
290
|
+
Accept:
|
291
|
+
- application/json
|
292
|
+
Accept-Encoding:
|
293
|
+
- gzip, deflate
|
294
|
+
Hawkular-Tenant:
|
295
|
+
- vcr-test
|
296
|
+
Content-Type:
|
297
|
+
- application/json
|
298
|
+
Content-Length:
|
299
|
+
- '176'
|
300
|
+
User-Agent:
|
301
|
+
- Ruby
|
302
|
+
response:
|
303
|
+
status:
|
304
|
+
code: 200
|
305
|
+
message: OK
|
306
|
+
headers:
|
307
|
+
Expires:
|
308
|
+
- '0'
|
309
|
+
Cache-Control:
|
310
|
+
- no-cache, no-store, must-revalidate
|
311
|
+
X-Powered-By:
|
312
|
+
- Undertow/1
|
313
|
+
Server:
|
314
|
+
- WildFly/10
|
315
|
+
Pragma:
|
316
|
+
- no-cache
|
317
|
+
Date:
|
318
|
+
- Wed, 29 Jun 2016 16:41:22 GMT
|
319
|
+
Connection:
|
320
|
+
- keep-alive
|
321
|
+
Content-Type:
|
322
|
+
- application/json
|
323
|
+
Content-Length:
|
324
|
+
- '291'
|
325
|
+
body:
|
326
|
+
encoding: UTF-8
|
327
|
+
string: '[{"id":"<%= ids[0] %>","data":[{"timestamp":1467218482085,"value":"up"}]},{"id":"<%= ids[1] %>","data":[{"timestamp":1467218482085,"value":"down"}]},{"id":"<%= ids[2] %>","data":[{"timestamp":1467218482085,"value":"up"}]}]'
|
328
|
+
http_version:
|
329
|
+
recorded_at: Wed, 29 Jun 2016 16:41:22 GMT
|
330
|
+
recorded_with: VCR 3.0.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hawkular-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Libor Zoubek
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rest-client
|
@@ -181,7 +181,22 @@ dependencies:
|
|
181
181
|
- - ">="
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '0'
|
184
|
-
|
184
|
+
- !ruby/object:Gem::Dependency
|
185
|
+
name: rack
|
186
|
+
requirement: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - "~>"
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 1.6.4
|
191
|
+
type: :development
|
192
|
+
prerelease: false
|
193
|
+
version_requirements: !ruby/object:Gem::Requirement
|
194
|
+
requirements:
|
195
|
+
- - "~>"
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: 1.6.4
|
198
|
+
description: |2
|
199
|
+
A Ruby client for Hawkular
|
185
200
|
email:
|
186
201
|
- lzoubek@redhat.com
|
187
202
|
- hrupp@redhat.com
|
@@ -250,6 +265,7 @@ files:
|
|
250
265
|
- spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml
|
251
266
|
- spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml
|
252
267
|
- spec/vcr_cassettes/Alert/Triggers/Should_create_a_basic_trigger_with_action.yml
|
268
|
+
- spec/vcr_cassettes/Alert/Triggers/Should_create_a_firing_ALL_ANY_trigger.yml
|
253
269
|
- spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml
|
254
270
|
- spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml
|
255
271
|
- spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml
|
@@ -260,6 +276,7 @@ files:
|
|
260
276
|
- spec/vcr_cassettes/Alerts/Should_return_the_version.yml
|
261
277
|
- spec/vcr_cassettes/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
|
262
278
|
- spec/vcr_cassettes/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml
|
279
|
+
- spec/vcr_cassettes/Availability_metrics/Should_group_contiguous_values.yml
|
263
280
|
- spec/vcr_cassettes/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml
|
264
281
|
- spec/vcr_cassettes/Availability_metrics/Should_update_tags_for_Availability_definition.yml
|
265
282
|
- spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
|
@@ -328,6 +345,7 @@ files:
|
|
328
345
|
- spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml
|
329
346
|
- spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml
|
330
347
|
- spec/vcr_cassettes/Metrics/Status.yml
|
348
|
+
- spec/vcr_cassettes/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml
|
331
349
|
- spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request.yml
|
332
350
|
- spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml
|
333
351
|
- spec/vcr_cassettes/No_Tenant/Should_fail.yml
|
@@ -382,7 +400,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
382
400
|
version: '0'
|
383
401
|
requirements: []
|
384
402
|
rubyforge_project:
|
385
|
-
rubygems_version: 2.6
|
403
|
+
rubygems_version: 2.4.6
|
386
404
|
signing_key:
|
387
405
|
specification_version: 4
|
388
406
|
summary: A Ruby client for Hawkular
|
@@ -421,6 +439,7 @@ test_files:
|
|
421
439
|
- spec/vcr_cassettes/Alert/Triggers/Should_List_Triggers_for_Tags.yml
|
422
440
|
- spec/vcr_cassettes/Alert/Triggers/Should_bulk_load_triggers.yml
|
423
441
|
- spec/vcr_cassettes/Alert/Triggers/Should_create_a_basic_trigger_with_action.yml
|
442
|
+
- spec/vcr_cassettes/Alert/Triggers/Should_create_a_firing_ALL_ANY_trigger.yml
|
424
443
|
- spec/vcr_cassettes/Alert/Triggers/Should_create_an_action.yml
|
425
444
|
- spec/vcr_cassettes/Alert/Triggers/Should_create_an_action_for_webhooks.yml
|
426
445
|
- spec/vcr_cassettes/Alert/Triggers/Should_get_a_single_Trigger_with_conditions.yml
|
@@ -431,6 +450,7 @@ test_files:
|
|
431
450
|
- spec/vcr_cassettes/Alerts/Should_return_the_version.yml
|
432
451
|
- spec/vcr_cassettes/Availability_metrics/Should_create_Availability_definition_using_MetricDefinition_parameter.yml
|
433
452
|
- spec/vcr_cassettes/Availability_metrics/Should_create_and_return_Availability_using_Hash_parameter.yml
|
453
|
+
- spec/vcr_cassettes/Availability_metrics/Should_group_contiguous_values.yml
|
434
454
|
- spec/vcr_cassettes/Availability_metrics/Should_push_metric_data_to_non-existing_Availability.yml
|
435
455
|
- spec/vcr_cassettes/Availability_metrics/Should_update_tags_for_Availability_definition.yml
|
436
456
|
- spec/vcr_cassettes/Counter_metrics/Should_create_and_return_counter_using_Hash_parameter.yml
|
@@ -499,6 +519,7 @@ test_files:
|
|
499
519
|
- spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Explicit_Credentials.yml
|
500
520
|
- spec/vcr_cassettes/Inventory/Tenants/Should_Get_Tenant_For_Implicit_Credentials.yml
|
501
521
|
- spec/vcr_cassettes/Metrics/Status.yml
|
522
|
+
- spec/vcr_cassettes/Mixed_metrics/Should_requests_raw_data_for_multiple_metrics.yml
|
502
523
|
- spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request.yml
|
503
524
|
- spec/vcr_cassettes/Mixed_metrics/Should_send_mixed_metric_request_of_a_single_type.yml
|
504
525
|
- spec/vcr_cassettes/No_Tenant/Should_fail.yml
|