watson-developer-cloud / assistant-with-discovery

DEPRECATED: this application is deprecated and thus will not receive fixes or security updates. It is archived for educational purposes, but may not function.
Apache License 2.0
145 stars 342 forks source link

Proxy configure #49

Closed sayurimizuguchi closed 7 years ago

sayurimizuguchi commented 7 years ago

Hi Davi, good morning.

erro barramento proxy

Where can I enter my proxy data? Because they had to free me for general access to the internet instead of going through the proxy, I would like to know where I can add the settings.

dgterry commented 7 years ago

hello,

I would recommend you ask this question here: https://developer.ibm.com/answers/topics/watson-conversation/

It might be that you just need to specify a different endpoint URL so that the Conversation object you create here: https://github.com/watson-developer-cloud/conversation-enhanced/blob/master/src/main/java/com/ibm/watson/apis/conversation_enhanced/rest/ProxyResource.java#L111 sends calls through your proxy instead of directly to Conversation.

dpowell1 commented 7 years ago

How do we use the ProxyResource to configure the proxy? Does ProxyResource take in the command line arguments from the JVM or do we have to manually set the host, port, etc. in ProxyResource?

FYI, the link changed to https://github.com/watson-developer-cloud/conversation-with-discovery/blob/master/src/main/java/com/ibm/watson/apis/conversation_with_discovery/rest/ProxyResource.java