embulk-input-gcs 0.1.4 → 0.1.5
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: aa681f0822424f0c593fd882cb028f6d1ffd1084
|
4
|
+
data.tar.gz: 1f715e779e7997e3ebb52e72c3775f12aeb1c949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45ee5d75433ded0336ff43fba3c0cb2091ff63d67cf5ed6b53ce9dca642ae6663f5147e7bf3c395bd982e5bfc1f858f721c8df023ab90559dec88b710ce0478f
|
7
|
+
data.tar.gz: 78cba836847ea4f5ece8978b90130bdcab2bd31fe3bd7542da9f19bddda85ba2a286a878ddc7b4dd8d96828333386c824be51f84fc6d1c4dc54aeb2391991826
|
data/build.gradle
CHANGED
@@ -15,11 +15,11 @@ configurations {
|
|
15
15
|
sourceCompatibility = 1.7
|
16
16
|
targetCompatibility = 1.7
|
17
17
|
|
18
|
-
version = "0.1.
|
18
|
+
version = "0.1.5"
|
19
19
|
|
20
20
|
dependencies {
|
21
|
-
compile "org.embulk:embulk-core:0.
|
22
|
-
provided "org.embulk:embulk-core:0.
|
21
|
+
compile "org.embulk:embulk-core:0.7.1"
|
22
|
+
provided "org.embulk:embulk-core:0.7.1"
|
23
23
|
|
24
24
|
compile "com.google.http-client:google-http-client-jackson2:1.19.0"
|
25
25
|
compile ("com.google.apis:google-api-services-storage:v1-rev27-1.19.1") {exclude module: "guava-jdk5"}
|
@@ -46,7 +46,7 @@ Gem::Specification.new do |spec|
|
|
46
46
|
spec.version = "${project.version}"
|
47
47
|
spec.authors = ["Satoshi Akama"]
|
48
48
|
spec.summary = %[Google Cloud Storage input plugin for Embulk]
|
49
|
-
spec.description = %[
|
49
|
+
spec.description = %[Reads files stored on Google Cloud Storage (Standard/Durable Reduced Availability/Nearline)]
|
50
50
|
spec.email = ["satoshiakama@gmail.com"]
|
51
51
|
spec.licenses = ["Apache-2.0"]
|
52
52
|
spec.homepage = "https://github.com/embulk/embulk-input-gcs"
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
#Tue Aug 11 00:26:20 PDT 2015
|
2
2
|
distributionBase=GRADLE_USER_HOME
|
3
3
|
distributionPath=wrapper/dists
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
5
5
|
zipStorePath=wrapper/dists
|
6
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.
|
6
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
|
@@ -12,7 +12,7 @@ import com.google.common.collect.ImmutableList;
|
|
12
12
|
import com.google.common.base.Optional;
|
13
13
|
import java.security.GeneralSecurityException;
|
14
14
|
|
15
|
-
import org.embulk.config.
|
15
|
+
import org.embulk.config.TaskReport;
|
16
16
|
import org.embulk.config.Config;
|
17
17
|
import org.embulk.config.ConfigInject;
|
18
18
|
import org.embulk.config.ConfigDiff;
|
@@ -20,7 +20,7 @@ import org.embulk.config.ConfigDefault;
|
|
20
20
|
import org.embulk.config.ConfigSource;
|
21
21
|
import org.embulk.config.Task;
|
22
22
|
import org.embulk.config.TaskSource;
|
23
|
-
import org.embulk.config.
|
23
|
+
import org.embulk.config.TaskReport;
|
24
24
|
import org.embulk.spi.Exec;
|
25
25
|
import org.embulk.spi.BufferAllocator;
|
26
26
|
import org.embulk.spi.FileInputPlugin;
|
@@ -47,30 +47,30 @@ public class GcsFileInputPlugin
|
|
47
47
|
extends Task
|
48
48
|
{
|
49
49
|
@Config("bucket")
|
50
|
-
|
50
|
+
String getBucket();
|
51
51
|
|
52
52
|
@Config("path_prefix")
|
53
|
-
|
53
|
+
String getPathPrefix();
|
54
54
|
|
55
55
|
@Config("last_path")
|
56
56
|
@ConfigDefault("null")
|
57
|
-
|
57
|
+
Optional<String> getLastPath();
|
58
58
|
|
59
59
|
@Config("service_account_email")
|
60
|
-
|
60
|
+
String getServiceAccountEmail();
|
61
61
|
|
62
62
|
@Config("application_name")
|
63
63
|
@ConfigDefault("\"Embulk GCS input plugin\"")
|
64
|
-
|
64
|
+
String getApplicationName();
|
65
65
|
|
66
66
|
@Config("p12_keyfile_fullpath")
|
67
|
-
|
67
|
+
String getP12KeyfileFullpath();
|
68
68
|
|
69
|
-
|
70
|
-
|
69
|
+
List<String> getFiles();
|
70
|
+
void setFiles(List<String> files);
|
71
71
|
|
72
72
|
@ConfigInject
|
73
|
-
|
73
|
+
BufferAllocator getBufferAllocator();
|
74
74
|
}
|
75
75
|
|
76
76
|
private static final Logger log = Exec.getLogger(GcsFileInputPlugin.class);
|
@@ -124,7 +124,7 @@ public class GcsFileInputPlugin
|
|
124
124
|
@Override
|
125
125
|
public void cleanup(TaskSource taskSource,
|
126
126
|
int taskCount,
|
127
|
-
List<
|
127
|
+
List<TaskReport> successTaskReports)
|
128
128
|
{
|
129
129
|
}
|
130
130
|
|
@@ -283,9 +283,9 @@ public class GcsFileInputPlugin
|
|
283
283
|
|
284
284
|
public void abort() { }
|
285
285
|
|
286
|
-
public
|
286
|
+
public TaskReport commit()
|
287
287
|
{
|
288
|
-
return Exec.
|
288
|
+
return Exec.newTaskReport();
|
289
289
|
}
|
290
290
|
|
291
291
|
@Override
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-gcs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Satoshi Akama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
-
description:
|
41
|
+
description: Reads files stored on Google Cloud Storage (Standard/Durable Reduced Availability/Nearline)
|
42
42
|
email:
|
43
43
|
- satoshiakama@gmail.com
|
44
44
|
executables: []
|
@@ -58,7 +58,7 @@ files:
|
|
58
58
|
- src/test/java/org/embulk/input/gcs/TestGcsFileInputPlugin.java
|
59
59
|
- classpath/commons-codec-1.3.jar
|
60
60
|
- classpath/commons-logging-1.1.1.jar
|
61
|
-
- classpath/embulk-input-gcs-0.1.
|
61
|
+
- classpath/embulk-input-gcs-0.1.5.jar
|
62
62
|
- classpath/google-api-client-1.19.1.jar
|
63
63
|
- classpath/google-api-services-storage-v1-rev27-1.19.1.jar
|
64
64
|
- classpath/google-http-client-1.19.0.jar
|