Closed kenime closed 6 years ago
Please provide an explanation for this pull request.
The title is self explanatory; added proxy support for conversation node.
Unfortunately for you it isn't self explanatory to me.
The underlying request module support http proxy but there is no way to configure in the node property page. The only way to do so was to set node.js global variable http_proxy but it will impact other connections as well, which in many case is not ideal (imagine connection to Watson / internet requires proxy but internal doesn’t). Therefore, I have added proxy configuration to conversation node configuration html and add the corresponding configuration to ServiceSettings.
Has the change been tested, both with and without a proxy?
I can ignore the codacy reports, but I need confirmation that you have successfully tested this code change both behind firewall proxy, and without a proxy.
I would like to include this fix, so please reconsider resubmitting. I will, however, still need you to confirm that the change has been tested to work both with and without a proxy.
Added support of proxy to Conversation Nodes. Proxy with basic auth is also supported.