sensu 0.20.1-java → 0.20.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/sensu/api/process.rb +8 -1
- data/lib/sensu/constants.rb +1 -1
- data/lib/sensu/daemon.rb +1 -1
- data/sensu.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac0e6930a39ede5664edb9582cbb94f4ffb2df02
|
4
|
+
data.tar.gz: fb2ec4cf063969ab5618f1d283eb86e399013b5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75e8c96a1be4469f1a3734739e0d30a1cfe7853c04035d543b351fc80b5765359bd882f396ddf0896454d811d0e50d00d62a31874a783792d2d48db44b0ebf44
|
7
|
+
data.tar.gz: 242e0dbc43ba24152011e34404729b005df7537488f3f6457966454ac67266fa98132444e205ba2ffccedb3d18bf6f82d7c8c72bf42df14f70b1ec22c83999ec
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 0.20.2 - 2015-08-06
|
2
|
+
|
3
|
+
### Other
|
4
|
+
|
5
|
+
The Sensu API `/clients` route/endpoint is now capable of handling missing
|
6
|
+
client data for a client in the registry.
|
7
|
+
|
8
|
+
Sensu configuration file loading will now properly follow a link once.
|
9
|
+
|
1
10
|
## 0.20.1 - 2015-07-27
|
2
11
|
|
3
12
|
### Other
|
data/lib/sensu/api/process.rb
CHANGED
@@ -334,7 +334,14 @@ module Sensu
|
|
334
334
|
unless clients.empty?
|
335
335
|
clients.each_with_index do |client_name, index|
|
336
336
|
settings.redis.get("client:#{client_name}") do |client_json|
|
337
|
-
|
337
|
+
unless client_json.nil?
|
338
|
+
response << MultiJson.load(client_json)
|
339
|
+
else
|
340
|
+
settings.logger.error("client registry missing data for client", {
|
341
|
+
:client_name => client_name
|
342
|
+
})
|
343
|
+
settings.redis.srem("clients", client_name)
|
344
|
+
end
|
338
345
|
if index == clients.size - 1
|
339
346
|
body MultiJson.dump(response)
|
340
347
|
end
|
data/lib/sensu/constants.rb
CHANGED
data/lib/sensu/daemon.rb
CHANGED
data/sensu.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_dependency "eventmachine", "1.0.3"
|
20
20
|
s.add_dependency "sensu-em", "2.5.2"
|
21
21
|
s.add_dependency "sensu-logger", "1.0.0"
|
22
|
-
s.add_dependency "sensu-settings", "3.
|
22
|
+
s.add_dependency "sensu-settings", "3.1.0"
|
23
23
|
s.add_dependency "sensu-extension", "1.1.2"
|
24
24
|
s.add_dependency "sensu-extensions", "1.2.0"
|
25
25
|
s.add_dependency "sensu-transport", "3.2.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
@@ -87,12 +87,12 @@ dependencies:
|
|
87
87
|
requirements:
|
88
88
|
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 3.
|
90
|
+
version: 3.1.0
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - '='
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 3.
|
95
|
+
version: 3.1.0
|
96
96
|
prerelease: false
|
97
97
|
type: :runtime
|
98
98
|
- !ruby/object:Gem::Dependency
|