embulk-input-marketo-through-proxy 0.6.20 → 0.6.21
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.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/build.gradle +1 -1
- data/src/main/java/org/embulk/input/marketo/rest/MarketoBaseRestClient.java +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d76f91e5ecfcf7a6dcd3922dd9ea859510cfff17
|
4
|
+
data.tar.gz: 8f4fd4a1b5310c12a1b3e099de5e962efa220fa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 036fe305852a33dcae0c16e157650fb09e71ebc89519b094923ab40374bfc9ad0c1752327ccb351e35ceddf38fd2460ec1d314be44ffd764a25ef6a290155bff
|
7
|
+
data.tar.gz: a11cea6127d2f331779e843ea2c4afab25afc5a97b5dd1cd38bf1bdfb12c85a0c671d2fad88bf613cead17a58c41b963a9c0922f44855ce6f55f507e304d002e
|
data/README.md
CHANGED
@@ -1,9 +1,6 @@
|
|
1
|
-
|
2
|
-
[](https://codeclimate.com/github/treasure-data/embulk-input-marketo)
|
3
|
-
[](https://codeclimate.com/github/treasure-data/embulk-input-marketo/coverage)
|
4
|
-
[](http://badge.fury.io/rb/embulk-input-marketo)
|
1
|
+
# Marketo input plugin for Embulk (through proxy)
|
5
2
|
|
6
|
-
|
3
|
+
* This plugin is an extension of [embulk-input-marketo](https://rubygems.org/gems/embulk-input-marketo) that allows you to access Marketo API through a proxy server.
|
7
4
|
|
8
5
|
embulk-input-marketo is the gem preparing Embulk input plugins for [Marketo](http://www.marketo.com/).
|
9
6
|
|
@@ -229,3 +226,10 @@ in:
|
|
229
226
|
incremental: true
|
230
227
|
```
|
231
228
|
|
229
|
+
If you need to access the Marketo API through a proxy, set the environment variable.
|
230
|
+
|
231
|
+
```
|
232
|
+
export embulk_proxy_host=<Your-Proxy-Host>
|
233
|
+
export embulk_proxy_port=<Your-Proxy-Port>
|
234
|
+
embulk run config.yml
|
235
|
+
```
|
data/build.gradle
CHANGED
@@ -321,7 +321,7 @@ public class MarketoBaseRestClient implements AutoCloseable
|
|
321
321
|
if (Objects.isNull(System.getenv("embulk_proxy_host"))) {
|
322
322
|
return false;
|
323
323
|
}
|
324
|
-
if (Objects.isNull(System.getenv(
|
324
|
+
if (Objects.isNull(System.getenv("embulk_proxy_port"))) {
|
325
325
|
return false;
|
326
326
|
}
|
327
327
|
return true;
|
@@ -337,8 +337,8 @@ public class MarketoBaseRestClient implements AutoCloseable
|
|
337
337
|
return Integer.parseInt(System.getenv("embulk_proxy_port"));
|
338
338
|
}
|
339
339
|
|
340
|
-
private HttpProxy getProxy()
|
340
|
+
private HttpProxy getProxy()
|
341
|
+
{
|
341
342
|
return new HttpProxy(getProxyHost(), getProxyPort());
|
342
343
|
}
|
343
|
-
|
344
344
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-marketo-through-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- uu59
|
@@ -60,7 +60,7 @@ files:
|
|
60
60
|
- README.md
|
61
61
|
- build.gradle
|
62
62
|
- classpath/embulk-base-restclient-0.5.3.jar
|
63
|
-
- classpath/embulk-input-marketo-through-proxy-0.6.
|
63
|
+
- classpath/embulk-input-marketo-through-proxy-0.6.21.jar
|
64
64
|
- classpath/embulk-util-retryhelper-jetty92-0.5.3.jar
|
65
65
|
- classpath/jetty-client-9.2.14.v20151106.jar
|
66
66
|
- classpath/jetty-http-9.2.14.v20151106.jar
|