logstash-input-jdbc 4.3.6 → 4.3.7

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: db57db7385391c5b71ad8e3918e2201d95266b2cc07229e25c24c13407b670bd
4
- data.tar.gz: 59a3aa5b8ebdc0dfe720f24c47d7be493ffd1966078fa672aa950246edfd68c3
3
+ metadata.gz: 52542be9392f0ba5bf98f67b84aa56128ab4605821ab5c267771d05407c757c1
4
+ data.tar.gz: 8dd5cb4fa2580829e0321e160ec5223e8cdf1c17224176b46ec3c6f9f264d9c6
5
5
  SHA512:
6
- metadata.gz: 391446d84ff005ca302cb7bd2a07b40c00e9fb75a870a5b9835e8b80b7f2b58fdaaa0527fcb03e3cb9704f3bbfbfdc6c1aad945da0afaef7a29d31391eb93114
7
- data.tar.gz: 1ba8c5ccf76bee3a841b139c0fa8c162f549c3002ac47cbfa1a4e6422d3227ae59e4850af25fb441164a3467a766ee30ec03b75c5f88d6ebede7b200611e0afc
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
- require driver
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-jdbc'
3
- s.version = '4.3.6'
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.6
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-23 00:00:00.000000000 Z
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