embulk-output-elasticsearch 0.1.7 → 0.1.8

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: 510fbb704be75a8aeeaaca10a60caa831aa689da
4
- data.tar.gz: 6699f475139a298090741cd623d72e2203f982a5
3
+ metadata.gz: 0c0c560040a57c47a8ebb93d8fe09ea9c27d0877
4
+ data.tar.gz: bb7e6b43e092b88266468f254c66923a53abaf71
5
5
  SHA512:
6
- metadata.gz: cd0f98ab62836955aa033c84e35079452c36b6749635222febbcc99fd6c847303a2f0c688967bfc7991c78cf04f122f576024d91ba99e6dfe0b34eec9f3a5042
7
- data.tar.gz: 387d6199e4e35523279b10b3dc0a1bb1314d9076c708bf410439e9b2b02d1b58fe5d8ba2b3a3b80208bbb257937795591bc1439bc65e101aa3f2812c73f469d4
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.7"
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.6.7"
24
- provided "org.embulk:embulk-core:0.6.7"
25
- compile 'org.elasticsearch:elasticsearch:1.4.2'
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
- #Thu Feb 05 00:05:43 PST 2015
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.1-bin.zip
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
@@ -1,3 +1,3 @@
1
1
  Embulk::JavaPlugin.register_output(
2
- :elasticsearch, "org.embulk.output.ElasticsearchOutputPlugin",
2
+ :elasticsearch, "org.embulk.output.elasticsearch.ElasticsearchOutputPlugin",
3
3
  File.expand_path('../../../../classpath', __FILE__))
@@ -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.CommitReport;
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<CommitReport> successCommitReports)
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 CommitReport commit()
395
+ public TaskReport commit()
396
396
  {
397
- CommitReport report = Exec.newCommitReport();
397
+ TaskReport report = Exec.newTaskReport();
398
398
  // TODO
399
399
  return report;
400
400
  }
@@ -1,4 +1,4 @@
1
- package org.embulk.output;
1
+ package org.embulk.output.elasticsearch;
2
2
 
3
3
  public class TestElasticsearchOutputPlugin
4
4
  {
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.7
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-05-09 00:00:00.000000000 Z
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/main/resources/META-INF/services/org.embulk.spi.Extension
73
- - src/test/java/org/embulk/output/TestElasticsearchOutputPlugin.java
74
- - classpath/elasticsearch-1.4.2.jar
75
- - classpath/embulk-output-elasticsearch-0.1.7.jar
76
- - classpath/lucene-analyzers-common-4.10.2.jar
77
- - classpath/lucene-core-4.10.2.jar
78
- - classpath/lucene-grouping-4.10.2.jar
79
- - classpath/lucene-highlighter-4.10.2.jar
80
- - classpath/lucene-join-4.10.2.jar
81
- - classpath/lucene-memory-4.10.2.jar
82
- - classpath/lucene-misc-4.10.2.jar
83
- - classpath/lucene-queries-4.10.2.jar
84
- - classpath/lucene-queryparser-4.10.2.jar
85
- - classpath/lucene-sandbox-4.10.2.jar
86
- - classpath/lucene-spatial-4.10.2.jar
87
- - classpath/lucene-suggest-4.10.2.jar
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