streamsets / tutorials

StreamSets Tutorials
Apache License 2.0
348 stars 192 forks source link

proxy support #13

Closed s0rbus closed 8 years ago

s0rbus commented 8 years ago

I've been through the tutorial from behind a corporate firewall so had to add proxy support. In case anyone else wants/needs to do this I had to:

in SampleTarget.java import org.apache.http.HttpHost add viaproxy line in Request.Post (before the bodyString) e.g. .viaProxy(new HttpHost("my.proxy.host", 8080))

in sdc-security.policy change sdc permission to my proxy host rather than requestb.in

s0rbus commented 8 years ago

I should have clarified, this is regarding the custom destination tutorial

metadaddy commented 8 years ago

Thanks - I'll add a note to the tutorial in the appropriate place!