We are using Restman and GMU to migrate to/from nodes in in-accessible networks. We are using the http_proxy and https_proxy environment variables and restman adheres to the proxy, but GMU seems to be trying to route directly.
How can we use GMU through a proxy?
Release : 10.0
Component : API GATEWAY
What you do is to set the proxy option on the start of the JRE
java -Dhttp.proxyHost=10.10.10.10 -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password -jar myJar.jar
Edit the gatewaymigration.bat and add the proxy to the line :
"%JAVA_TO_USE%" -Dfile.encoding=UTF-8 -DGMU_HOME="%jarDir%." -jar "%jarDir%GatewayMigrationUtility.jar" %ARGS%
Like
"%JAVA_TO_USE%" -Dfile.encoding=UTF-8 -DGMU_HOME="%jarDir%." -Dhttp.proxyHost=10.10.10.10 -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password -jar "%jarDir%GatewayMigrationUtility.jar" %ARGS%