embulk-input-sftp 0.3.1 → 0.3.2
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/build.gradle +1 -1
- data/src/main/java/org/embulk/input/sftp/SftpFileInput.java +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2179faafdd2418d9d64a103fbb6dda534ad3a7d8
|
|
4
|
+
data.tar.gz: 0c8dbd585515d4cbf1972e057c9dfc62971cc66c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8a108b1bd53b2a05e6ce4bc9749d5e513ab8e6082acf090754c40f39d5d4a236320602f65eb291f83ae2d014887ca9a1513daf32b27f1eb3dbfbbd66be23814
|
|
7
|
+
data.tar.gz: 4d687df973a09fc3deaa9cf49e5948b09c5e29d7cfbc7f4e561f8ae207ebfec7d103eb7da5af924eefc02c84fb196477ee961e3c3305b4638637199dc976d9a6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## 0.3.2 - 2019-07-25
|
|
2
|
+
* [maintenance] Do not retry when "Connection refused" is returned and throw ConfigException [#40](https://github.com/embulk/embulk-input-sftp/pull/40)
|
|
3
|
+
|
|
1
4
|
## 0.3.1 - 2019-01-08
|
|
2
5
|
* [maintenance] Hide password shown in log when parse failure happens [#39](https://github.com/embulk/embulk-input-sftp/pull/39)
|
|
3
6
|
|
data/build.gradle
CHANGED
|
@@ -266,8 +266,10 @@ public class SftpFileInput
|
|
|
266
266
|
{
|
|
267
267
|
if (exception.getCause() != null && exception.getCause().getCause() != null) {
|
|
268
268
|
Throwable cause = exception.getCause().getCause();
|
|
269
|
-
if (cause.getMessage() != null
|
|
270
|
-
|
|
269
|
+
if (cause.getMessage() != null) {
|
|
270
|
+
if (cause.getMessage().contains("Auth fail") || cause.getMessage().contains("Connection refused")) {
|
|
271
|
+
throw new ConfigException(exception);
|
|
272
|
+
}
|
|
271
273
|
}
|
|
272
274
|
}
|
|
273
275
|
if (exception instanceof ConfigException) {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: embulk-input-sftp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Satoshi Akama
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -70,7 +70,7 @@ files:
|
|
|
70
70
|
- src/test/resources/sample_01.csv
|
|
71
71
|
- src/test/resources/sample_02.csv
|
|
72
72
|
- classpath/commons-logging-1.2.jar
|
|
73
|
-
- classpath/embulk-input-sftp-0.3.
|
|
73
|
+
- classpath/embulk-input-sftp-0.3.2.jar
|
|
74
74
|
- classpath/commons-vfs2-2.2.jar
|
|
75
75
|
- classpath/commons-io-2.6.jar
|
|
76
76
|
- classpath/jsch-0.1.55.jar
|