logstash-filter-jdbc_streaming 1.0.3 → 1.0.4
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/LICENSE +1 -1
- data/lib/logstash/plugin_mixins/jdbc_streaming.rb +6 -1
- data/logstash-filter-jdbc_streaming.gemspec +1 -1
- 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: 53467641c84cec7d86abf44b4e066358b643ab0aa6031d3772708c8e52902424
|
|
4
|
+
data.tar.gz: 95e89356c60f31568ea1810a2a5addf19cf6219bbac531c8800a3ca0adee7bb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 993435df20cfbf0f06d11bcb74f57094b0a7592c35a8b06ed968faa4ed6419de73d2872b6b13eb2e0f3459750a8f851f4ae38e28108b3e08c4bef52d1de24785
|
|
7
|
+
data.tar.gz: 28235331d718d5ac9e711b9765afbf77c26ccfdf0a1c69384f59f95c1b799ee7dd3a6de57b7bbbbf3621b2ecff29f7e85c3def9c8997e960ecd3f7c7b1497a99
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
|
@@ -43,7 +43,12 @@ module LogStash module PluginMixins module JdbcStreaming
|
|
|
43
43
|
require "sequel"
|
|
44
44
|
require "sequel/adapters/jdbc"
|
|
45
45
|
require "java"
|
|
46
|
-
|
|
46
|
+
|
|
47
|
+
if @jdbc_driver_library
|
|
48
|
+
class_loader = java.lang.ClassLoader.getSystemClassLoader().to_java(java.net.URLClassLoader)
|
|
49
|
+
class_loader.add_url(java.io.File.new(@jdbc_driver_library).toURI().toURL())
|
|
50
|
+
end
|
|
51
|
+
|
|
47
52
|
Sequel::JDBC.load_driver(@jdbc_driver_class)
|
|
48
53
|
@database = Sequel.connect(@jdbc_connection_string, :user=> @jdbc_user, :password=> @jdbc_password.nil? ? nil : @jdbc_password.value)
|
|
49
54
|
if @jdbc_validate_connection
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-filter-jdbc_streaming'
|
|
3
|
-
s.version = '1.0.
|
|
3
|
+
s.version = '1.0.4'
|
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
|
5
5
|
s.summary = "Enrich events with your database 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/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-filter-jdbc_streaming
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-04-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
140
140
|
version: '0'
|
|
141
141
|
requirements: []
|
|
142
142
|
rubyforge_project:
|
|
143
|
-
rubygems_version: 2.6.
|
|
143
|
+
rubygems_version: 2.6.13
|
|
144
144
|
signing_key:
|
|
145
145
|
specification_version: 4
|
|
146
146
|
summary: Enrich events with your database data
|