embulk-input-sftp 0.2.1 → 0.2.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 +4 -0
- data/README.md +1 -1
- data/build.gradle +1 -1
- data/classpath/embulk-input-sftp-0.2.2.jar +0 -0
- data/src/main/java/org/embulk/input/sftp/SftpFileInput.java +2 -2
- metadata +3 -3
- data/classpath/embulk-input-sftp-0.2.1.jar +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9243a4ab23b4823f7a552d55b71ba5c7d7021034
|
|
4
|
+
data.tar.gz: 71d13606373aaf491af07e9a755ff83d869194bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4afb3afd18af8ab8282c4f7fdf564f12e2547c3079d913261d5840da296124b994b9d24c5ebf83129d04aa69e99b2ac0b919dfb270a42cb820caa8ddaedd57d
|
|
7
|
+
data.tar.gz: 1154960e725a8e3a6a85ee96384c850be179ce91c7c41b742894aeeab74e180bed2f4fafa73a131a5e70a35feef546f9fe32eac34383ab042a86ec5db3bb8cd4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 0.2.2 - 2016-09-26
|
|
2
|
+
|
|
3
|
+
* [maintenance] Fix bug Use second as timetout setting instead of milli second [#18](https://github.com/embulk/embulk-input-sftp/pull/18)
|
|
4
|
+
|
|
1
5
|
## 0.2.1 - 2016-09-12
|
|
2
6
|
* [maintenance] Fix last_path generation failure when password contains special chars [#15](https://github.com/sakama/embulk-input-sftp/pull/15)
|
|
3
7
|
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Reads files stored on remote server using SFTP
|
|
|
15
15
|
- **port**: (string, default: `22`)
|
|
16
16
|
- **user**: (string, required)
|
|
17
17
|
- **password**: (string, default: `null`)
|
|
18
|
-
- **secret_key_file**: (string, default: `null`)
|
|
18
|
+
- **secret_key_file**: (string, default: `null`). **OpenSSH** format is required.
|
|
19
19
|
- **secret_key_passphrase**: (string, default: `""`)
|
|
20
20
|
- **user_directory_is_root**: (boolean, default: `true`)
|
|
21
21
|
- **timeout**: sftp connection timeout seconds (integer, default: `600`)
|
data/build.gradle
CHANGED
|
Binary file
|
|
@@ -88,7 +88,7 @@ public class SftpFileInput
|
|
|
88
88
|
try {
|
|
89
89
|
SftpFileSystemConfigBuilder builder = SftpFileSystemConfigBuilder.getInstance();
|
|
90
90
|
builder.setUserDirIsRoot(fsOptions, task.getUserDirIsRoot());
|
|
91
|
-
builder.setTimeout(fsOptions, task.getSftpConnectionTimeout());
|
|
91
|
+
builder.setTimeout(fsOptions, task.getSftpConnectionTimeout() * 1000);
|
|
92
92
|
builder.setStrictHostKeyChecking(fsOptions, "no");
|
|
93
93
|
|
|
94
94
|
if (task.getSecretKeyFile().isPresent()) {
|
|
@@ -213,7 +213,7 @@ public class SftpFileInput
|
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
catch (RetryGiveupException ex) {
|
|
216
|
-
throw new ConfigException("Failed to generate last_path due to
|
|
216
|
+
throw new ConfigException("Failed to generate last_path due to SFTP connection failure");
|
|
217
217
|
}
|
|
218
218
|
catch (InterruptedException ex) {
|
|
219
219
|
Throwables.propagate(ex);
|
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.2.
|
|
4
|
+
version: 0.2.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: 2016-09-
|
|
11
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,7 +72,7 @@ files:
|
|
|
72
72
|
- classpath/commons-io-1.3.2.jar
|
|
73
73
|
- classpath/commons-logging-1.2.jar
|
|
74
74
|
- classpath/commons-vfs2-2.1.jar
|
|
75
|
-
- classpath/embulk-input-sftp-0.2.
|
|
75
|
+
- classpath/embulk-input-sftp-0.2.2.jar
|
|
76
76
|
- classpath/jsch-0.1.53.jar
|
|
77
77
|
homepage: https://github.com/embulk/embulk-input-sftp
|
|
78
78
|
licenses:
|
|
Binary file
|