embulk-input-jdbc 0.8.6 → 0.9.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6920747ba33d6ba01cf8424dacca5325a416328e
|
4
|
+
data.tar.gz: 435f9329c7e3448654dcf47b73bd6980655f85f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb3c7601e70d7851fabe93fd792d6996601bc528962f34d220a23501f36b33d193bf2602caafd03d553628988376f752b7d770ddee449ca4cbb4a38bd6340d31
|
7
|
+
data.tar.gz: ea285e9c3e35fe544a2007b54b5f2a31f153c00673877a9b899053c217b01b8d8a757bc2b94d99da678aeda631bcca49cb6a8b8d35d15688033c566304645538
|
Binary file
|
@@ -8,6 +8,7 @@ import java.net.URL;
|
|
8
8
|
import java.nio.file.Path;
|
9
9
|
import java.util.List;
|
10
10
|
import java.util.Map;
|
11
|
+
import java.util.Properties;
|
11
12
|
import java.nio.file.Paths;
|
12
13
|
import java.sql.ResultSet;
|
13
14
|
import java.sql.SQLException;
|
@@ -658,4 +659,16 @@ public abstract class AbstractJdbcInputPlugin
|
|
658
659
|
}
|
659
660
|
}
|
660
661
|
|
662
|
+
protected void logConnectionProperties(String url, Properties props)
|
663
|
+
{
|
664
|
+
Properties maskedProps = new Properties();
|
665
|
+
for(String key : props.stringPropertyNames()) {
|
666
|
+
if (key.equals("password")) {
|
667
|
+
maskedProps.setProperty(key, "***");
|
668
|
+
} else {
|
669
|
+
maskedProps.setProperty(key, props.getProperty(key));
|
670
|
+
}
|
671
|
+
}
|
672
|
+
logger.info("Connecting to {} options {}", url, maskedProps);
|
673
|
+
}
|
661
674
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-jdbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Selects records from a table.
|
14
14
|
email:
|
@@ -19,7 +19,7 @@ extra_rdoc_files: []
|
|
19
19
|
files:
|
20
20
|
- README.md
|
21
21
|
- build.gradle
|
22
|
-
- classpath/embulk-input-jdbc-0.
|
22
|
+
- classpath/embulk-input-jdbc-0.9.0.jar
|
23
23
|
- lib/embulk/input/jdbc.rb
|
24
24
|
- src/main/java/org/embulk/input/JdbcInputPlugin.java
|
25
25
|
- src/main/java/org/embulk/input/jdbc/AbstractJdbcInputPlugin.java
|