embulk 0.8.25-java → 0.8.26-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/build.gradle +16 -1
  3. data/embulk-cli/src/main/java/org/embulk/cli/EmbulkMigrate.java +6 -3
  4. data/embulk-core/build.gradle +7 -0
  5. data/embulk-core/src/main/java/org/embulk/EmbulkService.java +2 -0
  6. data/embulk-core/src/main/java/org/embulk/plugin/InjectedPluginSource.java +1 -1
  7. data/embulk-core/src/main/java/org/embulk/plugin/MavenPluginType.java +21 -6
  8. data/embulk-core/src/main/java/org/embulk/plugin/PluginClassLoader.java +42 -2
  9. data/embulk-core/src/main/java/org/embulk/plugin/PluginSourceNotMatchException.java +6 -0
  10. data/embulk-core/src/main/java/org/embulk/plugin/PluginType.java +2 -1
  11. data/embulk-core/src/main/java/org/embulk/plugin/jar/InvalidJarPluginException.java +14 -0
  12. data/embulk-core/src/main/java/org/embulk/plugin/jar/JarPluginLoader.java +205 -0
  13. data/embulk-core/src/main/java/org/embulk/plugin/maven/MavenArtifactFinder.java +134 -0
  14. data/embulk-core/src/main/java/org/embulk/plugin/maven/MavenArtifactNotFoundException.java +20 -0
  15. data/embulk-core/src/main/java/org/embulk/plugin/maven/MavenPluginSource.java +187 -0
  16. data/embulk-core/src/main/java/org/embulk/plugin/maven/MavenPluginSourceModule.java +22 -0
  17. data/embulk-core/src/main/java/org/embulk/plugin/maven/MavenRepositoryNotFoundException.java +31 -0
  18. data/embulk-core/src/main/resources/embulk/parent_first_packages.properties +3 -1
  19. data/embulk-core/src/main/resources/embulk/parent_first_resources.properties +2 -1
  20. data/embulk-core/src/test/java/org/embulk/EmbulkTestRuntime.java +8 -0
  21. data/embulk-core/src/test/java/org/embulk/plugin/TestPluginType.java +24 -0
  22. data/embulk-core/src/test/java/org/embulk/plugin/TestPluginTypeSerDe.java +17 -0
  23. data/embulk-core/src/test/java/org/embulk/plugin/jar/ExampleJarSpiV0.java +9 -0
  24. data/embulk-core/src/test/java/org/embulk/plugin/jar/JarBuilder.java +101 -0
  25. data/embulk-core/src/test/java/org/embulk/plugin/jar/TestJarPluginLoader.java +60 -0
  26. data/embulk-core/src/test/java/org/embulk/plugin/maven/TestMavenArtifactFinder.java +41 -0
  27. data/embulk-core/src/test/resources/m2.test/.gitignore +1 -0
  28. data/embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.jar +0 -0
  29. data/embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.jar.sha1 +1 -0
  30. data/embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.pom +9 -0
  31. data/embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.pom.sha1 +1 -0
  32. data/embulk-docs/src/built-in.rst +26 -9
  33. data/embulk-docs/src/release.rst +1 -0
  34. data/embulk-docs/src/release/release-0.8.26.rst +16 -0
  35. data/embulk-standards/src/main/java/org/embulk/standards/ConfigInputPlugin.java +170 -0
  36. data/embulk-standards/src/main/java/org/embulk/standards/StandardPluginModule.java +1 -0
  37. data/lib/embulk/version.rb +1 -1
  38. metadata +58 -29
@@ -23,6 +23,7 @@ public class StandardPluginModule
23
23
  Preconditions.checkNotNull(binder, "binder is null.");
24
24
 
25
25
  // input plugins
26
+ registerPluginTo(binder, InputPlugin.class, "config", ConfigInputPlugin.class);
26
27
  registerPluginTo(binder, InputPlugin.class, "file", LocalFileInputPlugin.class);
27
28
 
28
29
  // parser plugins
@@ -3,7 +3,7 @@
3
3
  module Embulk
