logstash-input-http 3.9.0-java → 3.9.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 +6 -0
- data/VERSION +1 -1
- data/lib/logstash/inputs/http.rb +1 -1
- data/lib/logstash-input-http_jars.rb +8 -8
- data/spec/inputs/http_spec.rb +36 -0
- data/vendor/jar-dependencies/io/netty/netty-buffer/{4.1.109.Final/netty-buffer-4.1.109.Final.jar → 4.1.115.Final/netty-buffer-4.1.115.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-codec/{4.1.109.Final/netty-codec-4.1.109.Final.jar → 4.1.115.Final/netty-codec-4.1.115.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-codec-http/{4.1.109.Final/netty-codec-http-4.1.109.Final.jar → 4.1.115.Final/netty-codec-http-4.1.115.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-common/{4.1.109.Final/netty-common-4.1.109.Final.jar → 4.1.115.Final/netty-common-4.1.115.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-handler/{4.1.109.Final/netty-handler-4.1.109.Final.jar → 4.1.115.Final/netty-handler-4.1.115.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport/{4.1.109.Final/netty-transport-4.1.109.Final.jar → 4.1.115.Final/netty-transport-4.1.115.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/{4.1.109.Final/netty-transport-native-unix-common-4.1.109.Final.jar → 4.1.115.Final/netty-transport-native-unix-common-4.1.115.Final.jar} +0 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/{3.9.0/logstash-input-http-3.9.0.jar → 3.9.2/logstash-input-http-3.9.2.jar} +0 -0
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 954d8637cb33d798828ee28d7377c85760e92a10508d769403595f482495e4a1
|
4
|
+
data.tar.gz: c3208d826587cd389e9953e8e43fde6c413832f753c419070428ddce792636bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2194d9eacb3eef53bbf9d22834e5a9fe134a70036d6e6f9a46aa305615f1a7bc72cb4c7831e0c44b7cd43d1eb706656745421390952f2cd3f06fdea024158a4f
|
7
|
+
data.tar.gz: 80d98e68ea5dcf6c2d5f49681340421fa54951efb18ede9872faba40dec924ca54755838961af890cc8902fc4d36a0598b975b019bbc6998b62a9076fccda69c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 3.9.2
|
2
|
+
- Upgrade netty to 4.1.115 [#183](https://github.com/logstash-plugins/logstash-input-http/pull/183)
|
3
|
+
|
4
|
+
## 3.9.1
|
5
|
+
- Correctly log the state of `ssl_enabled` during `run` [#180](https://github.com/logstash-plugins/logstash-input-http/pull/180)
|
6
|
+
|
1
7
|
## 3.9.0
|
2
8
|
- Netty boss and worker groups are separated [#178](https://github.com/logstash-plugins/logstash-input-http/pull/178)
|
3
9
|
As a result, when shutdown requested incoming connections are closed first and improved graceful shutdown
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.9.
|
1
|
+
3.9.2
|
data/lib/logstash/inputs/http.rb
CHANGED
@@ -225,7 +225,7 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
|
|
225
225
|
|
226
226
|
def run(queue)
|
227
227
|
@queue = queue
|
228
|
-
@logger.info("Starting http input listener", :address => "#{@host}:#{@port}", :
|
228
|
+
@logger.info("Starting http input listener", :address => "#{@host}:#{@port}", :ssl_enabled => @ssl_enabled)
|
229
229
|
@http_server.run()
|
230
230
|
end
|
231
231
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
|
2
2
|
|
3
3
|
require 'jar_dependencies'
|
4
|
-
require_jar('io.netty', 'netty-buffer', '4.1.
|
5
|
-
require_jar('io.netty', 'netty-codec', '4.1.
|
6
|
-
require_jar('io.netty', 'netty-codec-http', '4.1.
|
7
|
-
require_jar('io.netty', 'netty-common', '4.1.
|
8
|
-
require_jar('io.netty', 'netty-transport', '4.1.
|
9
|
-
require_jar('io.netty', 'netty-handler', '4.1.
|
10
|
-
require_jar('io.netty', 'netty-transport-native-unix-common', '4.1.
|
11
|
-
require_jar('org.logstash.plugins.input.http', 'logstash-input-http', '3.9.
|
4
|
+
require_jar('io.netty', 'netty-buffer', '4.1.115.Final')
|
5
|
+
require_jar('io.netty', 'netty-codec', '4.1.115.Final')
|
6
|
+
require_jar('io.netty', 'netty-codec-http', '4.1.115.Final')
|
7
|
+
require_jar('io.netty', 'netty-common', '4.1.115.Final')
|
8
|
+
require_jar('io.netty', 'netty-transport', '4.1.115.Final')
|
9
|
+
require_jar('io.netty', 'netty-handler', '4.1.115.Final')
|
10
|
+
require_jar('io.netty', 'netty-transport-native-unix-common', '4.1.115.Final')
|
11
|
+
require_jar('org.logstash.plugins.input.http', 'logstash-input-http', '3.9.2')
|
data/spec/inputs/http_spec.rb
CHANGED
@@ -544,6 +544,24 @@ describe LogStash::Inputs::Http do
|
|
544
544
|
expect { subject.register }.to_not raise_exception
|
545
545
|
end
|
546
546
|
|
547
|
+
context "during run" do
|
548
|
+
let(:http_server) do
|
549
|
+
http_server = double(:http_server)
|
550
|
+
allow(http_server).to receive(:close)
|
551
|
+
allow(http_server).to receive(:run)
|
552
|
+
http_server
|
553
|
+
end
|
554
|
+
before(:each) do
|
555
|
+
allow(subject).to receive(:create_http_server).and_return(http_server)
|
556
|
+
subject.register
|
557
|
+
end
|
558
|
+
it "should show ssl is disabled" do
|
559
|
+
#[2024-10-18T10:09:33,199][INFO ][logstash.inputs.http ][main][0d48] Starting http input listener {:address=>"0.0.0.0:3333", :ssl_enabled=>false}
|
560
|
+
expect(subject.logger).to receive(:info).with(/^Starting http input listener/, hash_including(:ssl_enabled => false))
|
561
|
+
subject.run(nil)
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
547
565
|
context "and `ssl_` settings provided" do
|
548
566
|
let(:ssc) { SelfSignedCertificate.new }
|
549
567
|
let(:config) { { "port" => 0, "ssl_enabled" => false, "ssl_certificate" => ssc.certificate.path, "ssl_client_authentication" => "none", "cipher_suites" => ["TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"] } }
|
@@ -585,6 +603,24 @@ describe LogStash::Inputs::Http do
|
|
585
603
|
expect { subject.register }.to_not raise_exception
|
586
604
|
end
|
587
605
|
|
606
|
+
context "during run" do
|
607
|
+
let(:http_server) do
|
608
|
+
http_server = double(:http_server)
|
609
|
+
allow(http_server).to receive(:close)
|
610
|
+
allow(http_server).to receive(:run)
|
611
|
+
http_server
|
612
|
+
end
|
613
|
+
before(:each) do
|
614
|
+
allow(subject).to receive(:create_http_server).and_return(http_server)
|
615
|
+
subject.register
|
616
|
+
end
|
617
|
+
it "should show ssl is enabled" do
|
618
|
+
#[2024-10-18T10:09:33,199][INFO ][logstash.inputs.http ][main][0d48] Starting http input listener {:address=>"0.0.0.0:3333", :ssl_enabled=>true}
|
619
|
+
expect(subject.logger).to receive(:info).with(/^Starting http input listener/, hash_including(:ssl_enabled => true))
|
620
|
+
subject.run(nil)
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
588
624
|
context "with ssl_verify_mode = none" do
|
589
625
|
subject { LogStash::Inputs::Http.new(config.merge("ssl_client_authentication" => "none")) }
|
590
626
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.9.
|
4
|
+
version: 3.9.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -20,8 +20,8 @@ dependencies:
|
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '2.99'
|
22
22
|
name: logstash-core-plugin-api
|
23
|
-
prerelease: false
|
24
23
|
type: :runtime
|
24
|
+
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
@@ -37,8 +37,8 @@ dependencies:
|
|
37
37
|
- !ruby/object:Gem::Version
|
38
38
|
version: '0'
|
39
39
|
name: logstash-codec-plain
|
40
|
-
prerelease: false
|
41
40
|
type: :runtime
|
41
|
+
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
@@ -54,8 +54,8 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 0.3.4
|
56
56
|
name: jar-dependencies
|
57
|
-
prerelease: false
|
58
57
|
type: :runtime
|
58
|
+
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
@@ -71,8 +71,8 @@ dependencies:
|
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '1.2'
|
73
73
|
name: logstash-mixin-ecs_compatibility_support
|
74
|
-
prerelease: false
|
75
74
|
type: :runtime
|
75
|
+
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
@@ -85,8 +85,8 @@ dependencies:
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '1.0'
|
87
87
|
name: logstash-mixin-normalize_config_support
|
88
|
-
prerelease: false
|
89
88
|
type: :runtime
|
89
|
+
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
@@ -99,8 +99,8 @@ dependencies:
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
name: logstash-devutils
|
102
|
-
prerelease: false
|
103
102
|
type: :development
|
103
|
+
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - ">="
|
@@ -113,8 +113,8 @@ dependencies:
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
name: logstash-codec-json
|
116
|
-
prerelease: false
|
117
116
|
type: :development
|
117
|
+
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - ">="
|
@@ -127,8 +127,8 @@ dependencies:
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
name: logstash-codec-json_lines
|
130
|
-
prerelease: false
|
131
130
|
type: :development
|
131
|
+
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - ">="
|
@@ -141,8 +141,8 @@ dependencies:
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
name: manticore
|
144
|
-
prerelease: false
|
145
144
|
type: :development
|
145
|
+
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - ">="
|
@@ -189,14 +189,14 @@ files:
|
|
189
189
|
- spec/fixtures/certs/openssl.cnf
|
190
190
|
- spec/inputs/helpers.rb
|
191
191
|
- spec/inputs/http_spec.rb
|
192
|
-
- vendor/jar-dependencies/io/netty/netty-buffer/4.1.
|
193
|
-
- vendor/jar-dependencies/io/netty/netty-codec-http/4.1.
|
194
|
-
- vendor/jar-dependencies/io/netty/netty-codec/4.1.
|
195
|
-
- vendor/jar-dependencies/io/netty/netty-common/4.1.
|
196
|
-
- vendor/jar-dependencies/io/netty/netty-handler/4.1.
|
197
|
-
- vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/4.1.
|
198
|
-
- vendor/jar-dependencies/io/netty/netty-transport/4.1.
|
199
|
-
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/3.9.
|
192
|
+
- vendor/jar-dependencies/io/netty/netty-buffer/4.1.115.Final/netty-buffer-4.1.115.Final.jar
|
193
|
+
- vendor/jar-dependencies/io/netty/netty-codec-http/4.1.115.Final/netty-codec-http-4.1.115.Final.jar
|
194
|
+
- vendor/jar-dependencies/io/netty/netty-codec/4.1.115.Final/netty-codec-4.1.115.Final.jar
|
195
|
+
- vendor/jar-dependencies/io/netty/netty-common/4.1.115.Final/netty-common-4.1.115.Final.jar
|
196
|
+
- vendor/jar-dependencies/io/netty/netty-handler/4.1.115.Final/netty-handler-4.1.115.Final.jar
|
197
|
+
- vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/4.1.115.Final/netty-transport-native-unix-common-4.1.115.Final.jar
|
198
|
+
- vendor/jar-dependencies/io/netty/netty-transport/4.1.115.Final/netty-transport-4.1.115.Final.jar
|
199
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/3.9.2/logstash-input-http-3.9.2.jar
|
200
200
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
201
201
|
licenses:
|
202
202
|
- Apache License (2.0)
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
- !ruby/object:Gem::Version
|
220
220
|
version: '0'
|
221
221
|
requirements: []
|
222
|
-
rubygems_version: 3.
|
222
|
+
rubygems_version: 3.3.26
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: Receives events over HTTP or HTTPS
|