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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb28641a0e624f20b8c7a7787b5922c02fb9f8ae
4
- data.tar.gz: 98543f0fc00d95b4473337a165d5115c3bacbf79
3
+ metadata.gz: d76f91e5ecfcf7a6dcd3922dd9ea859510cfff17
4
+ data.tar.gz: 8f4fd4a1b5310c12a1b3e099de5e962efa220fa4
5
5
  SHA512:
6
- metadata.gz: bb7d0946158a4289aeec270de5b29845daab16d526b04b9edcbb3fbc0c5f6959027aac0ae2a701e5bc4e9e3a5d0682d2814652d073f0b21d09cdeacb3e9e313f
7
- data.tar.gz: 6ef7ce2ec64579d9be925512794d271c6bf6242b5200527cfbb9456ecafdb1cfdf8f6da318d69c90d350c7dd129397a223e5cb2ce3a60691717aac714da5abf6
6
+ metadata.gz: 036fe305852a33dcae0c16e157650fb09e71ebc89519b094923ab40374bfc9ad0c1752327ccb351e35ceddf38fd2460ec1d314be44ffd764a25ef6a290155bff
7
+ data.tar.gz: a11cea6127d2f331779e843ea2c4afab25afc5a97b5dd1cd38bf1bdfb12c85a0c671d2fad88bf613cead17a58c41b963a9c0922f44855ce6f55f507e304d002e
data/README.md CHANGED
@@ -1,9 +1,6 @@
1
- [![Build Status](https://travis-ci.org/treasure-data/embulk-input-marketo.svg?branch=master)](https://travis-ci.org/treasure-data/embulk-input-marketo)
2
- [![Code Climate](https://codeclimate.com/github/treasure-data/embulk-input-marketo/badges/gpa.svg)](https://codeclimate.com/github/treasure-data/embulk-input-marketo)
3
- [![Test Coverage](https://codeclimate.com/github/treasure-data/embulk-input-marketo/badges/coverage.svg)](https://codeclimate.com/github/treasure-data/embulk-input-marketo/coverage)
4
- [![Gem Version](https://badge.fury.io/rb/embulk-input-marketo.svg)](http://badge.fury.io/rb/embulk-input-marketo)
1
+ # Marketo input plugin for Embulk (through proxy)
5
2
 
6
- # Marketo input plugin for Embulk
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
+ ```
@@ -16,7 +16,7 @@ repositories {
16
16
  configurations {
17
17
  provided
18
18
  }
19
- version = "0.6.20"
19
+ version = "0.6.21"
20
20
  sourceCompatibility = 1.8
21
21
  targetCompatibility = 1.8
22
22
 
@@ -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( "embulk_proxy_port"))) {
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.20
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.20.jar
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