4
4
  @@warned = false
5
5
 
6
- VERSION_INTERNAL = '0.8.25'
6
+ VERSION_INTERNAL = '0.8.26'
7
7
 
8
8
  DEPRECATED_MESSAGE = 'Embulk::VERSION in (J)Ruby is deprecated. Use org.embulk.EmbulkVersion::VERSION instead. If this message is from a plugin, please tell this to the author of the plugin!'
9
9
  def self.const_missing(name)
metadata CHANGED
@@ -1,127 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.25
4
+ version: 0.8.26
5
5
  platform: java
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-16 00:00:00.000000000 Z
11
+ date: 2017-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: bundler
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - ">="
17
18
  - !ruby/object:Gem::Version
18
19
  version: 1.10.6
19
- name: bundler
20
- prerelease: false
21
- type: :runtime
22
20
  version_requirements: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ">="
25
23
  - !ruby/object:Gem::Version
26
24
  version: 1.10.6
25
+ prerelease: false
26
+ type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
+ name: msgpack
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: 1.1.0
33
- name: msgpack
34
- prerelease: false
35
- type: :runtime
36
34
  version_requirements: !ruby/object:Gem::Requirement
37
35
  requirements:
38
36
  - - "~>"
39
37
  - !ruby/object:Gem::Version
40
38
  version: 1.1.0
39
+ prerelease: false
40
+ type: :runtime
41
41
  - !ruby/object:Gem::Dependency
42
+ name: liquid
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
47
  version: 3.0.6
47
- name: liquid
48
- prerelease: false
49
- type: :runtime
50
48
  version_requirements: !ruby/object:Gem::Requirement
51
49
  requirements:
52
50
  - - "~>"
53
51
  - !ruby/object:Gem::Version
54
52
  version: 3.0.6
53
+ prerelease: false
54
+ type: :runtime
55
55
  - !ruby/object:Gem::Dependency
56
+ name: rjack-icu
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - "~>"
59
60
  - !ruby/object:Gem::Version
60
61
  version: 4.54.1.1
61
- name: rjack-icu
62
- prerelease: false
63
- type: :runtime
64
62
  version_requirements: !ruby/object:Gem::Requirement
65
63
  requirements:
66
64
  - - "~>"
67
65
  - !ruby/object:Gem::Version
68
66
  version: 4.54.1.1
67
+ prerelease: false
68
+ type: :runtime
69
69
  - !ruby/object:Gem::Dependency
70
+ name: rake
70
71
  requirement: !ruby/object:Gem::Requirement
71
72
  requirements:
72
73
  - - ">="
73
74
  - !ruby/object:Gem::Version
74
75
  version: 0.10.0
75
- name: rake
76
- prerelease: false
77
- type: :development
78
76
  version_requirements: !ruby/object:Gem::Requirement
79
77
  requirements:
80
78
  - - ">="
81
79
  - !ruby/object:Gem::Version
82
80
  version: 0.10.0
81
+ prerelease: false
82
+ type: :development
83
83
  - !ruby/object:Gem::Dependency
84
+ name: test-unit
84
85
  requirement: !ruby/object:Gem::Requirement
85
86
  requirements:
86
87
  - - "~>"
87
88
  - !ruby/object:Gem::Version
88
89
  version: 3.0.9
89
- name: test-unit
90
- prerelease: false
91
- type: :development
92
90
  version_requirements: !ruby/object:Gem::Requirement
93
91
  requirements:
94
92
  - - "~>"
95
93
  - !ruby/object:Gem::Version
96
94
  version: 3.0.9
95
+ prerelease: false
96
+ type: :development
97
97
  - !ruby/object:Gem::Dependency
98
+ name: yard
98
99
  requirement: !ruby/object:Gem::Requirement
99
100
  requirements:
100
101
  - - "~>"
101
102
  - !ruby/object:Gem::Version
102
103
  version: 0.8.7
103
- name: yard
104
- prerelease: false
105
- type: :development
106
104
  version_requirements: !ruby/object:Gem::Requirement
107
105
  requirements:
108
106
  - - "~>"
