embulk-input-jira 0.2.11-java

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ad57293f5315e0c2d391793da5aef099dcccc77725beccb02529876593096ec9
4
+ data.tar.gz: 64ddbdf17d519341ac2b7e1c0ac587858f6537c3c8a23741dedb5c11b4eebe5c
5
+ SHA512:
6
+ metadata.gz: 16c11849cd26b5a29be63dc5faeff87a6e105d03eefca266fa0dc1329d411f29173ef699a34f7f740d28b4818640159743038d499d58ccb93152bdb6dec63d69
7
+ data.tar.gz: 7a66157028879547ccdf2bd296e0f96c9ebe35a0d86d762e5a4e80c270a1252bfb1a0704972300c863ea3be55884822382879fd7f5c88960152894fb14737376
Binary file
Binary file
@@ -0,0 +1,24 @@
1
+ # Not to be used as a standalone guess plugin
2
+ # This is just a thin wrapper to leverage the SchemaGuess Ruby implementation from Java side
3
+
4
+ require 'json'
5
+
6
+ module Embulk
7
+ module Guess
8
+ class JiraGuess < TextGuessPlugin
9
+ Plugin.register_guess("jira", self)
10
+
11
+ def guess_text(config, sample_text)
12
+ {:columns =>
13
+ SchemaGuess.from_hash_records(JSON.parse(sample_text)).map do |c|
14
+ {
15
+ name: c.name,
16
+ type: c.type,
17
+ **(c.format ? {format: c.format} : {})
18
+ }
19
+ end
20
+ }
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,3 @@
1
+ Embulk::JavaPlugin.register_input(
2
+ "jira", "org.embulk.input.jira.JiraInputPlugin",
3
+ File.expand_path('../../../../classpath', __FILE__))
metadata ADDED
@@ -0,0 +1,76 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: embulk-input-jira
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.11
5
+ platform: java
6
+ authors:
7
+ - uu59
8
+ - yoshihara
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2020-11-13 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: JIRA Embulk input plugin.
15
+ email:
16
+ - k@uu59.org
17
+ - h.yoshihara@everyleaf.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - classpath/activation-1.1.1.jar
23
+ - classpath/commons-codec-1.10.jar
24
+ - classpath/commons-lang3-3.4.jar
25
+ - classpath/commons-logging-1.2.jar
26
+ - classpath/embulk-input-jira-0.2.11.jar
27
+ - classpath/embulk-util-config-0.1.4.jar
28
+ - classpath/embulk-util-json-0.1.0.jar
29
+ - classpath/embulk-util-retryhelper-0.8.1.jar
30
+ - classpath/embulk-util-rubytime-0.3.2.jar
31
+ - classpath/embulk-util-timestamp-0.2.1.jar
32
+ - classpath/gson-2.8.5.jar
33
+ - classpath/guava-18.0.jar
34
+ - classpath/httpclient-4.5.6.jar
35
+ - classpath/httpcore-4.4.10.jar
36
+ - classpath/jackson-annotations-2.6.7.jar
37
+ - classpath/jackson-core-2.6.7.jar
38
+ - classpath/jackson-databind-2.6.7.jar
39
+ - classpath/jackson-datatype-jdk8-2.6.7.jar
40
+ - classpath/javax.annotation-api-1.2.jar
41
+ - classpath/javax.inject-2.5.0-b42.jar
42
+ - classpath/javax.ws.rs-api-2.1.jar
43
+ - classpath/jaxb-api-2.2.11.jar
44
+ - classpath/jaxb-core-2.2.11.jar
45
+ - classpath/jaxb-impl-2.2.11.jar
46
+ - classpath/jersey-client-2.27.jar
47
+ - classpath/jersey-common-2.27.jar
48
+ - classpath/osgi-resource-locator-1.0.1.jar
49
+ - classpath/validation-api-1.1.0.Final.jar
50
+ - lib/embulk/guess/jira.rb
51
+ - lib/embulk/input/jira.rb
52
+ homepage: https://github.com/treasure-data/embulk-input-jira
53
+ licenses:
54
+ - Apache-2.0
55
+ metadata: {}
56
+ post_install_message:
57
+ rdoc_options: []
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ requirements: []
71
+ rubyforge_project:
72
+ rubygems_version: 2.7.9
73
+ signing_key:
74
+ specification_version: 4
75
+ summary: JIRA Embulk input plugin.
76
+ test_files: []