logstash-output-jms 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/docs/index.asciidoc +2 -2
- data/lib/logstash/outputs/jms.rb +2 -2
- data/logstash-output-jms.gemspec +1 -1
- data/spec/outputs/jms_spec.rb +10 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3d27d534c83d98949910785e963e44bf475d3ae0954b07c9944ba506e146615
|
4
|
+
data.tar.gz: 1d9e8d144efc3741ace3239ef5c343db69a87ef2664ed85396785213af2b867a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a16d6ab310543e0c983414c961e0057b5badd71b4b186edda338df6efc7be56f56c045ee0243bf2cb818fec9c970d357e6209f987c84ad3baade684775c1386
|
7
|
+
data.tar.gz: 04bcda04efd670503ca16d42c48b8dd7556bd29d28ca6bec7e2be6d2ad9e7124bbb29ca212b5e57b045c5b2bf2c97bcd9ed5fa2e43d058425bd19f7988902193
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Logstash Plugin
|
2
2
|
|
3
|
-
[![Travis Build Status](https://travis-ci.
|
3
|
+
[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-output-jms.svg)](https://travis-ci.com/logstash-plugins/logstash-output-jms)
|
4
4
|
|
5
5
|
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
6
6
|
|
data/docs/index.asciidoc
CHANGED
@@ -52,7 +52,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
52
52
|
| <<plugins-{type}s-{plugin}-factory>> |<<string,string>>|No
|
53
53
|
| <<plugins-{type}s-{plugin}-jndi_context>> |<<hash,hash>>|No
|
54
54
|
| <<plugins-{type}s-{plugin}-jndi_name>> |<<string,string>>|No
|
55
|
-
| <<plugins-{type}s-{plugin}-password>> |<<
|
55
|
+
| <<plugins-{type}s-{plugin}-password>> |<<password,password>>|No
|
56
56
|
| <<plugins-{type}s-{plugin}-pub_sub>> |<<boolean,boolean>>|No
|
57
57
|
| <<plugins-{type}s-{plugin}-require_jars>> |<<array,array>>|No
|
58
58
|
| <<plugins-{type}s-{plugin}-username>> |<<string,string>>|No
|
@@ -119,7 +119,7 @@ Name of JNDI entry at which the Factory can be found
|
|
119
119
|
[id="plugins-{type}s-{plugin}-password"]
|
120
120
|
===== `password`
|
121
121
|
|
122
|
-
* Value type is <<
|
122
|
+
* Value type is <<password,password>>
|
123
123
|
* There is no default value for this setting.
|
124
124
|
|
125
125
|
Password to use when connecting to the JMS provider
|
data/lib/logstash/outputs/jms.rb
CHANGED
@@ -51,7 +51,7 @@ config :factory, :validate => :string
|
|
51
51
|
# Username to connect to JMS provider with
|
52
52
|
config :username, :validate => :string
|
53
53
|
# Password to use when connecting to the JMS provider
|
54
|
-
config :password, :validate => :
|
54
|
+
config :password, :validate => :password
|
55
55
|
# Url to use when connecting to the JMS provider
|
56
56
|
config :broker_url, :validate => :string
|
57
57
|
|
@@ -88,7 +88,7 @@ config :jndi_context, :validate => :hash
|
|
88
88
|
:require_jars => @require_jars,
|
89
89
|
:factory => @factory,
|
90
90
|
:username => @username,
|
91
|
-
:password => @password,
|
91
|
+
:password => @password.nil? ? nil : @password.value,
|
92
92
|
:broker_url => @broker_url,
|
93
93
|
:url => @broker_url # "broker_url" is named "url" with Oracle AQ
|
94
94
|
}
|
data/logstash-output-jms.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-jms'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.5'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Push events to a JMS topic or queue."
|
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"
|
data/spec/outputs/jms_spec.rb
CHANGED
@@ -34,4 +34,14 @@ describe "outputs/jms" do
|
|
34
34
|
# Add code to check the message is correct on the queue.
|
35
35
|
end
|
36
36
|
end
|
37
|
+
|
38
|
+
describe "debugging `password`" do
|
39
|
+
let(:config) { jms_config.merge("password" => "$ecre&-key") }
|
40
|
+
it "should not show origin value" do
|
41
|
+
|
42
|
+
output = LogStash::Plugin.lookup("output", "jms").new(config)
|
43
|
+
expect(output.logger).to receive(:debug).with('<password>')
|
44
|
+
output.logger.send(:debug, output.password.to_s)
|
45
|
+
end
|
46
|
+
end
|
37
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-jms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elasticsearch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,8 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
|
-
|
128
|
-
rubygems_version: 2.6.13
|
127
|
+
rubygems_version: 3.2.33
|
129
128
|
signing_key:
|
130
129
|
specification_version: 4
|
131
130
|
summary: Push events to a JMS topic or queue.
|