109
107
  - !ruby/object:Gem::Version
110
108
  version: 0.8.7
109
+ prerelease: false
110
+ type: :development
111
111
  - !ruby/object:Gem::Dependency
112
+ name: kramdown
112
113
  requirement: !ruby/object:Gem::Requirement
113
114
  requirements:
114
115
  - - "~>"
115
116
  - !ruby/object:Gem::Version
116
117
  version: 1.5.0
117
- name: kramdown
118
- prerelease: false
119
- type: :development
120
118
  version_requirements: !ruby/object:Gem::Requirement
121
119
  requirements:
122
120
  - - "~>"
123
121
  - !ruby/object:Gem::Version
124
122
  version: 1.5.0
123
+ prerelease: false
124
+ type: :development
125
125
  description: Embulk is an open-source, plugin-based bulk data loader to scale and simplify data management across heterogeneous data stores. It can collect and ship any kinds of data in high throughput with transaction control.
126
126
  email:
127
127
  - frsyuki@gmail.com
@@ -141,6 +141,10 @@ files:
141
141
  - appveyor.yml
142
142
  - bin/embulk
143
143
  - build.gradle
144
+ - classpath/aether-api-1.1.0.jar
145
+ - classpath/aether-impl-1.1.0.jar
146
+ - classpath/aether-spi-1.1.0.jar
147
+ - classpath/aether-util-1.1.0.jar
144
148
  - classpath/annotations-3.0.0.jar
145
149
  - classpath/aopalliance-1.0.jar
146
150
  - classpath/bval-core-0.5.jar
@@ -150,9 +154,9 @@ files:
150
154
  - classpath/commons-compress-1.10.jar
151
155
  - classpath/commons-lang-2.4.jar
152
156
  - classpath/commons-lang3-3.4.jar
153
- - classpath/embulk-cli-0.8.25.jar
154
- - classpath/embulk-core-0.8.25.jar
155
- - classpath/embulk-standards-0.8.25.jar
157
+ - classpath/embulk-cli-0.8.26.jar
158
+ - classpath/embulk-core-0.8.26.jar
159
+ - classpath/embulk-standards-0.8.26.jar
156
160
  - classpath/guava-18.0.jar
157
161
  - classpath/guice-4.0.jar
158
162
  - classpath/guice-bootstrap-0.1.1.jar
@@ -168,10 +172,17 @@ files:
168
172
  - classpath/joda-time-2.9.2.jar
169
173
  - classpath/logback-classic-1.1.3.jar
170
174
  - classpath/logback-core-1.1.3.jar
175
+ - classpath/maven-aether-provider-3.3.9.jar
171
176
  - classpath/maven-artifact-3.3.9.jar
177
+ - classpath/maven-builder-support-3.3.9.jar
178
+ - classpath/maven-model-3.3.9.jar
179
+ - classpath/maven-model-builder-3.3.9.jar
180
+ - classpath/maven-repository-metadata-3.3.9.jar
172
181
  - classpath/msgpack-core-0.8.11.jar
173
182
  - classpath/netty-buffer-4.0.44.Final.jar
174
183
  - classpath/netty-common-4.0.44.Final.jar
184
+ - classpath/plexus-component-annotations-1.6.jar
185
+ - classpath/plexus-interpolation-1.21.jar
175
186
  - classpath/plexus-utils-3.0.22.jar
176
187
  - classpath/slf4j-api-1.7.12.jar
177
188
  - classpath/slice-0.9.jar
@@ -261,6 +272,13 @@ files:
261
272
  - embulk-core/src/main/java/org/embulk/plugin/compat/TransactionalFileInputWrapper.java
262
273
  - embulk-core/src/main/java/org/embulk/plugin/compat/TransactionalFileOutputWrapper.java
263
274
  - embulk-core/src/main/java/org/embulk/plugin/compat/TransactionalPageOutputWrapper.java
