logstash-mixin-rabbitmq_connection 5.0.1-java → 5.0.2-java
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a83e28c89d845adb27fba7b0704e4d51d538e10c1afff0fcf0ecea9f414265d9
|
4
|
+
data.tar.gz: e30669ac8c6e1adecc15d3d6a31d809865ea79e83a43b3f929be91e437e9f334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 959a2c58bb14181ba9b95c30d2dae840b2d50c9d18446b7a86f62e036873187da4cc58f5ecd1e49f11fddb704ce8a1ec7666dc4cd4b3e333c544183468913449
|
7
|
+
data.tar.gz: a292cb3169a52fdf54bac75e4bd8c3b95b2789335453003f3e1bb4d010213ff74606742d7472fa982ee666ef2813b55bb3a289f31b5f7a240191f5c9eea562a8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
## 5.0.2
|
2
|
+
- Bug Fix: undefined method `value' for nil:NilClass with SSL enabled, but no certificates provided [#109](https://github.com/logstash-plugins/logstash-input-rabbitmq/issues/109)
|
1
3
|
## 5.0.1
|
2
4
|
- Relax constraint on march hare to allow 3.x [#44](https://github.com/logstash-plugins/logstash-mixin-rabbitmq_connection/issues/44)
|
3
|
-
- Validate
|
5
|
+
- Validate :ssl_certificate_password as a password [#43](https://github.com/logstash-plugins/logstash-mixin-rabbitmq_connection/issues/43)
|
4
6
|
## 5.0.0
|
5
7
|
- Mark deprecated options `debug`, `tls_certificate_path` and `tls_certificate_password` as obsolete
|
6
8
|
## 4.3.0
|
@@ -121,7 +121,7 @@ module LogStash
|
|
121
121
|
s[:tls] = @ssl_version
|
122
122
|
|
123
123
|
cert_path = @ssl_certificate_path
|
124
|
-
cert_pass = @ssl_certificate_password.value
|
124
|
+
cert_pass = @ssl_certificate_password.value if @ssl_certificate_password
|
125
125
|
|
126
126
|
if !!cert_path ^ !!cert_pass
|
127
127
|
raise LogStash::ConfigurationError, "RabbitMQ requires both ssl_certificate_path AND ssl_certificate_password to be set!"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'logstash-mixin-rabbitmq_connection'
|
4
|
-
s.version = '5.0.
|
4
|
+
s.version = '5.0.2'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Common functionality for RabbitMQ plugins"
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
@@ -68,6 +68,17 @@ describe LogStash::PluginMixins::RabbitMQConnection do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
describe "ssl enabled, but no verification" do
|
72
|
+
let(:rabbitmq_settings) { super.merge({"connection_timeout" => 123,
|
73
|
+
"heartbeat" => 456,
|
74
|
+
"ssl" => true}) }
|
75
|
+
|
76
|
+
it "should not have any certificates set" do
|
77
|
+
expect(instance.rabbitmq_settings[:tls_certificate_password]).to be nil
|
78
|
+
expect(instance.rabbitmq_settings[:tls_certificate_path]).to be nil
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
71
82
|
describe "rabbitmq_settings multiple hosts" do
|
72
83
|
let(:file) { Stud::Temporary.file }
|
73
84
|
let(:path) { file.path }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-mixin-rabbitmq_connection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|