logstash-input-beats 7.0.13-java → 7.0.15-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.
Files changed (15) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +1 -1
  4. data/VERSION +1 -1
  5. data/lib/logstash-input-beats_jars.rb +8 -8
  6. data/lib/tasks/test.rake +20 -0
  7. data/vendor/jar-dependencies/io/netty/netty-buffer/{4.1.136.Final/netty-buffer-4.1.136.Final.jar → 4.1.138.Final/netty-buffer-4.1.138.Final.jar} +0 -0
  8. data/vendor/jar-dependencies/io/netty/netty-codec/{4.1.136.Final/netty-codec-4.1.136.Final.jar → 4.1.138.Final/netty-codec-4.1.138.Final.jar} +0 -0
  9. data/vendor/jar-dependencies/io/netty/netty-common/{4.1.136.Final/netty-common-4.1.136.Final.jar → 4.1.138.Final/netty-common-4.1.138.Final.jar} +0 -0
  10. data/vendor/jar-dependencies/io/netty/netty-handler/{4.1.136.Final/netty-handler-4.1.136.Final.jar → 4.1.138.Final/netty-handler-4.1.138.Final.jar} +0 -0
  11. data/vendor/jar-dependencies/io/netty/netty-resolver/{4.1.136.Final/netty-resolver-4.1.136.Final.jar → 4.1.138.Final/netty-resolver-4.1.138.Final.jar} +0 -0
  12. data/vendor/jar-dependencies/io/netty/netty-transport/{4.1.136.Final/netty-transport-4.1.136.Final.jar → 4.1.138.Final/netty-transport-4.1.138.Final.jar} +0 -0
  13. data/vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/{4.1.136.Final/netty-transport-native-unix-common-4.1.136.Final.jar → 4.1.138.Final/netty-transport-native-unix-common-4.1.138.Final.jar} +0 -0
  14. data/vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/{7.0.13/logstash-input-beats-7.0.13.jar → 7.0.15/logstash-input-beats-7.0.15.jar} +0 -0
  15. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11c22bc09486bfc57ce95881d7348cbebbb0c589b91b5531254690526210500c
4
- data.tar.gz: 97cfe47344c903e0ec178815bf987c668e43dc75b0621462524971d9fbd58c6d
3
+ metadata.gz: bbc358b185abd63532f333c89b821397a047b72a60d5cfa0f0c3edf6e2c24c66
4
+ data.tar.gz: faccfb591a42089970a7f4aefa2b8a739c435cf1dec09749e20e2f818bdeaf3c
5
5
  SHA512:
