logstash-input-http 3.3.3-java → 3.3.4-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/logstash-input-http_jars.rb +1 -1
- data/lib/logstash/inputs/http.rb +4 -4
- data/lib/logstash/inputs/http/message_handler.rb +0 -7
- data/spec/inputs/http_spec.rb +1 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/{3.3.3/logstash-input-http-3.3.3.jar → 3.3.4/logstash-input-http-3.3.4.jar} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dceceb7a23ce583bba9ec5e60bfe48c851553c6d5b2e57ea0a4bda10eefdd98
|
4
|
+
data.tar.gz: 23869414b7e2ca453097611a50b02d1a1aaf037d2bcf67d4264228f6e094924d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 751a808524ed9921224a312eef35a0738c9cfb3512ed45f373dde6be07b45297dc2b561ffdecaa5758dbc34ff2c364f0169c04cb188b06c7146a210ce90831a4
|
7
|
+
data.tar.gz: 6aac91d15bc79e8b2663aa67f564308bb1c4ad01a6d243a45cc8fd143847df45f9bc9f3e1b8ae7ca0cb19f4f747a3d3738b9a8a3a73eb624edd9027f73364f6a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 3.3.4
|
2
|
+
- Refactor: scope (and avoid unused) java imports [#124](https://github.com/logstash-plugins/logstash-input-http/pull/124)
|
3
|
+
|
1
4
|
## 3.3.3
|
2
5
|
- Revert updates to netty and tcnative since CBC ciphers are still used in many contexts
|
3
6
|
- More about the reasoning can be found [here](https://github.com/elastic/logstash/issues/11499#issuecomment-580333510)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.4
|
@@ -4,4 +4,4 @@ require 'jar_dependencies'
|
|
4
4
|
require_jar('io.netty', 'netty-all', '4.1.30.Final')
|
5
5
|
require_jar('io.netty', 'netty-tcnative-boringssl-static', '2.0.12.Final')
|
6
6
|
require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
|
7
|
-
require_jar('org.logstash.plugins.input.http', 'logstash-input-http', '3.3.
|
7
|
+
require_jar('org.logstash.plugins.input.http', 'logstash-input-http', '3.3.4')
|
data/lib/logstash/inputs/http.rb
CHANGED
@@ -4,11 +4,9 @@ require "logstash/namespace"
|
|
4
4
|
require "stud/interval"
|
5
5
|
require "logstash-input-http_jars"
|
6
6
|
|
7
|
-
java_import "io.netty.handler.codec.http.HttpUtil"
|
8
|
-
|
9
7
|
# Using this input you can receive single or multiline events over http(s).
|
10
8
|
# Applications can send a HTTP POST request with a body to the endpoint started by this
|
11
|
-
# input and Logstash will convert it into an event for subsequent processing. Users
|
9
|
+
# input and Logstash will convert it into an event for subsequent processing. Users
|
12
10
|
# can pass plain text, JSON, or any formatted data and use a corresponding codec with this
|
13
11
|
# input. For Content-Type `application/json` the `json` codec is used, but for all other
|
14
12
|
# data formats, `plain` codec is used.
|
@@ -16,7 +14,7 @@ java_import "io.netty.handler.codec.http.HttpUtil"
|
|
16
14
|
# This input can also be used to receive webhook requests to integrate with other services
|
17
15
|
# and applications. By taking advantage of the vast plugin ecosystem available in Logstash
|
18
16
|
# you can trigger actionable events right from your application.
|
19
|
-
#
|
17
|
+
#
|
20
18
|
# ==== Security
|
21
19
|
# This plugin supports standard HTTP basic authentication headers to identify the requester.
|
22
20
|
# You can pass in an username, password combination while sending data to this input
|
@@ -29,6 +27,8 @@ java_import "io.netty.handler.codec.http.HttpUtil"
|
|
29
27
|
class LogStash::Inputs::Http < LogStash::Inputs::Base
|
30
28
|
require "logstash/inputs/http/tls"
|
31
29
|
|
30
|
+
java_import "io.netty.handler.codec.http.HttpUtil"
|
31
|
+
|
32
32
|
config_name "http"
|
33
33
|
|
34
34
|
# Codec used to decode the incoming data.
|
@@ -1,12 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require "logstash-input-http_jars"
|
3
|
-
java_import org.logstash.plugins.inputs.http.MessageHandler
|
4
|
-
java_import "io.netty.handler.codec.http.DefaultFullHttpResponse"
|
5
|
-
java_import "io.netty.handler.codec.http.HttpHeaderNames"
|
6
|
-
java_import "io.netty.handler.codec.http.HttpVersion"
|
7
|
-
java_import "io.netty.handler.codec.http.HttpResponseStatus"
|
8
|
-
java_import "io.netty.buffer.Unpooled"
|
9
|
-
java_import "io.netty.util.CharsetUtil"
|
10
3
|
|
11
4
|
module LogStash module Inputs class Http
|
12
5
|
class MessageHandler
|
data/spec/inputs/http_spec.rb
CHANGED
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.3.
|
4
|
+
version: 3.3.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,7 +147,7 @@ files:
|
|
147
147
|
- vendor/jar-dependencies/io/netty/netty-all/4.1.30.Final/netty-all-4.1.30.Final.jar
|
148
148
|
- vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/2.0.12.Final/netty-tcnative-boringssl-static-2.0.12.Final.jar
|
149
149
|
- vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar
|
150
|
-
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/3.3.
|
150
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/3.3.4/logstash-input-http-3.3.4.jar
|
151
151
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
152
152
|
licenses:
|
153
153
|
- Apache License (2.0)
|