hawkular-client 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.rdoc +7 -1
- data/README.rdoc +5 -5
- data/lib/hawkular/inventory/inventory_api.rb +1 -1
- data/lib/hawkular/version.rb +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab85ad134aa538531c4b1a49bd2719fa891e571
|
4
|
+
data.tar.gz: 3f6eac54b04032844df33902c440e34f6e08f674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 006e318a94934bf4c982cdee7cddd0c0e0d511a5162aa79cccd19a0a6d9c956f0a4fa3dbca75f2faf32d03f1b3c5eeebe770fa37d8e68e10961308bbf391700c
|
7
|
+
data.tar.gz: 1858d7ad7caac9a136f42419da8b7b9e990216f62cf4529dbdeaa45080a84d3e6f69fe55cdda8296b593f0aa6157f01718c3377ddb51547cd900e6e25ff840f2
|
data/CHANGES.rdoc
CHANGED
@@ -4,6 +4,12 @@ This document describes the relevant changes between releases of the
|
|
4
4
|
_hawkular-client_ project.
|
5
5
|
|
6
6
|
|
7
|
+
=== v 3.0.2
|
8
|
+
* Adding <code>URI.unescape</code> in the <code>list_metrics_for_resource</code> method to fix the behavior of the method
|
9
|
+
|
10
|
+
=== V 3.0.1
|
11
|
+
* Fixed the issue in operations client when dealing with error handling
|
12
|
+
|
7
13
|
=== V 3.0.0
|
8
14
|
* Starting this version the older Hawkular Services (prior version 0.36.0.Final, excluding) are not compatible
|
9
15
|
* We added support for multitenancy
|
@@ -22,7 +28,7 @@ _hawkular-client_ project.
|
|
22
28
|
11. <code>create_metric_for_resource</code> - removed
|
23
29
|
12. <code>events</code> - removed
|
24
30
|
13. <code>no_more_events!</code> - removed
|
25
|
-
14. <code>list_metrics_for_resource_type
|
31
|
+
14. <code>list_metrics_for_resource_type</code> - removed
|
26
32
|
15. <code>list_resource_types(feed_id)</code> - now the feed_id parameter is mandatory
|
27
33
|
|
28
34
|
Also the payload/parameters are now different:
|
data/README.rdoc
CHANGED
@@ -11,7 +11,7 @@ Documentation[http://www.hawkular.org/hawkular-client-ruby/docs/]
|
|
11
11
|
== Changelog
|
12
12
|
|
13
13
|
See {CHANGELOG}[http://www.hawkular.org/hawkular-client-ruby/docs/latest/file.CHANGES.html] for a list of changes and
|
14
|
-
{API-Breaking-Changes}[
|
14
|
+
{API-Breaking-Changes}[http://www.hawkular.org/hawkular-client-ruby/docs/latest/file.api_breaking_changes.html] for a list of api-breaking changes.
|
15
15
|
|
16
16
|
== Overview
|
17
17
|
|
@@ -107,15 +107,15 @@ You can get more info on the other parameters by checking the metrics API get_da
|
|
107
107
|
=== More info
|
108
108
|
|
109
109
|
Check each resource API for a detailed description of what methods are available.
|
110
|
-
* Alerts[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Alerts/
|
111
|
-
* Inventory[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Inventory/
|
110
|
+
* Alerts[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Alerts/Client.html]
|
111
|
+
* Inventory[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Inventory/Client.html]
|
112
112
|
* Metrics:
|
113
113
|
* Mixed[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Metrics/Client.html]
|
114
114
|
* Availability[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Metrics/Client/Availability.html]
|
115
115
|
* Counters[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Metrics/Client/Counters.html]
|
116
116
|
* Gauges[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Metrics/Client/Gauges.html]
|
117
117
|
* Tenants[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Metrics/Client/Tenants.html]
|
118
|
-
* Operations[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Operations/
|
118
|
+
* Operations[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Operations/Client.html]
|
119
119
|
|
120
120
|
== Contributing to hawkular-client-ruby
|
121
121
|
|
@@ -145,7 +145,7 @@ Integration tests are recorded and played against cassettes recorded with VCR
|
|
145
145
|
* Currently, we support two posible metrics contexts: <code>hawkular-metrics 0.8.0.Final</code> and <code>hawkular-services</code> that contain metrics. If you want to run/re-record the tests only for services, you can skip the other context by <code>SKIP_V8_METRICS=1</code>, or similarly <code>SKIP_SERVICES_METRICS=1</code>. So for instance updating the VCR templates only for hawkular-services would require command:
|
146
146
|
VCR_UPDATE=1 SKIP_V8_METRICS=1 rspec ./spec/integration/metric_spec.rb
|
147
147
|
|
148
|
-
For more details consult the {spec readme}[
|
148
|
+
For more details consult the {spec readme}[http://www.hawkular.org/hawkular-client-ruby/docs/latest/file.README.html].
|
149
149
|
|
150
150
|
== Logging
|
151
151
|
|
@@ -204,7 +204,7 @@ module Hawkular::Inventory
|
|
204
204
|
to_filter = []
|
205
205
|
if (raw_hash.key? 'children') && (raw_hash['children'].key? 'metric') && !raw_hash['children']['metric'].empty?
|
206
206
|
# Need to merge metric type info that we must grab from another place
|
207
|
-
metric_types = list_metric_types(path.feed_id)
|
207
|
+
metric_types = list_metric_types(URI.unescape(path.feed_id))
|
208
208
|
metric_types_index = {}
|
209
209
|
metric_types.each { |mt| metric_types_index[mt.path] = mt }
|
210
210
|
to_filter = raw_hash['children']['metric'].map do |m|
|
data/lib/hawkular/version.rb
CHANGED
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: 3.0.
|
4
|
+
version: 3.0.2
|
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: 2017-04
|
14
|
+
date: 2017-05-04 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rest-client
|
@@ -223,8 +223,7 @@ dependencies:
|
|
223
223
|
- - ">="
|
224
224
|
- !ruby/object:Gem::Version
|
225
225
|
version: '0'
|
226
|
-
description:
|
227
|
-
A Ruby client for Hawkular
|
226
|
+
description: " A Ruby client for Hawkular\n"
|
228
227
|
email:
|
229
228
|
- lzoubek@redhat.com
|
230
229
|
- hrupp@redhat.com
|
@@ -280,7 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
280
279
|
version: '0'
|
281
280
|
requirements: []
|
282
281
|
rubyforge_project:
|
283
|
-
rubygems_version: 2.6.
|
282
|
+
rubygems_version: 2.6.12
|
284
283
|
signing_key:
|
285
284
|
specification_version: 4
|
286
285
|
summary: A Ruby client for Hawkular
|