forked from logstash-plugins/logstash-input-jdbc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The changes to class loading intended to fix usage of :jdbc_driver_library with Java 11, introduced in `v4.3.14`, appear to have some issues (elastic/logstash#11268, logstash-plugins#355). This commit attempts to resolve those issues, and reworks the integration tests to work with docker and ensure that the :jdbc_driver_library configuration option works. This has been tested with postgresql using Java 8 and Java 11.
- Loading branch information
Showing
8 changed files
with
83 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
create DATABASE jdbc_input_db; | ||
|
||
\c jdbc_input_db; | ||
|
||
CREATE TABLE employee ( | ||
emp_no integer NOT NULL, | ||
first_name VARCHAR (50) NOT NULL, | ||
last_name VARCHAR (50) NOT NULL | ||
); | ||
|
||
INSERT INTO employee VALUES (1, 'David', 'Blenkinsop'); | ||
INSERT INTO employee VALUES (2, 'Mark', 'Guckenheimer'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters