embulk-output-elasticsearch 0.1.7 → 0.1.8
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/build.gradle +4 -4
- data/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/gradle/wrapper/gradle-wrapper.properties +2 -2
- data/lib/embulk/output/elasticsearch.rb +1 -1
- data/src/main/java/org/embulk/output/{ElasticsearchOutputPlugin.java → elasticsearch/ElasticsearchOutputPlugin.java} +7 -7
- data/src/test/java/org/embulk/output/{TestElasticsearchOutputPlugin.java → elasticsearch/TestElasticsearchOutputPlugin.java} +1 -1
- metadata +21 -19
- data/src/main/resources/META-INF/services/org.embulk.spi.Extension +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c0c560040a57c47a8ebb93d8fe09ea9c27d0877
|
|
4
|
+
data.tar.gz: bb7e6b43e092b88266468f254c66923a53abaf71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3dc3769243508bea8270ea41f99d7efaa26222feec9f34878bd234fee9a671bc084c2f62f4aff519ab7f5b3183a30183d81279ec7fdcc91bf0e2900849c8c8f9
|
|
7
|
+
data.tar.gz: 86eabe54f80a8801add35089f29c643c2b6821b7032c116a43768d13d75ed88c85a83e404436942715448d4eb43023f7eae8bee55580bd05fdb2f162e1f013fa
|
data/build.gradle
CHANGED
|
@@ -13,16 +13,16 @@ configurations {
|
|
|
13
13
|
provided
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
version = "0.1.
|
|
16
|
+
version = "0.1.8"
|
|
17
17
|
|
|
18
18
|
compileJava.options.encoding = 'UTF-8' // source encoding
|
|
19
19
|
sourceCompatibility = 1.7
|
|
20
20
|
targetCompatibility = 1.7
|
|
21
21
|
|
|
22
22
|
dependencies {
|
|
23
|
-
compile "org.embulk:embulk-core:0.
|
|
24
|
-
provided "org.embulk:embulk-core:0.
|
|
25
|
-
compile 'org.elasticsearch:elasticsearch:1.
|
|
23
|
+
compile "org.embulk:embulk-core:0.7.0"
|
|
24
|
+
provided "org.embulk:embulk-core:0.7.0"
|
|
25
|
+
compile 'org.elasticsearch:elasticsearch:1.5.2'
|
|
26
26
|
testCompile "junit:junit:4.+"
|
|
27
27
|
testCompile "org.mockito:mockito-core:1.+"
|
|
28
28
|
}
|
|
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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
package org.embulk.output;
|
|
1
|
+
package org.embulk.output.elasticsearch;
|
|
2
2
|
|
|
3
3
|
import com.google.common.base.Optional;
|
|
4
4
|
import com.google.common.base.Throwables;
|
|
@@ -21,7 +21,7 @@ import org.elasticsearch.common.xcontent.XContentBuilder;
|
|
|
21
21
|
import org.elasticsearch.common.xcontent.XContentFactory;
|
|
22
22
|
import org.elasticsearch.node.Node;
|
|
23
23
|
import org.elasticsearch.node.NodeBuilder;
|
|
24
|
-
import org.embulk.config.
|
|
24
|
+
import org.embulk.config.TaskReport;
|
|
25
25
|
import org.embulk.config.Config;
|
|
26
26
|
import org.embulk.config.ConfigDefault;
|
|
27
27
|
import org.embulk.config.ConfigDiff;
|
|
@@ -144,7 +144,7 @@ public class ElasticsearchOutputPlugin
|
|
|
144
144
|
@Override
|
|
145
145
|
public void cleanup(TaskSource taskSource,
|
|
146
146
|
Schema schema, int processorCount,
|
|
147
|
-
List<
|
|
147
|
+
List<TaskReport> successTaskReports)
|
|
148
148
|
{ }
|
|
149
149
|
|
|
150
150
|
private Client createClient(final PluginTask task)
|
|
@@ -216,7 +216,7 @@ public class ElasticsearchOutputPlugin
|
|
|
216
216
|
return pageOutput;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
static class ElasticsearchPageOutput implements TransactionalPageOutput
|
|
219
|
+
public static class ElasticsearchPageOutput implements TransactionalPageOutput
|
|
220
220
|
{
|
|
221
221
|
private Logger log;
|
|
222
222
|
|
|
@@ -229,7 +229,7 @@ public class ElasticsearchOutputPlugin
|
|
|
229
229
|
private final String type;
|
|
230
230
|
private final String id;
|
|
231
231
|
|
|
232
|
-
ElasticsearchPageOutput(PluginTask task, Client client, BulkProcessor bulkProcessor)
|
|
232
|
+
public ElasticsearchPageOutput(PluginTask task, Client client, BulkProcessor bulkProcessor)
|
|
233
233
|
{
|
|
234
234
|
this.log = Exec.getLogger(getClass());
|
|
235
235
|
|
|
@@ -392,9 +392,9 @@ public class ElasticsearchOutputPlugin
|
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
@Override
|
|
395
|
-
public
|
|
395
|
+
public TaskReport commit()
|
|
396
396
|
{
|
|
397
|
-
|
|
397
|
+
TaskReport report = Exec.newTaskReport();
|
|
398
398
|
// TODO
|
|
399
399
|
return report;
|
|
400
400
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: embulk-output-elasticsearch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Muga Nishizawa
|
|
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
|
name: bundler
|
|
@@ -68,23 +68,25 @@ files:
|
|
|
68
68
|
- gradlew.bat
|
|
69
69
|
- lib/embulk/output/elasticsearch.rb
|
|
70
70
|
- settings.gradle
|
|
71
|
-
- src/main/java/org/embulk/output/ElasticsearchOutputPlugin.java
|
|
72
|
-
- src/
|
|
73
|
-
-
|
|
74
|
-
- classpath/
|
|
75
|
-
- classpath/
|
|
76
|
-
- classpath/
|
|
77
|
-
- classpath/
|
|
78
|
-
- classpath/lucene-
|
|
79
|
-
- classpath/lucene-
|
|
80
|
-
- classpath/lucene-
|
|
81
|
-
- classpath/lucene-
|
|
82
|
-
- classpath/lucene-
|
|
83
|
-
- classpath/lucene-
|
|
84
|
-
- classpath/lucene-
|
|
85
|
-
- classpath/lucene-
|
|
86
|
-
- classpath/lucene-
|
|
87
|
-
- classpath/lucene-
|
|
71
|
+
- src/main/java/org/embulk/output/elasticsearch/ElasticsearchOutputPlugin.java
|
|
72
|
+
- src/test/java/org/embulk/output/elasticsearch/TestElasticsearchOutputPlugin.java
|
|
73
|
+
- classpath/antlr-runtime-3.5.jar
|
|
74
|
+
- classpath/asm-4.1.jar
|
|
75
|
+
- classpath/asm-commons-4.1.jar
|
|
76
|
+
- classpath/elasticsearch-1.5.2.jar
|
|
77
|
+
- classpath/embulk-output-elasticsearch-0.1.8.jar
|
|
78
|
+
- classpath/lucene-analyzers-common-4.10.4.jar
|
|
79
|
+
- classpath/lucene-core-4.10.4.jar
|
|
80
|
+
- classpath/lucene-grouping-4.10.4.jar
|
|
81
|
+
- classpath/lucene-highlighter-4.10.4.jar
|
|
82
|
+
- classpath/lucene-join-4.10.4.jar
|
|
83
|
+
- classpath/lucene-memory-4.10.4.jar
|
|
84
|
+
- classpath/lucene-misc-4.10.4.jar
|
|
85
|
+
- classpath/lucene-queries-4.10.4.jar
|
|
86
|
+
- classpath/lucene-queryparser-4.10.4.jar
|
|
87
|
+
- classpath/lucene-sandbox-4.10.4.jar
|
|
88
|
+
- classpath/lucene-spatial-4.10.4.jar
|
|
89
|
+
- classpath/lucene-suggest-4.10.4.jar
|
|
88
90
|
- classpath/spatial4j-0.4.1.jar
|
|
89
91
|
homepage: https://github.com/muga/embulk-output-elasticsearch
|
|
90
92
|
licenses:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
org.embulk.output.ElasticsearchOutputPluginModule
|