embulk-input-riak_cs 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/classpath/aws-java-sdk-core-1.11.253.jar +0 -0
- data/classpath/aws-java-sdk-kms-1.11.253.jar +0 -0
- data/classpath/aws-java-sdk-s3-1.11.253.jar +0 -0
- data/classpath/commons-codec-1.9.jar +0 -0
- data/classpath/embulk-input-riak_cs-0.2.12.jar +0 -0
- data/classpath/embulk-input-s3-0.2.12.jar +0 -0
- data/classpath/{embulk-util-aws-credentials-0.2.11.jar → embulk-util-aws-credentials-0.2.12.jar} +0 -0
- data/classpath/httpclient-4.5.2.jar +0 -0
- data/classpath/httpcore-4.4.4.jar +0 -0
- data/classpath/ion-java-1.0.2.jar +0 -0
- data/classpath/jackson-annotations-2.6.0.jar +0 -0
- data/classpath/jackson-core-2.6.7.jar +0 -0
- data/classpath/jackson-databind-2.6.7.1.jar +0 -0
- data/classpath/jackson-dataformat-cbor-2.6.7.jar +0 -0
- data/classpath/jmespath-java-1.11.253.jar +0 -0
- data/src/main/java/org/embulk/input/riak_cs/RiakCsFileInputPlugin.java +18 -8
- metadata +17 -11
- data/classpath/aws-java-sdk-core-1.10.33.jar +0 -0
- data/classpath/aws-java-sdk-kms-1.10.33.jar +0 -0
- data/classpath/aws-java-sdk-s3-1.10.33.jar +0 -0
- data/classpath/commons-codec-1.6.jar +0 -0
- data/classpath/embulk-input-riak_cs-0.2.11.jar +0 -0
- data/classpath/embulk-input-s3-0.2.11.jar +0 -0
- data/classpath/httpclient-4.3.6.jar +0 -0
- data/classpath/httpcore-4.3.3.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: 1cf479c44f7b7dac211e41b1514713217ff8c71c
|
4
|
+
data.tar.gz: b2946ad26dacd01fbb61e379b4b2d062f8e0b0e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51dd4fa486a9c4f60789496fe92b46ef734ed715d6e59de2a7fc14d927e7d78d18c7a9e337c955483d2aeee29554be81c4f8096e07fdec8b5601025033d6c422
|
7
|
+
data.tar.gz: f02f3d7a186a5554009dbab8319c6bc4eed8b63d0c0d6543d500594ff2cbb0c644d1169cbea398dd2d41ee3ca4ef5b4f0ad94c9c5b09fb66e6fbfcf9ca6cf6da
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/classpath/{embulk-util-aws-credentials-0.2.11.jar → embulk-util-aws-credentials-0.2.12.jar}
RENAMED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,11 +1,15 @@
|
|
1
1
|
package org.embulk.input.riak_cs;
|
2
2
|
|
3
3
|
import com.amazonaws.ClientConfiguration;
|
4
|
-
import com.amazonaws.services.s3.
|
4
|
+
import com.amazonaws.services.s3.AmazonS3;
|
5
5
|
import org.embulk.config.Config;
|
6
|
-
import org.embulk.config.ConfigInject;
|
7
6
|
import org.embulk.input.s3.AbstractS3FileInputPlugin;
|
8
7
|
|
8
|
+
import static com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration;
|
9
|
+
import static com.amazonaws.services.s3.AmazonS3Client.S3_SERVICE_NAME;
|
10
|
+
import static com.amazonaws.util.AwsHostNameUtils.parseRegion;
|
11
|
+
import static com.amazonaws.util.RuntimeHttpUtils.toUri;
|
12
|
+
|
9
13
|
public class RiakCsFileInputPlugin
|
10
14
|
extends AbstractS3FileInputPlugin
|
11
15
|
{
|
@@ -23,15 +27,21 @@ public class RiakCsFileInputPlugin
|
|
23
27
|
}
|
24
28
|
|
25
29
|
@Override
|
26
|
-
protected
|
30
|
+
protected AmazonS3 newS3Client(PluginTask task)
|
27
31
|
{
|
28
32
|
RiakCsPluginTask t = (RiakCsPluginTask) task;
|
29
33
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
34
|
+
return super
|
35
|
+
.defaultS3ClientBuilder(task)
|
36
|
+
.withEndpointConfiguration(new EndpointConfiguration(
|
37
|
+
t.getEndpoint(),
|
38
|
+
// Although client will treat endpoint's region as the signer region
|
39
|
+
// if we left this as null, but such that behaviour is undocumented,
|
40
|
+
// so it is explicitly calculated here for future-proofing.
|
41
|
+
parseRegion(
|
42
|
+
toUri(t.getEndpoint(), getClientConfiguration(task)).getHost(),
|
43
|
+
S3_SERVICE_NAME)))
|
44
|
+
.build();
|
35
45
|
}
|
36
46
|
|
37
47
|
@Override
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-riak_cs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -49,16 +49,22 @@ files:
|
|
49
49
|
- lib/embulk/input/riak_cs.rb
|
50
50
|
- src/main/java/org/embulk/input/riak_cs/RiakCsFileInputPlugin.java
|
51
51
|
- src/test/java/org/embulk/input/riak_cs/TestRiakCsFileInputPlugin.java
|
52
|
-
- classpath/aws-java-sdk-core-1.
|
53
|
-
- classpath/aws-java-sdk-kms-1.
|
54
|
-
- classpath/aws-java-sdk-s3-1.
|
55
|
-
- classpath/commons-codec-1.
|
56
|
-
- classpath/embulk-input-riak_cs-0.2.
|
57
|
-
- classpath/embulk-input-s3-0.2.
|
58
|
-
- classpath/embulk-util-aws-credentials-0.2.
|
59
|
-
- classpath/httpclient-4.
|
60
|
-
- classpath/httpcore-4.
|
52
|
+
- classpath/aws-java-sdk-core-1.11.253.jar
|
53
|
+
- classpath/aws-java-sdk-kms-1.11.253.jar
|
54
|
+
- classpath/aws-java-sdk-s3-1.11.253.jar
|
55
|
+
- classpath/commons-codec-1.9.jar
|
56
|
+
- classpath/embulk-input-riak_cs-0.2.12.jar
|
57
|
+
- classpath/embulk-input-s3-0.2.12.jar
|
58
|
+
- classpath/embulk-util-aws-credentials-0.2.12.jar
|
59
|
+
- classpath/httpclient-4.5.2.jar
|
60
|
+
- classpath/httpcore-4.4.4.jar
|
61
|
+
- classpath/ion-java-1.0.2.jar
|
62
|
+
- classpath/jackson-annotations-2.6.0.jar
|
63
|
+
- classpath/jackson-core-2.6.7.jar
|
64
|
+
- classpath/jackson-databind-2.6.7.1.jar
|
65
|
+
- classpath/jackson-dataformat-cbor-2.6.7.jar
|
61
66
|
- classpath/jcl-over-slf4j-1.7.12.jar
|
67
|
+
- classpath/jmespath-java-1.11.253.jar
|
62
68
|
homepage: https://github.com/embulk/embulk-input-s3
|
63
69
|
licenses:
|
64
70
|
- Apache 2.0
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|