ForceFlow
ForceFlow copied to clipboard
Proxy server
Hello, I am facing an issue when running on server , it simply holds and do not go ahead. I think it´s missing a parameter to set the proxy server.
Hi @frmarcio. First of all thanks for raising this. I am quite busy on a number of things so I genuinely struggling to find time to maintain this actively, however I'll keep this on my todo list. In case you feel like contributing, which would be pretty awesome, the fix should be fairly straight forward.
- Update SalesforceConfig - this is the configuration file that gets populated by almost every tag with the info required to create a working connection. So far it includes: username, password, endpoint, api number. We would need to add proxy settings (i.e. proxyUrl, proxyPort, proxyUsername and proxyPassword)
- Update ConnectionFactory to read the proxy settings from SalesforceConfig and create the connections using those values. Had a quick look to the Salesforce's API and proxies seem supported.
Sorry I cannot help more at this stage, hopefully you'll find some time to take a look? I'll do my best to support in case you want to give it a shot.
Thank you , Lorenzo I will try to update using eclipse too so I think I can fix it no problem . Glad you could answer very quickly ! Regards
On 18 Apr 2017, at 18:47, Lorenzo Frattini <[email protected]mailto:[email protected]> wrote:
Hi @frmarciohttps://github.com/frmarcio. First of all thanks for raising this. I am quite busy on a number of things so I genuinely struggling to find time to maintain this actively, however I'll keep this on my todo list. In case you feel like contributing, which would be pretty awesome, the fix should be fairly straight forward.
- Update SalesforceConfighttps://github.com/eroispaziali/ForceFlow/blob/master/src/main/java/com/spaceheroes/util/SalesforceConfig.java - this is the configuration file that gets populated by almost every tag with the info required to create a working connection. So far it includes: username, password, endpoint, api number. We would need to add proxy settings (i.e. proxyUrl, proxyPort, proxyUsername and proxyPassword)
- Update ConnectionFactoryhttps://github.com/eroispaziali/ForceFlow/blob/master/src/main/java/com/spaceheroes/util/ConnectionFactory.java to read the proxy settings from SalesforceConfig and create the connections using those values. Had a quick look to the Salesforce's API and proxies seem supported.
Sorry I cannot help more at this stage, hopefully you'll find some time to take a look? I'll do my best to support in case you want to give it a shot.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/eroispaziali/ForceFlow/issues/9#issuecomment-294993077, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV-Av2PZ2s9rWJSP38bxBYpOUuC4ZmgPks5rxS8pgaJpZM4NAaza.