hawkular-client 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f83e017f8509a6444e3be74eb62ff1aee1530779
4
- data.tar.gz: 60046b96e3cc0450ec10da845122ecdb139fe8dc
3
+ metadata.gz: 7ab85ad134aa538531c4b1a49bd2719fa891e571
4
+ data.tar.gz: 3f6eac54b04032844df33902c440e34f6e08f674
5
5
  SHA512:
6
- metadata.gz: 827819fd051b896810082a8f83fa7a8ef98067fe6fec99feafbd43d043e863dd877a6358fd5726a21def0eda824ba2f4e91cb49bd982a6a5497fffa341b39266
7
- data.tar.gz: ae796c19d656385a5482d348ff02b69bb7be967e6cb321df34e36211a27ec016025d9c1b1438fe2ed359936b6905f7e0c74bdd91b8b88334c47f7f52a2e8601b
6
+ metadata.gz: 006e318a94934bf4c982cdee7cddd0c0e0d511a5162aa79cccd19a0a6d9c956f0a4fa3dbca75f2faf32d03f1b3c5eeebe770fa37d8e68e10961308bbf391700c
7
+ data.tar.gz: 1858d7ad7caac9a136f42419da8b7b9e990216f62cf4529dbdeaa45080a84d3e6f69fe55cdda8296b593f0aa6157f01718c3377ddb51547cd900e6e25ff840f2
@@ -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:
@@ -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}[link:http://www.hawkular.org/hawkular-client-ruby/docs/latest/file.api_breaking_changes.html] for a list of 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/AlertsClient.html]
111
- * Inventory[http://www.hawkular.org/hawkular-client-ruby/docs/latest/Hawkular/Inventory/InventoryClient.html]
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/OperationsClient.html]
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}[link:http://www.hawkular.org/hawkular-client-ruby/docs/latest/file.README.html].
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|
@@ -4,5 +4,5 @@
4
4
  # @see https://github.com/hawkular
5
5
  module Hawkular
6
6
  # Version of the Hawkular Ruby Gem
7
- VERSION = '3.0.1'.freeze
7
+ VERSION = '3.0.2'.freeze
8
8
  end
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.1
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-25 00:00:00.000000000 Z
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: |2
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.11
282
+ rubygems_version: 2.6.12
284
283
  signing_key:
285
284
  specification_version: 4
286
285
  summary: A Ruby client for Hawkular