embulk-input-jira 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +10 -5
- data/.travis.yml +4 -34
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +5 -4
- data/build.gradle +116 -0
- data/config/checkstyle/checkstyle.xml +128 -0
- data/config/checkstyle/default.xml +108 -0
- data/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/gradle/wrapper/gradle-wrapper.properties +5 -0
- data/gradlew +172 -0
- data/gradlew.bat +84 -0
- data/lib/embulk/guess/jira.rb +24 -0
- data/lib/embulk/input/jira.rb +3 -169
- data/src/main/java/org/embulk/input/jira/AuthenticateMethod.java +27 -0
- data/src/main/java/org/embulk/input/jira/Constant.java +17 -0
- data/src/main/java/org/embulk/input/jira/Issue.java +150 -0
- data/src/main/java/org/embulk/input/jira/JiraInputPlugin.java +226 -0
- data/src/main/java/org/embulk/input/jira/client/JiraClient.java +254 -0
- data/src/main/java/org/embulk/input/jira/util/JiraException.java +18 -0
- data/src/main/java/org/embulk/input/jira/util/JiraUtil.java +264 -0
- data/src/test/java/org/embulk/input/jira/IssueTest.java +278 -0
- data/src/test/java/org/embulk/input/jira/JiraInputPluginTest.java +204 -0
- data/src/test/java/org/embulk/input/jira/JiraPluginTestRuntime.java +133 -0
- data/src/test/java/org/embulk/input/jira/TestHelpers.java +41 -0
- data/src/test/java/org/embulk/input/jira/client/JiraClientTest.java +222 -0
- data/src/test/java/org/embulk/input/jira/util/JiraUtilTest.java +318 -0
- data/src/test/resources/config.yml +13 -0
- data/src/test/resources/issue_flatten.json +129 -0
- data/src/test/resources/issue_flatten_expected.json +73 -0
- data/src/test/resources/issue_get.json +36 -0
- data/src/test/resources/issue_get_expected.json +62 -0
- data/src/test/resources/jira_client.json +81 -0
- data/src/test/resources/jira_input_plugin.json +114 -0
- data/src/test/resources/jira_util.json +26 -0
- metadata +55 -175
- data/Gemfile +0 -3
- data/LICENSE +0 -13
- data/Rakefile +0 -15
- data/embulk-input-jira.gemspec +0 -27
- data/gemfiles/embulk-0.8.0-latest +0 -4
- data/gemfiles/embulk-0.8.7 +0 -4
- data/gemfiles/embulk-0.8.8 +0 -4
- data/gemfiles/embulk-latest +0 -4
- data/gemfiles/template.erb +0 -4
- data/lib/embulk/input/jira_api.rb +0 -9
- data/lib/embulk/input/jira_api/client.rb +0 -144
- data/lib/embulk/input/jira_api/issue.rb +0 -133
- data/lib/embulk/input/jira_input_plugin_utils.rb +0 -58
- data/spec/embulk/input/jira-input-plugin-utils_spec.rb +0 -89
- data/spec/embulk/input/jira_api/client_spec.rb +0 -224
- data/spec/embulk/input/jira_api/issue_spec.rb +0 -394
- data/spec/embulk/input/jira_spec.rb +0 -322
- data/spec/embulk_spec.rb +0 -32
- data/spec/spec_helper.rb +0 -26
- data/spec/support/stdout_and_err_capture.rb +0 -45
@@ -0,0 +1,73 @@
|
|
1
|
+
{
|
2
|
+
"simple": {
|
3
|
+
"primitive": 1,
|
4
|
+
"string": "string",
|
5
|
+
"array": "String value",
|
6
|
+
"object": {},
|
7
|
+
"null": null
|
8
|
+
},
|
9
|
+
"twoLevels": {
|
10
|
+
"1stLevel.2ndLevelPrimitive": 1,
|
11
|
+
"1stLevel.2ndLevelString": "string",
|
12
|
+
"1stLevel.2ndLevelArray": "String value",
|
13
|
+
"1stLevel.2ndLevelObject": {},
|
14
|
+
"1stLevel.2ndLevelNull": null
|
15
|
+
},
|
16
|
+
"threeLevels": {
|
17
|
+
"1stLevel.2ndLevel.3rdLevelPrimitive": 1,
|
18
|
+
"1stLevel.2ndLevel.3rdLevelString": "string",
|
19
|
+
"1stLevel.2ndLevel.3rdLevelArray": "String value",
|
20
|
+
"1stLevel.2ndLevel.3rdLevelObject": "{}",
|
21
|
+
"1stLevel.2ndLevel.3rdLevelNull": null
|
22
|
+
},
|
23
|
+
"threeLevelsWithoutKeys": {
|
24
|
+
"1stLevel.2ndLevel.3rdLevelPrimitive": 1,
|
25
|
+
"1stLevel.2ndLevel.3rdLevelString": "string",
|
26
|
+
"1stLevel.2ndLevel.3rdLevelArray": "String value",
|
27
|
+
"1stLevel.2ndLevel.3rdLevelObject": "{\"notKey\":\"notKey\"}",
|
28
|
+
"1stLevel.2ndLevel.3rdLevelNull": null
|
29
|
+
},
|
30
|
+
"threeLevelsWithKeys": {
|
31
|
+
"1stLevel.2ndLevel.3rdLevelPrimitive": 1,
|
32
|
+
"1stLevel.2ndLevel.3rdLevelString": "string",
|
33
|
+
"1stLevel.2ndLevel.3rdLevelArray": "String value",
|
34
|
+
"1stLevel.2ndLevel.3rdLevelObject.id": "id",
|
35
|
+
"1stLevel.2ndLevel.3rdLevelObject.name": "name",
|
36
|
+
"1stLevel.2ndLevel.3rdLevelObject.key": "key",
|
37
|
+
"1stLevel.2ndLevel.3rdLevelNull": null
|
38
|
+
},
|
39
|
+
"threeLevelsWithNullKeys": {
|
40
|
+
"1stLevel.2ndLevel.3rdLevelPrimitive": 1,
|
41
|
+
"1stLevel.2ndLevel.3rdLevelString": "string",
|
42
|
+
"1stLevel.2ndLevel.3rdLevelArray": "String value",
|
43
|
+
"1stLevel.2ndLevel.3rdLevelObject.id": "id",
|
44
|
+
"1stLevel.2ndLevel.3rdLevelObject.name": "name",
|
45
|
+
"1stLevel.2ndLevel.3rdLevelNull": null
|
46
|
+
},
|
47
|
+
"arrayWithAllJsonObjectWithSameKeysAndEmptyObject": {
|
48
|
+
"array.primitive": "String value",
|
49
|
+
"array.string": "String value",
|
50
|
+
"array.array": "String value",
|
51
|
+
"array.object": {},
|
52
|
+
"array.null": "String value"
|
53
|
+
},
|
54
|
+
"arrayWithAllJsonObjectWithSameKeysAndNotEmptyObject": {
|
55
|
+
"array.primitive": "String value",
|
56
|
+
"array.string": "String value",
|
57
|
+
"array.array": "String value",
|
58
|
+
"array.object.primitive": "String value",
|
59
|
+
"array.null": "String value"
|
60
|
+
},
|
61
|
+
"arrayWithAllJsonObjectWithoutSameKeys": {
|
62
|
+
"array.primitive": "String value",
|
63
|
+
"array.string": "String value",
|
64
|
+
"array.array": "String value",
|
65
|
+
"array.object": "String value",
|
66
|
+
"array.null": "String value",
|
67
|
+
"array.primitive1": "String value",
|
68
|
+
"array.string1": "String value",
|
69
|
+
"array.array1": "String value",
|
70
|
+
"array.object1": "String value",
|
71
|
+
"array.null1": "String value"
|
72
|
+
}
|
73
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
{
|
2
|
+
"primitive": 1,
|
3
|
+
"string": "string",
|
4
|
+
"emptyObject": {},
|
5
|
+
"object": {
|
6
|
+
"x": 1
|
7
|
+
},
|
8
|
+
"null": null,
|
9
|
+
"emptyArray": [],
|
10
|
+
"primitiveArray": [
|
11
|
+
1,
|
12
|
+
2,
|
13
|
+
3
|
14
|
+
],
|
15
|
+
"nested": {
|
16
|
+
"primitive": 1,
|
17
|
+
"object": {},
|
18
|
+
"array": [
|
19
|
+
1,
|
20
|
+
{},
|
21
|
+
3
|
22
|
+
]
|
23
|
+
},
|
24
|
+
"allJsonObjectArray": [
|
25
|
+
{
|
26
|
+
"primitive": 1,
|
27
|
+
"string": "string1",
|
28
|
+
"only1": "only1"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"primitive": 2,
|
32
|
+
"string": "string2",
|
33
|
+
"only2": "only2"
|
34
|
+
}
|
35
|
+
]
|
36
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
{
|
2
|
+
"primitive": "primitive",
|
3
|
+
"primitiveResult": 1,
|
4
|
+
"string": "string",
|
5
|
+
"stringResult": "string",
|
6
|
+
"emptyObject": "emptyObject",
|
7
|
+
"emptyObjectResult": {},
|
8
|
+
"object": "object",
|
9
|
+
"objectResult": {
|
10
|
+
"x": 1
|
11
|
+
},
|
12
|
+
"null": "null",
|
13
|
+
"nullResult": null,
|
14
|
+
"notExisted": "notExisted",
|
15
|
+
"notExistedResult": null,
|
16
|
+
"notExisted2Levels": "notExisted.notExisted",
|
17
|
+
"notExisted2LevelsResult": null,
|
18
|
+
"emptyArray": "emptyArray",
|
19
|
+
"emptyArrayResult": [],
|
20
|
+
"primitiveArray": "primitiveArray",
|
21
|
+
"primitiveArrayResult": [
|
22
|
+
1,
|
23
|
+
2,
|
24
|
+
3
|
25
|
+
],
|
26
|
+
"nestedPrimitive": "nested.primitive",
|
27
|
+
"nestedPrimitiveResult": 1,
|
28
|
+
"nestedObject": "nested.object",
|
29
|
+
"nestedObjectResult": {},
|
30
|
+
"nestedArray": "nested.array",
|
31
|
+
"nestedArrayResult": [
|
32
|
+
1,
|
33
|
+
{},
|
34
|
+
3
|
35
|
+
],
|
36
|
+
"3levelsArraysNull": "nested.array.null",
|
37
|
+
"3levelsArraysNullResult": [
|
38
|
+
1,
|
39
|
+
null,
|
40
|
+
3
|
41
|
+
],
|
42
|
+
"allJsonObjectArrayPrimitive": "allJsonObjectArray.primitive",
|
43
|
+
"allJsonObjectArrayPrimitiveResult": [
|
44
|
+
1,
|
45
|
+
2
|
46
|
+
],
|
47
|
+
"allJsonObjectArrayString": "allJsonObjectArray.string",
|
48
|
+
"allJsonObjectArrayStringResult": [
|
49
|
+
"string1",
|
50
|
+
"string2"
|
51
|
+
],
|
52
|
+
"allJsonObjectArrayOnly1": "allJsonObjectArray.only1",
|
53
|
+
"allJsonObjectArrayOnly1Result": [
|
54
|
+
"only1",
|
55
|
+
null
|
56
|
+
],
|
57
|
+
"allJsonObjectArrayOnly2": "allJsonObjectArray.only2",
|
58
|
+
"allJsonObjectArrayOnly2Result": [
|
59
|
+
null,
|
60
|
+
"only2"
|
61
|
+
]
|
62
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
{
|
2
|
+
"credentialSuccess": {
|
3
|
+
"statusCode": 200,
|
4
|
+
"body": {}
|
5
|
+
},
|
6
|
+
"credentialFail400": {
|
7
|
+
"statusCode": 400,
|
8
|
+
"body": "Bad request"
|
9
|
+
},
|
10
|
+
"credentialFail401": {
|
11
|
+
"statusCode": 401,
|
12
|
+
"body": "Unauthorized"
|
13
|
+
},
|
14
|
+
"credentialFail429": {
|
15
|
+
"statusCode": 429,
|
16
|
+
"body": "Too many request"
|
17
|
+
},
|
18
|
+
"credentialFail500": {
|
19
|
+
"statusCode": 500,
|
20
|
+
"body": "Internal server error"
|
21
|
+
},
|
22
|
+
"totalCountSuccess": {
|
23
|
+
"statusCode": 200,
|
24
|
+
"body": {
|
25
|
+
"total": 10
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"totalCountFailAllTime": {
|
29
|
+
"statusCode": 401,
|
30
|
+
"body": "Unauthorized"
|
31
|
+
},
|
32
|
+
"totalCountFail400": {
|
33
|
+
"statusCode": 400,
|
34
|
+
"body": "Unauthorized"
|
35
|
+
},
|
36
|
+
"searchIssuesSuccess": {
|
37
|
+
"statusCode": 200,
|
38
|
+
"body": {
|
39
|
+
"startAt": 0,
|
40
|
+
"maxResults": 50,
|
41
|
+
"total": 2,
|
42
|
+
"issues": [
|
43
|
+
{
|
44
|
+
"id": "id1",
|
45
|
+
"key": "key1",
|
46
|
+
"self": "self1",
|
47
|
+
"fields": {
|
48
|
+
"boolean": true,
|
49
|
+
"long": 1,
|
50
|
+
"double": 1,
|
51
|
+
"string": "string1",
|
52
|
+
"date": "2019-01-01T00:00:00.000Z",
|
53
|
+
"json": {}
|
54
|
+
}
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"id": "id2",
|
58
|
+
"key": "key2",
|
59
|
+
"self": "self2",
|
60
|
+
"fields": {
|
61
|
+
"boolean": true,
|
62
|
+
"long": 2,
|
63
|
+
"double": 2,
|
64
|
+
"string": "string2",
|
65
|
+
"date": "2019-02-01T00:00:00.000Z",
|
66
|
+
"json": {}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
]
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"searchIssuesFailJql": {
|
73
|
+
"statusCode": 400,
|
74
|
+
"body": {
|
75
|
+
"errorMessages": [
|
76
|
+
"Error in the JQL Query: Expecting a field name at the end of the query."
|
77
|
+
],
|
78
|
+
"errors": {}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
@@ -0,0 +1,114 @@
|
|
1
|
+
{
|
2
|
+
"authenticateSuccess": {
|
3
|
+
"statusCode": 200,
|
4
|
+
"body": {}
|
5
|
+
},
|
6
|
+
"authenticateFail": {
|
7
|
+
"statusCode": 401,
|
8
|
+
"body": {}
|
9
|
+
},
|
10
|
+
"emptyResult": {
|
11
|
+
"statusCode": 200,
|
12
|
+
"body": {
|
13
|
+
"startAt": 0,
|
14
|
+
"maxResults": 50,
|
15
|
+
"total": 0,
|
16
|
+
"issues": []
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"oneRecordResult": {
|
20
|
+
"statusCode": 200,
|
21
|
+
"body": {
|
22
|
+
"startAt": 0,
|
23
|
+
"maxResults": 50,
|
24
|
+
"total": 1,
|
25
|
+
"issues": [
|
26
|
+
{
|
27
|
+
"id": "id1",
|
28
|
+
"key": "key1",
|
29
|
+
"self": "self1",
|
30
|
+
"fields": {
|
31
|
+
"boolean": true,
|
32
|
+
"long": 1,
|
33
|
+
"double": 1.0,
|
34
|
+
"string": "string1",
|
35
|
+
"date": "2019-01-01T00:00:00.000Z",
|
36
|
+
"json": {}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
]
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"guessDataResult": {
|
43
|
+
"statusCode": 200,
|
44
|
+
"body": {
|
45
|
+
"startAt": 0,
|
46
|
+
"maxResults": 50,
|
47
|
+
"total": 1,
|
48
|
+
"issues": [
|
49
|
+
{
|
50
|
+
"fields": {
|
51
|
+
"boolean": true,
|
52
|
+
"long": 1,
|
53
|
+
"double": 1.0,
|
54
|
+
"string": "string1",
|
55
|
+
"date": "2019-01-01T00:00:00.000Z",
|
56
|
+
"json": {}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
]
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"guessResult": {
|
63
|
+
"columns": [
|
64
|
+
{
|
65
|
+
"name": "boolean",
|
66
|
+
"type": "boolean"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"name": "date",
|
70
|
+
"type": "timestamp",
|
71
|
+
"format": "%Y-%m-%dT%H:%M:%S.%L%z"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"name": "double",
|
75
|
+
"type": "double"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"name": "json",
|
79
|
+
"type": "json"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"name": "long",
|
83
|
+
"type": "long"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"name": "string",
|
87
|
+
"type": "string"
|
88
|
+
}
|
89
|
+
]
|
90
|
+
},
|
91
|
+
"2PagesResult": {
|
92
|
+
"statusCode": 200,
|
93
|
+
"body": {
|
94
|
+
"startAt": 0,
|
95
|
+
"maxResults": 50,
|
96
|
+
"total": 51,
|
97
|
+
"issues": [
|
98
|
+
{
|
99
|
+
"id": "id1",
|
100
|
+
"key": "key1",
|
101
|
+
"self": "self1",
|
102
|
+
"fields": {
|
103
|
+
"boolean": true,
|
104
|
+
"long": 1,
|
105
|
+
"double": 1,
|
106
|
+
"string": "string1",
|
107
|
+
"date": "2019-01-01T00:00:00.000Z",
|
108
|
+
"json": {}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
]
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"allRight": {
|
3
|
+
"boolean": true,
|
4
|
+
"long": 1,
|
5
|
+
"double": 1,
|
6
|
+
"string": "string",
|
7
|
+
"date": "2019-01-01T00:00:00.000Z",
|
8
|
+
"json": {}
|
9
|
+
},
|
10
|
+
"allWrong": {
|
11
|
+
"boolean": {},
|
12
|
+
"long": {},
|
13
|
+
"double": {},
|
14
|
+
"string": {},
|
15
|
+
"date": "abcxyz",
|
16
|
+
"json": {}
|
17
|
+
},
|
18
|
+
"allMissing": {},
|
19
|
+
"arrayAsString": {
|
20
|
+
"string": [
|
21
|
+
1,
|
22
|
+
{},
|
23
|
+
[]
|
24
|
+
]
|
25
|
+
}
|
26
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-jira
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- uu59
|
@@ -9,64 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-03-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.5.0
|
20
|
-
name: jiralicious
|
21
|
-
prerelease: false
|
22
|
-
type: :runtime
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - "~>"
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 0.5.0
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.6.0
|
34
|
-
name: parallel
|
35
|
-
prerelease: false
|
36
|
-
type: :runtime
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 1.6.0
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.0'
|
48
|
-
name: ruby-limiter
|
49
|
-
prerelease: false
|
50
|
-
type: :runtime
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '1.0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0.3'
|
62
|
-
name: perfect_retry
|
63
|
-
prerelease: false
|
64
|
-
type: :runtime
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0.3'
|
70
14
|
- !ruby/object:Gem::Dependency
|
71
15
|
requirement: !ruby/object:Gem::Requirement
|
72
16
|
requirements:
|
@@ -81,104 +25,20 @@ dependencies:
|
|
81
25
|
- - "~>"
|
82
26
|
- !ruby/object:Gem::Version
|
83
27
|
version: '1.0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "<"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '11.0'
|
90
|
-
name: rake
|
91
|
-
prerelease: false
|
92
|
-
type: :development
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "<"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '11.0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 3.2.0
|
104
|
-
name: rspec
|
105
|
-
prerelease: false
|
106
|
-
type: :development
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: 3.2.0
|
112
28
|
- !ruby/object:Gem::Dependency
|
113
29
|
requirement: !ruby/object:Gem::Requirement
|
114
30
|
requirements:
|
115
31
|
- - "~>"
|
116
32
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0
|
118
|
-
name:
|
33
|
+
version: '12.0'
|
34
|
+
name: rake
|
119
35
|
prerelease: false
|
120
36
|
type: :development
|
121
37
|
version_requirements: !ruby/object:Gem::Requirement
|
122
38
|
requirements:
|
123
39
|
- - "~>"
|
124
40
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
name: simplecov
|
133
|
-
prerelease: false
|
134
|
-
type: :development
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
name: pry
|
147
|
-
prerelease: false
|
148
|
-
type: :development
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
name: codeclimate-test-reporter
|
161
|
-
prerelease: false
|
162
|
-
type: :development
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - ">="
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '0'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
name: everyleaf-embulk_helper
|
175
|
-
prerelease: false
|
176
|
-
type: :development
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - ">="
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
41
|
+
version: '12.0'
|
182
42
|
description: Loads records from Jira.
|
183
43
|
email:
|
184
44
|
- k@uu59.org
|
@@ -191,31 +51,58 @@ files:
|
|
191
51
|
- ".travis.yml"
|
192
52
|
- ".travis.yml.erb"
|
193
53
|
- CHANGELOG.md
|
194
|
-
-
|
195
|
-
- LICENSE
|
54
|
+
- LICENSE.txt
|
196
55
|
- README.md
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
56
|
+
- build.gradle
|
57
|
+
- classpath/commons-codec-1.10.jar
|
58
|
+
- classpath/commons-logging-1.2.jar
|
59
|
+
- classpath/embulk-input-jira-0.2.6.jar
|
60
|
+
- classpath/embulk-util-retryhelper-jetty92-0.6.0.jar
|
61
|
+
- classpath/gson-2.8.5.jar
|
62
|
+
- classpath/httpclient-4.5.6.jar
|
63
|
+
- classpath/httpcore-4.4.10.jar
|
64
|
+
- classpath/javax.annotation-api-1.2.jar
|
65
|
+
- classpath/javax.inject-2.5.0-b42.jar
|
66
|
+
- classpath/javax.ws.rs-api-2.1.jar
|
67
|
+
- classpath/jersey-client-2.27.jar
|
68
|
+
- classpath/jersey-common-2.27.jar
|
69
|
+
- classpath/jetty-client-9.2.14.v20151106.jar
|
70
|
+
- classpath/jetty-http-9.2.14.v20151106.jar
|
71
|
+
- classpath/jetty-io-9.2.14.v20151106.jar
|
72
|
+
- classpath/jetty-util-9.2.14.v20151106.jar
|
73
|
+
- classpath/osgi-resource-locator-1.0.1.jar
|
74
|
+
- config/checkstyle/checkstyle.xml
|
75
|
+
- config/checkstyle/default.xml
|
76
|
+
- gradle/wrapper/gradle-wrapper.jar
|
77
|
+
- gradle/wrapper/gradle-wrapper.properties
|
78
|
+
- gradlew
|
79
|
+
- gradlew.bat
|
80
|
+
- lib/embulk/guess/jira.rb
|
204
81
|
- lib/embulk/input/jira.rb
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
82
|
+
- src/main/java/org/embulk/input/jira/AuthenticateMethod.java
|
83
|
+
- src/main/java/org/embulk/input/jira/Constant.java
|
84
|
+
- src/main/java/org/embulk/input/jira/Issue.java
|
85
|
+
- src/main/java/org/embulk/input/jira/JiraInputPlugin.java
|
86
|
+
- src/main/java/org/embulk/input/jira/client/JiraClient.java
|
87
|
+
- src/main/java/org/embulk/input/jira/util/JiraException.java
|
88
|
+
- src/main/java/org/embulk/input/jira/util/JiraUtil.java
|
89
|
+
- src/test/java/org/embulk/input/jira/IssueTest.java
|
90
|
+
- src/test/java/org/embulk/input/jira/JiraInputPluginTest.java
|
91
|
+
- src/test/java/org/embulk/input/jira/JiraPluginTestRuntime.java
|
92
|
+
- src/test/java/org/embulk/input/jira/TestHelpers.java
|
93
|
+
- src/test/java/org/embulk/input/jira/client/JiraClientTest.java
|
94
|
+
- src/test/java/org/embulk/input/jira/util/JiraUtilTest.java
|
95
|
+
- src/test/resources/config.yml
|
96
|
+
- src/test/resources/issue_flatten.json
|
97
|
+
- src/test/resources/issue_flatten_expected.json
|
98
|
+
- src/test/resources/issue_get.json
|
99
|
+
- src/test/resources/issue_get_expected.json
|
100
|
+
- src/test/resources/jira_client.json
|
101
|
+
- src/test/resources/jira_input_plugin.json
|
102
|
+
- src/test/resources/jira_util.json
|
216
103
|
homepage: https://github.com/treasure-data/embulk-input-jira
|
217
104
|
licenses:
|
218
|
-
-
|
105
|
+
- Apache-2.0
|
219
106
|
metadata: {}
|
220
107
|
post_install_message:
|
221
108
|
rdoc_options: []
|
@@ -233,15 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
120
|
version: '0'
|
234
121
|
requirements: []
|
235
122
|
rubyforge_project:
|
236
|
-
rubygems_version: 2.6.
|
123
|
+
rubygems_version: 2.6.8
|
237
124
|
signing_key:
|
238
125
|
specification_version: 4
|
239
126
|
summary: Jira input plugin for Embulk
|
240
|
-
test_files:
|
241
|
-
- spec/embulk/input/jira-input-plugin-utils_spec.rb
|
242
|
-
- spec/embulk/input/jira_api/client_spec.rb
|
243
|
-
- spec/embulk/input/jira_api/issue_spec.rb
|
244
|
-
- spec/embulk/input/jira_spec.rb
|
245
|
-
- spec/embulk_spec.rb
|
246
|
-
- spec/spec_helper.rb
|
247
|
-
- spec/support/stdout_and_err_capture.rb
|
127
|
+
test_files: []
|