275
+ - embulk-core/src/main/java/org/embulk/plugin/jar/InvalidJarPluginException.java
276
+ - embulk-core/src/main/java/org/embulk/plugin/jar/JarPluginLoader.java
277
+ - embulk-core/src/main/java/org/embulk/plugin/maven/MavenArtifactFinder.java
278
+ - embulk-core/src/main/java/org/embulk/plugin/maven/MavenArtifactNotFoundException.java
279
+ - embulk-core/src/main/java/org/embulk/plugin/maven/MavenPluginSource.java
280
+ - embulk-core/src/main/java/org/embulk/plugin/maven/MavenPluginSourceModule.java
281
+ - embulk-core/src/main/java/org/embulk/plugin/maven/MavenRepositoryNotFoundException.java
264
282
  - embulk-core/src/main/java/org/embulk/spi/AbortTransactionResource.java
265
283
  - embulk-core/src/main/java/org/embulk/spi/Buffer.java
266
284
  - embulk-core/src/main/java/org/embulk/spi/BufferAllocator.java
@@ -382,6 +400,10 @@ files:
382
400
  - embulk-core/src/test/java/org/embulk/plugin/MockPluginSource.java
383
401
  - embulk-core/src/test/java/org/embulk/plugin/TestPluginType.java
384
402
  - embulk-core/src/test/java/org/embulk/plugin/TestPluginTypeSerDe.java
403
+ - embulk-core/src/test/java/org/embulk/plugin/jar/ExampleJarSpiV0.java
404
+ - embulk-core/src/test/java/org/embulk/plugin/jar/JarBuilder.java
405
+ - embulk-core/src/test/java/org/embulk/plugin/jar/TestJarPluginLoader.java
406
+ - embulk-core/src/test/java/org/embulk/plugin/maven/TestMavenArtifactFinder.java
385
407
  - embulk-core/src/test/java/org/embulk/spi/MockFileOutput.java
386
408
  - embulk-core/src/test/java/org/embulk/spi/MockFormatterPlugin.java
387
409
  - embulk-core/src/test/java/org/embulk/spi/MockParserPlugin.java
@@ -399,6 +421,11 @@ files:
399
421
  - embulk-core/src/test/java/org/embulk/spi/unit/TestByteSize.java
400
422
  - embulk-core/src/test/java/org/embulk/spi/util/TestLineDecoder.java
401
423
  - embulk-core/src/test/java/org/embulk/spi/util/TestLineEncoder.java
424
+ - embulk-core/src/test/resources/m2.test/.gitignore
425
+ - embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.jar
426
+ - embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.jar.sha1
427
+ - embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.pom
428
+ - embulk-core/src/test/resources/m2.test/org/embulk/example/embulk-example-maven-artifact/0.1.2/embulk-example-maven-artifact-0.1.2.pom.sha1
402
429
  - embulk-docs/Makefile
403
430
  - embulk-docs/build.gradle
404
431
  - embulk-docs/make.bat
@@ -507,6 +534,7 @@ files:
507
534
  - embulk-docs/src/release/release-0.8.23.rst
508
535
  - embulk-docs/src/release/release-0.8.24.rst
509
536
  - embulk-docs/src/release/release-0.8.25.rst
537
+ - embulk-docs/src/release/release-0.8.26.rst
510
538
  - embulk-docs/src/release/release-0.8.3.rst
511
539
  - embulk-docs/src/release/release-0.8.4.rst
512
540
  - embulk-docs/src/release/release-0.8.5.rst
@@ -517,6 +545,7 @@ files:
517
545
  - embulk-standards/build.gradle
518
546
  - embulk-standards/src/main/java/org/embulk/standards/Bzip2FileDecoderPlugin.java
519
547
  - embulk-standards/src/main/java/org/embulk/standards/Bzip2FileEncoderPlugin.java
548
+ - embulk-standards/src/main/java/org/embulk/standards/ConfigInputPlugin.java
520
549
  - embulk-standards/src/main/java/org/embulk/standards/CsvFormatterPlugin.java
521
550
  - embulk-standards/src/main/java/org/embulk/standards/CsvParserPlugin.java
522
551
  - embulk-standards/src/main/java/org/embulk/standards/CsvTokenizer.java