symphony-java-sample-bots icon indicating copy to clipboard operation
symphony-java-sample-bots copied to clipboard

Startup scripts don't support proxies

Open pmonks opened this issue 8 years ago • 1 comments
trafficstars

To facilitate onboarding of new Symphony pod developers working in HTTP proxy environments (i.e. most firms), the env.sh script should include options for setting:

  • PROXY_HOST
  • PROXY_PORT
  • PROXY_USERNAME
  • PROXY_PASSWORD

The enhanced run-bot.sh script (see issue #17) should then include these options in the JVM's startup command line (i.e. via -Dhttp.proxyHost=${PROXY_HOST} -Dhttp.proxyPort=${PROXY_PORT} -Dhttp.proxyUser=${PROXY_USERNAME} -Dhttp.proxyPassword=${PROXY_PASSWORD}).

pmonks avatar Oct 19 '17 21:10 pmonks

Thanks for raising this @pmonks . I've followed SJC docs and added a proxy.url item in symphony.properties config file; the README explains how to set it up.

It works as expected, however, I didn't see any mention to port, username or password configuration.

Code is in this block of Utils.java, if you want to review.

maoo avatar Nov 12 '17 05:11 maoo