logstash-mixin-http_client 1.0.0 → 1.0.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 614d270de3dce8b8103ba858085a058eb761b135
|
4
|
+
data.tar.gz: 7f2e8a54302108dd10af78fc59e9e4b1ee452024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4f05fba0368cf09b30c88016df8a3c466f6ac427acbade047f9f6438ac3692cfe47092401330a6bb7fd8dab5972664cdc089f7e5de41c6b15fed6c7d5b3742a
|
7
|
+
data.tar.gz: cd035ee25419a9e7d007a52663b943adbaf11e8173419ffb34b5e8417aa9b2ce775d996b95fef439bc2bc7fdf15618289f4945e265835523250b699df700bd72
|
data/CHANGELOG.md
CHANGED
@@ -36,14 +36,14 @@ module LogStash::PluginMixins::HttpClient
|
|
36
36
|
# Turn this on to enable HTTP keepalive support
|
37
37
|
config :keepalive, :validate => :boolean, :default => true
|
38
38
|
|
39
|
-
# How many times should the client retry a failing URL? Default is
|
40
|
-
config :automatic_retries, :validate => :number, :default =>
|
39
|
+
# How many times should the client retry a failing URL? Default is 0
|
40
|
+
config :automatic_retries, :validate => :number, :default => 0
|
41
41
|
|
42
42
|
# If you need to use a custom X.509 CA (.pem certs) specify the path to that here
|
43
|
-
config :
|
43
|
+
config :cacert, :validate => :path
|
44
44
|
|
45
45
|
# If you need to use a custom keystore (.jks) specify that here
|
46
|
-
config :
|
46
|
+
config :truststore, :validate => :path
|
47
47
|
|
48
48
|
# Specify the keystore password here.
|
49
49
|
# Note, most .jks files created with keytool require a password!
|
@@ -90,12 +90,12 @@ module LogStash::PluginMixins::HttpClient
|
|
90
90
|
end
|
91
91
|
|
92
92
|
c[:ssl] = {}
|
93
|
-
if @
|
94
|
-
c[:ssl][:ca_file] = @
|
93
|
+
if @cacert
|
94
|
+
c[:ssl][:ca_file] = @cacert
|
95
95
|
end
|
96
|
-
if (@
|
96
|
+
if (@truststore)
|
97
97
|
c[:ssl].merge!(
|
98
|
-
:truststore => @
|
98
|
+
:truststore => @truststore,
|
99
99
|
:truststore_type => @truststore_type
|
100
100
|
)
|
101
101
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-mixin-http_client'
|
3
|
-
s.version = '1.0.
|
3
|
+
s.version = '1.0.1'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "AWS mixins to provide a unified interface for Amazon Webservice"
|
6
6
|
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
|
@@ -43,13 +43,13 @@ describe LogStash::PluginMixins::HttpClient do
|
|
43
43
|
after { File.unlink(path)}
|
44
44
|
|
45
45
|
context "with x509" do
|
46
|
-
let(:conf) { basic_config.merge("
|
46
|
+
let(:conf) { basic_config.merge("cacert" => path) }
|
47
47
|
|
48
48
|
include_examples("setting ca bundles", :ca_file)
|
49
49
|
end
|
50
50
|
|
51
51
|
context "with JKS" do
|
52
|
-
let(:conf) { basic_config.merge("
|
52
|
+
let(:conf) { basic_config.merge("truststore" => path) }
|
53
53
|
|
54
54
|
include_examples("setting ca bundles", :truststore)
|
55
55
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-mixin-http_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|