embulk-input-http 0.0.14 → 0.0.15

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: d62090084b1b3aef2a94e38c98cc94da327c2a05
4
- data.tar.gz: c24c27bbcecc3348fd5b99a374d30bda5e9ea343
3
+ metadata.gz: 62da7af46d26103cf5afdcb94b6fb1c807e26c38
4
+ data.tar.gz: ad8323dab3583326adbcff02408d3eaa3bc8e2a2
5
5
  SHA512:
6
- metadata.gz: 4b9ea2a9626e1c27626d2ef6b3990318021fea78f2eb40889e5f27c90f904fa76e8632146f467963e9f7f345e79d516155d2687f82d9fcb6a3095bf6a91aae6a
7
- data.tar.gz: d1eb0265ffd0c122f0adc3dcc6c4d5560e162339176d682033df6d90f0b6abb55c169b5a95f25ce862fdf8b6bcdb35aebd05332e04aa54731e840999a0d18cc5
6
+ metadata.gz: a8a0e35550e2dd0df465a9b08bd916463676eb818eb1fe00c7279dc799c367e8be5949b04cc513ed4b21fbd01b65fcc7568c3141c27fc5fb58ec556c663e0945
7
+ data.tar.gz: aa5b119f9a2f29ff4ce01a3b548149ede29de765c8e0431a64862f053646b9bc4f67320299341526de695d56237972b44f53ce710a1349dd6fb642b153a3c4b1
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ *~
2
+ /pkg/
3
+ /tmp/
4
+ .gradle/
5
+ /classpath/
6
+ build/
7
+ .idea
8
+ *.iml
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,188 @@
1
+ # Embulk::Input::Http
2
+
3
+ Input HTTP plugin for [Embulk](https://github.com/embulk/embulk).
4
+ Fetch data via HTTP.
5
+
6
+
7
+ ## Installation
8
+
9
+ Run this command with your embulk binary.
10
+
11
+ ```ruby
12
+ $ embulk gem install embulk-input-http
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ Specify in your config.yml file.
18
+
19
+ ```yaml
20
+ in:
21
+ type: http
22
+ url: http://express.heartrails.com/api/json
23
+ params:
24
+ - {name: method, value: getStations}
25
+ - {name: x, value: 135.0}
26
+ - {name: y, value: "{30..35}.0", expand: true}
27
+ method: get
28
+ ```
29
+
30
+ - **type**: specify this plugin as *http*
31
+ - **url**: base url something like api (required)
32
+ - **params**: pair of name/value to specify query parameter (optional)
33
+ - **pager**: configuration to parameterize paging (optional)
34
+ - **method**: http method, get is used by default (optional)
35
+ - **user_agent**: the usrr agent to specify request header (optional)
36
+ - **request_headers**: the extra request headers as key-value (optional)
37
+ - **charset**: charset to specify request header (optional, utf-8 is used by default)
38
+ - **basic_auth**: username/password for basic authentication (optional)
39
+ - **open_timeout**: timeout msec to open connection (optional, 2000 is used by default)
40
+ - **read_timeout**: timeout msec to read content via http (optional, 10000 is used by default)
41
+ - **max_retries**: max number of retry request if failed (optional, 5 is used by default)
42
+ - **retry_interval**: interval msec to retry max (optional, 10000 is used by default)
43
+ - **request_interval**: wait msec before each requests (optional, 0 is used by default)
44
+ - **interval\_includes\_response\_time**: yes/no, if yes and you set *request_interval*, response time will be included in interval for next request (optional, no is used by default)
45
+
46
+ ### Brace expansion style in 'params'
47
+
48
+ In *params* section, you can specify also multilple requests by using **values** or **brace expansion style** with set **expand** true.
49
+
50
+ The configuration using **values** is as below:
51
+
52
+ ```yaml
53
+ params:
54
+ - {name: id, values: [5, 4, 3, 2, 1]}
55
+ - {name: name, values: ["John", "Paul", "George", "Ringo"], expand: true}
56
+ ```
57
+
58
+ Also You can rewrite this configuration by using **brace expansion style** like as follows:
59
+
60
+
61
+ ```yaml
62
+ params:
63
+ - {name: id, value "{5,4,3,2,1}", expand: true}
64
+ - {name: name, value "{John,Paul,George,Ringo}", expand: true}
65
+ ```
66
+
67
+ Then all patterns of query will be called in a defferent request.
68
+
69
+ By default, **expand** is false. In this case, all values will be multiple params in one request.
70
+
71
+ ### Use basic authentication
72
+
73
+ You can specify username/password for basic authentication.
74
+
75
+ ```yaml
76
+ basic_auth:
77
+ - user: MyUser
78
+ - password: MyPassword
79
+ ```
80
+
81
+ ### Paging by 'pager'
82
+
83
+ You can configure request parameters for paging requests, like as follows:
84
+
85
+ ```yaml
86
+ in:
87
+ type: http
88
+ url: http://express.heartrails.com/api/json
89
+ pager: {from_param: from, to_param: to, start: 1, step: 1000, pages: 10}
90
+ ```
91
+
92
+ Properties of pager is as below:
93
+
94
+ - **from_param**: parameter name of 'from' index
95
+ - **to_param**: parameter name of 'to' index (optional)
96
+ - **pages**: total page size
97
+ - **start**: first index number (optional, 0 is used by default)
98
+ - **step**: size to increment (optional, 1 is used by default)
99
+
100
+ #### Examples of 'pager'
101
+
102
+ #### Conbination of from/to parameters.
103
+
104
+ ```yaml
105
+ pager: {from_param: from, to_param: to, pages: 4, start: 1, step: 10}
106
+ ```
107
+
108
+ the request parameters will be:
109
+
110
+ 1. ?from=1&to=10
111
+ 2. ?from=11&to=20
112
+ 3. ?from=21&to=30
113
+ 4. ?from=31&to=40
114
+
115
+
116
+ ##### Batch request with incremental page parameter.
117
+
118
+ ```yaml
119
+ params:
120
+ - {name: size, value: 100}
121
+ pager: {from_param: page, pages: 4, start: 1, step: 1}
122
+ ```
123
+
124
+ the request parameters will be:
125
+
126
+ 1. ?page=1&size=100
127
+ 2. ?page=2&size=100
128
+ 3. ?page=3&size=100
129
+ 4. ?page=4&size=100
130
+
131
+
132
+ ## Example
133
+
134
+ ### Fetch json via http api
135
+
136
+ ```yaml
137
+ in:
138
+ type: http
139
+ url: http://express.heartrails.com/api/json
140
+ params:
141
+ - {name: method, value: getStations}
142
+ - {name: x, value: 135.0}
143
+ - {name: y, value: "{35,34,33,32,31}.0", expand: true}
144
+ request_headers: {X-Some-Key1: some-value1, X-Some-key2: some-value2}
145
+ parser:
146
+ type: json
147
+ root: $.response.station
148
+ schema:
149
+ - {name: name, type: string}
150
+ - {name: next, type: string}
151
+ - {name: prev, type: string}
152
+ - {name: distance, type: string}
153
+ - {name: lat, type: double, path: x}
154
+ - {name: lng, type: double, path: y}
155
+ - {name: line, type: string}
156
+ - {name: postal, type: string}
157
+ ```
158
+
159
+ ### Fetch csv
160
+
161
+ ```yaml
162
+ in:
163
+ type: http
164
+ url: http://192.168.33.10:8085/sample.csv
165
+ - {name: y, value: "{35,34,33,32,31}.0", expand: true}
166
+ parser:
167
+ charset: UTF-8
168
+ newline: CRLF
169
+ type: csv
170
+ delimiter: ','
171
+ quote: '"'
172
+ escape: ''
173
+ skip_header_lines: 1
174
+ columns:
175
+ - {name: id, type: long}
176
+ - {name: account, type: long}
177
+ - {name: time, type: timestamp, format: '%Y-%m-%d %H:%M:%S'}
178
+ - {name: purchase, type: timestamp, format: '%Y%m%d'}
179
+ - {name: comment, type: string}
180
+ ```
181
+
182
+ ## TODO
183
+ - HTTP-proxy
184
+ - Guess
185
+
186
+ ## Patch
187
+
188
+ Welcome!
data/build.gradle ADDED
@@ -0,0 +1,76 @@
1
+ plugins {
2
+ id "com.jfrog.bintray" version "1.1"
3
+ id "com.github.jruby-gradle.base" version "0.1.5"
4
+ id "java"
5
+ id "checkstyle"
6
+ }
7
+ import com.github.jrubygradle.JRubyExec
8
+ repositories {
9
+ mavenCentral()
10
+ jcenter()
11
+ }
12
+ configurations {
13
+ provided
14
+ }
15
+
16
+ version = "0.0.15"
17
+
18
+ sourceCompatibility = 1.7
19
+ targetCompatibility = 1.7
20
+
21
+ dependencies {
22
+ compile "org.embulk:embulk-core:0.8.8"
23
+ compile "org.apache.httpcomponents:httpclient:4.5"
24
+ provided "org.embulk:embulk-core:0.8.8"
25
+ testCompile "junit:junit:4.+"
26
+ }
27
+
28
+ task classpath(type: Copy, dependsOn: ["jar"]) {
29
+ doFirst { file("classpath").deleteDir() }
30
+ from (configurations.runtime - configurations.provided + files(jar.archivePath))
31
+ into "classpath"
32
+ }
33
+ clean { delete 'classpath' }
34
+
35
+ checkstyle {
36
+ configFile = file("${project.rootDir}/config/checkstyle/checkstyle.xml")
37
+ toolVersion = '6.14.1'
38
+ }
39
+ checkstyleMain {
40
+ configFile = file("${project.rootDir}/config/checkstyle/default.xml")
41
+ ignoreFailures = true
42
+ }
43
+ checkstyleTest {
44
+ configFile = file("${project.rootDir}/config/checkstyle/default.xml")
45
+ ignoreFailures = true
46
+ }
47
+ task checkstyle(type: Checkstyle) {
48
+ classpath = sourceSets.main.output + sourceSets.test.output
49
+ source = sourceSets.main.allJava + sourceSets.test.allJava
50
+ }
51
+
52
+ task gem(type: JRubyExec, dependsOn: ["build", "gemspec", "classpath"]) {
53
+ jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "build"
54
+ script "build/gemspec"
55
+ doLast { ant.move(file: "${project.name}-${project.version}.gem", todir: "pkg") }
56
+ }
57
+
58
+ task gemspec << { file("build/gemspec").write($/
59
+ Gem::Specification.new do |spec|
60
+ spec.name = "${project.name}"
61
+ spec.version = "${project.version}"
62
+ spec.authors = ["Takuma kanari"]
63
+ spec.email = ["chemtrails.t@gmail.com"]
64
+ spec.summary = %q{Embulk plugin for http input}
65
+ spec.description = %q{Fetch data via http}
66
+ spec.homepage = "https://github.com/takumakanari/embulk-input-http"
67
+ spec.license = "MIT"
68
+
69
+ spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"]
70
+ spec.test_files = spec.files.grep(%r"^(test|spec)/")
71
+ spec.require_paths = ["lib"]
72
+ spec.add_development_dependency 'bundler', ['~> 1.0']
73
+ spec.add_development_dependency 'rake', ['>= 10.0']
74
+ end
75
+ /$)
76
+ }
@@ -0,0 +1,128 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE module PUBLIC
3
+ "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
4
+ "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
5
+ <module name="Checker">
6
+ <!-- https://github.com/facebook/presto/blob/master/src/checkstyle/checks.xml -->
7
+ <module name="FileTabCharacter"/>
8
+ <module name="NewlineAtEndOfFile">
9
+ <property name="lineSeparator" value="lf"/>
10
+ </module>
11
+ <module name="RegexpMultiline">
12
+ <property name="format" value="\r"/>
13
+ <property name="message" value="Line contains carriage return"/>
14
+ </module>
15
+ <module name="RegexpMultiline">
16
+ <property name="format" value=" \n"/>
17
+ <property name="message" value="Line has trailing whitespace"/>
18
+ </module>
19
+ <module name="RegexpMultiline">
20
+ <property name="format" value="\{\n\n"/>
21
+ <property name="message" value="Blank line after opening brace"/>
22
+ </module>
23
+ <module name="RegexpMultiline">
24
+ <property name="format" value="\n\n\s*\}"/>
25
+ <property name="message" value="Blank line before closing brace"/>
26
+ </module>
27
+ <module name="RegexpMultiline">
28
+ <property name="format" value="\n\n\n"/>
29
+ <property name="message" value="Multiple consecutive blank lines"/>
30
+ </module>
31
+ <module name="RegexpMultiline">
32
+ <property name="format" value="\n\n\Z"/>
33
+ <property name="message" value="Blank line before end of file"/>
34
+ </module>
35
+ <module name="RegexpMultiline">
36
+ <property name="format" value="Preconditions\.checkNotNull"/>
37
+ <property name="message" value="Use of checkNotNull"/>
38
+ </module>
39
+
40
+ <module name="TreeWalker">
41
+ <module name="EmptyBlock">
42
+ <property name="option" value="text"/>
43
+ <property name="tokens" value="
44
+ LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF,
45
+ LITERAL_FOR, LITERAL_TRY, LITERAL_WHILE, INSTANCE_INIT, STATIC_INIT"/>
46
+ </module>
47
+ <module name="EmptyStatement"/>
48
+ <module name="EmptyForInitializerPad"/>
49
+ <module name="EmptyForIteratorPad">
50
+ <property name="option" value="space"/>
51
+ </module>
52
+ <module name="MethodParamPad">
53
+ <property name="allowLineBreaks" value="true"/>
54
+ <property name="option" value="nospace"/>
55
+ </module>
56
+ <module name="ParenPad"/>
57
+ <module name="TypecastParenPad"/>
58
+ <module name="NeedBraces"/>
59
+ <module name="LeftCurly">
60
+ <property name="option" value="nl"/>
61
+ <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/>
62
+ </module>
63
+ <module name="LeftCurly">
64
+ <property name="option" value="eol"/>
65
+ <property name="tokens" value="
66
+ LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR,
67
+ LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/>
68
+ </module>
69
+ <module name="RightCurly">
70
+ <property name="option" value="alone"/>
71
+ </module>
72
+ <module name="GenericWhitespace"/>
73
+ <module name="WhitespaceAfter"/>
74
+ <module name="NoWhitespaceBefore"/>
75
+
76
+ <module name="UpperEll"/>
77
+ <module name="DefaultComesLast"/>
78
+ <module name="ArrayTypeStyle"/>
79
+ <module name="MultipleVariableDeclarations"/>
80
+ <module name="ModifierOrder"/>
81
+ <module name="OneStatementPerLine"/>
82
+ <module name="StringLiteralEquality"/>
83
+ <module name="MutableException"/>
84
+ <module name="EqualsHashCode"/>
85
+ <module name="InnerAssignment"/>
86
+ <module name="InterfaceIsType"/>
87
+ <module name="HideUtilityClassConstructor"/>
88
+
89
+ <module name="MemberName"/>
90
+ <module name="LocalVariableName"/>
91
+ <module name="LocalFinalVariableName"/>
92
+ <module name="TypeName"/>
93
+ <module name="PackageName"/>
94
+ <module name="ParameterName"/>
95
+ <module name="StaticVariableName"/>
96
+ <module name="ClassTypeParameterName">
97
+ <property name="format" value="^[A-Z][0-9]?$"/>
98
+ </module>
99
+ <module name="MethodTypeParameterName">
100
+ <property name="format" value="^[A-Z][0-9]?$"/>
101
+ </module>
102
+
103
+ <module name="AvoidStarImport"/>
104
+ <module name="RedundantImport"/>
105
+ <module name="UnusedImports"/>
106
+ <module name="ImportOrder">
107
+ <property name="groups" value="*,javax,java"/>
108
+ <property name="separated" value="true"/>
109
+ <property name="option" value="bottom"/>
110
+ <property name="sortStaticImportsAlphabetically" value="true"/>
111
+ </module>
112
+
113
+ <module name="WhitespaceAround">
114
+ <property name="allowEmptyConstructors" value="true"/>
115
+ <property name="allowEmptyMethods" value="true"/>
116
+ <property name="ignoreEnhancedForColon" value="false"/>
117
+ <property name="tokens" value="
118
+ ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN,
119
+ BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE,
120
+ LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE,
121
+ LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN,
122
+ LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE,
123
+ LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL,
124
+ PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN,
125
+ STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"/>
126
+ </module>
127
+ </module>
128
+ </module>
@@ -0,0 +1,108 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE module PUBLIC
3
+ "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
4
+ "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
5
+ <!--
6
+ This is a subset of ./checkstyle.xml which allows some loose styles
7
+ -->
8
+ <module name="Checker">
9
+ <module name="FileTabCharacter"/>
10
+ <module name="NewlineAtEndOfFile">
11
+ <property name="lineSeparator" value="lf"/>
12
+ </module>
13
+ <module name="RegexpMultiline">
14
+ <property name="format" value="\r"/>
15
+ <property name="message" value="Line contains carriage return"/>
16
+ </module>
17
+ <module name="RegexpMultiline">
18
+ <property name="format" value=" \n"/>
19
+ <property name="message" value="Line has trailing whitespace"/>
20
+ </module>
21
+ <module name="RegexpMultiline">
22
+ <property name="format" value="\n\n\n"/>
23
+ <property name="message" value="Multiple consecutive blank lines"/>
24
+ </module>
25
+ <module name="RegexpMultiline">
26
+ <property name="format" value="\n\n\Z"/>
27
+ <property name="message" value="Blank line before end of file"/>
28
+ </module>
29
+
30
+ <module name="TreeWalker">
31
+ <module name="EmptyBlock">
32
+ <property name="option" value="text"/>
33
+ <property name="tokens" value="
34
+ LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF,
35
+ LITERAL_FOR, LITERAL_TRY, LITERAL_WHILE, INSTANCE_INIT, STATIC_INIT"/>
36
+ </module>
37
+ <module name="EmptyStatement"/>
38
+ <module name="EmptyForInitializerPad"/>
39
+ <module name="EmptyForIteratorPad">
40
+ <property name="option" value="space"/>
41
+ </module>
42
+ <module name="MethodParamPad">
43
+ <property name="allowLineBreaks" value="true"/>
44
+ <property name="option" value="nospace"/>
45
+ </module>
46
+ <module name="ParenPad"/>
47
+ <module name="TypecastParenPad"/>
48
+ <module name="NeedBraces"/>
49
+ <module name="LeftCurly">
50
+ <property name="option" value="nl"/>
51
+ <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/>
52
+ </module>
53
+ <module name="LeftCurly">
54
+ <property name="option" value="eol"/>
55
+ <property name="tokens" value="
56
+ LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR,
57
+ LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/>
58
+ </module>
59
+ <module name="RightCurly">
60
+ <property name="option" value="alone"/>
61
+ </module>
62
+ <module name="GenericWhitespace"/>
63
+ <module name="WhitespaceAfter"/>
64
+ <module name="NoWhitespaceBefore"/>
65
+
66
+ <module name="UpperEll"/>
67
+ <module name="DefaultComesLast"/>
68
+ <module name="ArrayTypeStyle"/>
69
+ <module name="MultipleVariableDeclarations"/>
70
+ <module name="ModifierOrder"/>
71
+ <module name="OneStatementPerLine"/>
72
+ <module name="StringLiteralEquality"/>
73
+ <module name="MutableException"/>
74
+ <module name="EqualsHashCode"/>
75
+ <module name="InnerAssignment"/>
76
+ <module name="InterfaceIsType"/>
77
+ <module name="HideUtilityClassConstructor"/>
78
+
79
+ <module name="MemberName"/>
80
+ <module name="LocalVariableName"/>
81
+ <module name="LocalFinalVariableName"/>
82
+ <module name="TypeName"/>
83
+ <module name="PackageName"/>
84
+ <module name="ParameterName"/>
85
+ <module name="StaticVariableName"/>
86
+ <module name="ClassTypeParameterName">
87
+ <property name="format" value="^[A-Z][0-9]?$"/>
88
+ </module>
89
+ <module name="MethodTypeParameterName">
90
+ <property name="format" value="^[A-Z][0-9]?$"/>
91
+ </module>
92
+
93
+ <module name="WhitespaceAround">
94
+ <property name="allowEmptyConstructors" value="true"/>
95
+ <property name="allowEmptyMethods" value="true"/>
96
+ <property name="ignoreEnhancedForColon" value="false"/>
97
+ <property name="tokens" value="
98
+ ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN,
99
+ BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE,
100
+ LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE,
101
+ LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN,
102
+ LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE,
103
+ LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL,
104
+ PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN,
105
+ STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"/>
106
+ </module>
107
+ </module>
108
+ </module>
@@ -0,0 +1,21 @@
1
+ exec: {}
2
+
3
+ in:
4
+ type: http
5
+ url: http://express.heartrails.com/api/json
6
+ params:
7
+ - {name: method, value: getStations}
8
+ - {name: x, value: 135.0}
9
+ - {name: y, value: "{35,34}.0", expand: 1}
10
+ method: get
11
+ user_agent: example_json
12
+ charset: utf8
13
+ request_interval: 600
14
+ interval_includes_response_time: 1
15
+ request_headers: {X-Some-Key1: some-value1, X-Some-key2: some-value2}
16
+ pager: {from_param: from, to_param: to, pages: 10, step: 100}
17
+ parser:
18
+ type: none
19
+
20
+ out: {type: stdout}
21
+
Binary file
@@ -0,0 +1,6 @@
1
+ #Wed Mar 01 16:50:22 JST 2017
2
+ distributionBase=GRADLE_USER_HOME
3
+ distributionPath=wrapper/dists
4
+ zipStoreBase=GRADLE_USER_HOME
5
+ zipStorePath=wrapper/dists
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip