logstash-integration-jdbc 5.4.6 → 5.4.8

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
  SHA256:
3
- metadata.gz: ecf492b84190adb77da3e76f67d18587fce76eac2a67a089e5bcea7fcf3959bd
4
- data.tar.gz: c0cd2016d3aaba9b7cf9f3d420f5b2a9037a153c852981b764699ae01988c741
3
+ metadata.gz: 6b685b74c2638954f52e43f9f2443ad12701be5a0f75973a7380eb3d19bd5a75
4
+ data.tar.gz: d77612944fbc3ff7696cb4858f81fd3348c5342e23fae43f4ef3680412b9159e
5
5
  SHA512:
6
- metadata.gz: b7b3daa5bbb84dc22499dc833c0d9f1da6f831a58c76cea4d225c4f94437b1aea52cffd0f35ef8f62f287d639c766aa592d1dcb7949bb3c7fb72e7dbdcc0c2b4
7
- data.tar.gz: 9ba1215967ea68381a1b634d86d6ad6a4b28225dfbf595f3bc44ce55d8b77751ccb7accc509395900076cab53247cb5e4bba90ffbb16fc110b6dce76a65118cf
6
+ metadata.gz: 4b1a24c4e64eff48d836e058cebeef83a062506f9144ba9ac6ee16364ab4095ce411a2d19612fc5db597d265f51de75fa3daf119553272168c885270911a9b9e
7
+ data.tar.gz: 05edc5d6b08312f04efd13bb0c360ff58be1125f244e01437d784baaf99b4df14f9228af61c197b32a5e70b379024f18d5ffe8244957d703fff5c53255d27d6b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 5.4.8
2
+ - Update Derby with locally built 10.15.2.1 version [#155](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/155)
3
+
4
+ ## 5.4.7
5
+ - Update sequel version to >= 5.74.0. It fixes the generic jdbc adapter to properly handle disconnect errors [#153](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/153)
6
+
1
7
  ## 5.4.6
2
8
  - Update sequel version to >= 5.73.0. The ibmdb and jdbc/db2 adapters were fixed to properly handle disconnect errors, removing the related connection from the pool [#144](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/144)
3
9
 
@@ -1,5 +1,5 @@
1
1
  # AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
2
2
 
3
3
  require 'jar_dependencies'
4
- require_jar('org.apache.derby', 'derby', '10.14.1.0')
5
- require_jar('org.apache.derby', 'derbyclient', '10.14.1.0')
4
+ require_jar('org.apache.derby', 'derby', '10.15.2.1')
5
+ require_jar('org.apache.derby', 'derbyclient', '10.15.2.1')
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-integration-jdbc'
3
- s.version = '5.4.6'
3
+ s.version = '5.4.8'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Integration with JDBC - input and filter plugins"
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/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -29,7 +29,9 @@ Gem::Specification.new do |s|
29
29
  # Restrict use of this plugin to versions of Logstash where support for integration plugins is present.
30
30
  s.add_runtime_dependency "logstash-core", ">= 6.5.0"
31
31
  s.add_runtime_dependency 'logstash-codec-plain'
32
- s.add_runtime_dependency 'sequel', '>= 5.73.0'
32
+ # Pinned sequel version to >= 5.74.0 as it fixes the generic jdbc adapter to properly
33
+ # handle disconnection errors, and avoid stale connections in the pool.
34
+ s.add_runtime_dependency 'sequel', '>= 5.74.0'
33
35
  s.add_runtime_dependency 'lru_redux' # lru cache with ttl
34
36
 
35
37
  s.add_runtime_dependency 'tzinfo'
@@ -1610,6 +1610,9 @@ describe LogStash::Inputs::Jdbc do
1610
1610
  end
1611
1611
 
1612
1612
  it "raise a loading error" do
1613
+ expect(File.exists?(invalid_driver_jar_path)).to be true
1614
+ expect(FileTest.readable?(invalid_driver_jar_path)).to be false
1615
+
1613
1616
  expect { plugin.register }.
1614
1617
  to raise_error(LogStash::PluginLoadingError, /unable to load .*? from :jdbc_driver_library, file not readable/)
1615
1618
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-integration-jdbc
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.6
4
+ version: 5.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-03 00:00:00.000000000 Z
11
+ date: 2024-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ dependencies:
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: 5.73.0
80
+ version: 5.74.0
81
81
  name: sequel
82
82
  prerelease: false
83
83
  type: :runtime
@@ -85,7 +85,7 @@ dependencies:
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: 5.73.0
88
+ version: 5.74.0
89
89
  - !ruby/object:Gem::Dependency
90
90
  requirement: !ruby/object:Gem::Requirement
91
91
  requirements:
@@ -309,8 +309,8 @@ files:
309
309
  - spec/plugin_mixins/jdbc/timezone_proxy_spec.rb
310
310
  - spec/plugin_mixins/jdbc/value_tracking_spec.rb
311
311
  - spec/plugin_mixins/jdbc_streaming/parameter_handler_spec.rb
312
- - vendor/jar-dependencies/org/apache/derby/derby/10.14.1.0/derby-10.14.1.0.jar
313
- - vendor/jar-dependencies/org/apache/derby/derbyclient/10.14.1.0/derbyclient-10.14.1.0.jar
312
+ - vendor/jar-dependencies/org/apache/derby/derby/10.15.2.1/derby-10.15.2.1.jar
313
+ - vendor/jar-dependencies/org/apache/derby/derbyclient/10.15.2.1/derbyclient-10.15.2.1.jar
314
314
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
315
315
  licenses:
316
316
  - Apache License (2.0)