6
- metadata.gz: e937d9182dee9fb6bc498d1f39cbd464cce93bbdcb8eec5b4c4a20f558c48a0451f612f8aa6d91f722824afe48af1b8ba8ab139bf6161bb7fcb78796b5bcf453
7
- data.tar.gz: d7548846b4acd1d7a7e35037eef32bdfa59d16e7daee406538548ec4afdd0a8e799804d6afc1f90c59a68507caebc2ea8db7308207291eb2f1c6bccb444c544d
6
+ metadata.gz: 0b63bb975b4079408c83bd8b55d40b8fa1a5236b8299b4ecc30c9a297174df34d1780630650239ab6d2077005ddb43e3ca91733609f3b64b44219959064364bd
7
+ data.tar.gz: f0ed75cbb723ac8f63f419136b9b279c45981c6153ca4af1623f920397e1395d0c210eac4c1e3ceb4abc9ed0ef0daebeb6fbd9b122d6b23cabbb4b0717501cdd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 7.0.15
2
+ - Update Netty dependency to 4.1.138.Final [#579](https://github.com/logstash-plugins/logstash-input-beats/pull/579)
3
+
4
+ ## 7.0.14
5
+ - Update Netty dependency to 4.1.137.Final [#576](https://github.com/logstash-plugins/logstash-input-beats/pull/576)
6
+
1
7
  ## 7.0.13
2
8
  - Update Netty dependency to 4.1.136.Final [#575](https://github.com/logstash-plugins/logstash-input-beats/pull/575)
3
9
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-input-beats.svg)](https://travis-ci.com/logstash-plugins/logstash-input-beats)
3
+ [![Unit Tests](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml/badge.svg?branch=main)](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml)
4
4
 
5
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
6
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.0.13
1
+ 7.0.15
@@ -1,12 +1,12 @@
1
1
  # AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
2
2
 
3
3
  require 'jar_dependencies'
4
- require_jar('io.netty', 'netty-handler', '4.1.136.Final')
4
+ require_jar('io.netty', 'netty-handler', '4.1.138.Final')
5
5
  require_jar('org.javassist', 'javassist', '3.24.0-GA')
6
- require_jar('io.netty', 'netty-transport-native-unix-common', '4.1.136.Final')
7
- require_jar('io.netty', 'netty-codec', '4.1.136.Final')
8
- require_jar('io.netty', 'netty-transport', '4.1.136.Final')
9
- require_jar('io.netty', 'netty-resolver', '4.1.136.Final')
10
- require_jar('io.netty', 'netty-buffer', '4.1.136.Final')
11
- require_jar('io.netty', 'netty-common', '4.1.136.Final')
12
- require_jar('org.logstash.beats', 'logstash-input-beats', '7.0.13')
6
+ require_jar('io.netty', 'netty-transport-native-unix-common', '4.1.138.Final')
7
+ require_jar('io.netty', 'netty-codec', '4.1.138.Final')
8
+ require_jar('io.netty', 'netty-transport', '4.1.138.Final')
9
+ require_jar('io.netty', 'netty-resolver', '4.1.138.Final')
10
+ require_jar('io.netty', 'netty-buffer', '4.1.138.Final')
11
+ require_jar('io.netty', 'netty-common', '4.1.138.Final')
12
+ require_jar('org.logstash.beats', 'logstash-input-beats', '7.0.15')
data/lib/tasks/test.rake CHANGED
@@ -49,8 +49,18 @@ namespace :test do
49
49
 
50
50
  puts "Filebeat: downloading from #{filebeat_url} to #{download_destination}"
51
51
  download(filebeat_url, download_destination)
52
+ puts "Filebeat: download completed. Verifying SHA512..."
53
+
54
+ computed_sha512 = Digest::SHA512.file(download_destination).hexdigest
55
+ expected_sha512 = fetch_remote_sha512(filebeat_url, download_destination)
56
+
57
+ unless computed_sha512 == expected_sha512
58
+ raise "Filebeat SHA512 verification failed! expected=#{expected_sha512} got=#{computed_sha512}"
59
+ end
60
+ puts "Filebeat: SHA512 verified. Unpacking..."
52
61
 
53
62
  untar_all(download_destination, VENDOR_PATH) { |e| e }
63
+ puts "Filebeat: unpack completed."
54
64
  end
55
65
  end
56
66
  end
@@ -58,6 +68,16 @@ end
58
68
 
59
69
  require 'zlib'
60
70
  require 'minitar'
71
+ require 'digest'
72
+
73
+ def fetch_remote_sha512(artifact_url, artifact_destination)
74
+ sha512_destination = "#{artifact_destination}.sha512"
75
+ FileUtils.rm_rf(sha512_destination)
76
+ download("#{artifact_url}.sha512", sha512_destination)
77
+ File.read(sha512_destination).split.first
78
+ ensure
79
+ FileUtils.rm_rf(sha512_destination)
80
+ end
61
81
 
62
82
  def untar_all(file, destination)
63
83
  Zlib::GzipReader.open(file) do |reader|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-beats
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.13
4
+ version: 7.0.15
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
@@ -282,15 +282,15 @@ files:
282
282
  - spec/support/integration_shared_context.rb
283
283
  - spec/support/logstash_test.rb
284
284
  - spec/support/shared_examples.rb
285
- - vendor/jar-dependencies/io/netty/netty-buffer/4.1.136.Final/netty-buffer-4.1.136.Final.jar
286
- - vendor/jar-dependencies/io/netty/netty-codec/4.1.136.Final/netty-codec-4.1.136.Final.jar
287
- - vendor/jar-dependencies/io/netty/netty-common/4.1.136.Final/netty-common-4.1.136.Final.jar
288
- - vendor/jar-dependencies/io/netty/netty-handler/4.1.136.Final/netty-handler-4.1.136.Final.jar
289
- - vendor/jar-dependencies/io/netty/netty-resolver/4.1.136.Final/netty-resolver-4.1.136.Final.jar
290
- - vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/4.1.136.Final/netty-transport-native-unix-common-4.1.136.Final.jar
291
- - vendor/jar-dependencies/io/netty/netty-transport/4.1.136.Final/netty-transport-4.1.136.Final.jar
285
+ - vendor/jar-dependencies/io/netty/netty-buffer/4.1.138.Final/netty-buffer-4.1.138.Final.jar
286
+ - vendor/jar-dependencies/io/netty/netty-codec/4.1.138.Final/netty-codec-4.1.138.Final.jar
287
+ - vendor/jar-dependencies/io/netty/netty-common/4.1.138.Final/netty-common-4.1.138.Final.jar
288
+ - vendor/jar-dependencies/io/netty/netty-handler/4.1.138.Final/netty-handler-4.1.138.Final.jar
289
+ - vendor/jar-dependencies/io/netty/netty-resolver/4.1.138.Final/netty-resolver-4.1.138.Final.jar
290
+ - vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/4.1.138.Final/netty-transport-native-unix-common-4.1.138.Final.jar
291
+ - vendor/jar-dependencies/io/netty/netty-transport/4.1.138.Final/netty-transport-4.1.138.Final.jar
292
292
  - vendor/jar-dependencies/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar
293
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/7.0.13/logstash-input-beats-7.0.13.jar
293
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/7.0.15/logstash-input-beats-7.0.15.jar
294
294
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
295
295
  licenses:
296
296
  - Apache License (2.0)