logstash-mixin-aws 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 +4 -4
- data/CHANGELOG.md +3 -0
- data/NOTICE.TXT +5 -0
- data/lib/logstash/plugin_mixins/aws_config/v2.rb +1 -1
- data/logstash-mixin-aws.gemspec +1 -1
- data/spec/plugin_mixin/aws_config_spec.rb +13 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7d2e0f437ea7db04374d9e23b4aff8e270ec07d
|
4
|
+
data.tar.gz: f8d598d710de7d5bdceadeb07b4431880fe3b2e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59a990525a9da76bfa56ea1f1db319db69e8ab0e81ac766e8ef8311c3b6b0c7bd555b23646ba525a277347c173b23426ad282b53b1c3b6038caf75d33543960f
|
7
|
+
data.tar.gz: 1e6d6421937ec14c35a215139895487943a08ccd137bfdd8ffab280569b76f1c3dcb4f1f3b2348bed05dba025d93eecce5626ad9554f31e184cf11d74f6f414b
|
data/CHANGELOG.md
CHANGED
data/NOTICE.TXT
ADDED
@@ -17,7 +17,7 @@ module LogStash::PluginMixins::AwsConfig::V2
|
|
17
17
|
|
18
18
|
opts[:credentials] = credentials if credentials
|
19
19
|
|
20
|
-
opts[:
|
20
|
+
opts[:http_proxy] = @proxy_uri if @proxy_uri
|
21
21
|
|
22
22
|
# The AWS SDK for Ruby doesn't know how to make an endpoint hostname from a region
|
23
23
|
# for example us-west-1 -> foosvc.us-west-1.amazonaws.com
|
data/logstash-mixin-aws.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-mixin-aws'
|
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"
|
@@ -125,6 +125,19 @@ describe LogStash::PluginMixins::AwsConfig::V2 do
|
|
125
125
|
end
|
126
126
|
end
|
127
127
|
|
128
|
+
describe 'config proxy' do
|
129
|
+
let(:proxy) { "http://localhost:1234" }
|
130
|
+
let(:settings) { { 'access_key_id' => '1234', 'secret_access_key' => 'secret', 'region' => 'us-west-2', 'proxy_uri' => proxy } }
|
131
|
+
|
132
|
+
it "should set the http_proxy option" do
|
133
|
+
expect(subject[:http_proxy]).to eql(proxy)
|
134
|
+
end
|
135
|
+
|
136
|
+
it "should not set the legacy http proxy option" do
|
137
|
+
expect(subject[:proxy_uri]).not_to eql(proxy)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
128
141
|
describe 'config region' do
|
129
142
|
context "when the class implement `#aws_service_endpoint`" do
|
130
143
|
context 'region provided' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-mixin-aws
|
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-
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- CONTRIBUTORS
|
98
98
|
- Gemfile
|
99
99
|
- LICENSE
|
100
|
+
- NOTICE.TXT
|
100
101
|
- README.md
|
101
102
|
- Rakefile
|
102
103
|
- lib/logstash/plugin_mixins/aws_config.rb
|