logstash-input-jdbc 4.3.6 → 4.3.7
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/lib/logstash/plugin_mixins/jdbc.rb +2 -1
- data/logstash-input-jdbc.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 52542be9392f0ba5bf98f67b84aa56128ab4605821ab5c267771d05407c757c1
|
|
4
|
+
data.tar.gz: 8dd5cb4fa2580829e0321e160ec5223e8cdf1c17224176b46ec3c6f9f264d9c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57e87e2b912bf248648977f97bee6db68a51ca6d905183175a64c0dfa864303d80b940a58f29444683a4b28d65f278f99de2b2e2c7509e63616aa92305610089
|
|
7
|
+
data.tar.gz: b9caab434d80c8c26e8ebb2e41a681f3855cf52811f649b7e0a37f088cdd9cb88c35e168c183eb5c1f82225f01d6ee59143e057d2aa4f3b9804af7c5aed2d641
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 4.3.7
|
|
2
|
+
- [#263](https://github.com/logstash-plugins/logstash-input-jdbc/issues/263) Load the driver with the system class loader. Fixes issue loading some JDBC drivers in Logstash 6.2+
|
|
3
|
+
|
|
1
4
|
## 4.3.6
|
|
2
5
|
- [#274](https://github.com/logstash-plugins/logstash-input-jdbc/issues/274) Fix regression with 4.3.5 that can result in NULL :sql_last_value depending on timestamp format
|
|
3
6
|
|
|
@@ -135,7 +135,8 @@ module LogStash::PluginMixins::Jdbc
|
|
|
135
135
|
def load_drivers(drivers)
|
|
136
136
|
drivers.each do |driver|
|
|
137
137
|
begin
|
|
138
|
-
|
|
138
|
+
class_loader = java.lang.ClassLoader.getSystemClassLoader().to_java(java.net.URLClassLoader)
|
|
139
|
+
class_loader.add_url(java.io.File.new(driver).toURI().toURL())
|
|
139
140
|
rescue => e
|
|
140
141
|
@logger.error("Failed to load #{driver}", :exception => e)
|
|
141
142
|
end
|
data/logstash-input-jdbc.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-input-jdbc'
|
|
3
|
-
s.version = '4.3.
|
|
3
|
+
s.version = '4.3.7'
|
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
|
5
5
|
s.summary = "Creates events from JDBC data"
|
|
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"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-input-jdbc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.
|
|
4
|
+
version: 4.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-03-
|
|
11
|
+
date: 2018-03-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|