adobe / experience-platform-streaming-connect

Experience platform Streaming Connectors for Data Ingress
Apache License 2.0
23 stars 20 forks source link

Added support for http proxy #27

Closed swapdesai closed 2 years ago

swapdesai commented 2 years ago

Summary

Added support for http proxy to the connector configuration. This allows the user to add proxy host details when using the connector within a corporate environment having proxy host.

Related Issue

https://github.com/adobe/experience-platform-streaming-connect/issues/26

Changes

Added support for http proxy with the following connector configuration

Relevant Documentation

DEVELOPER_GUIDE.md

How Has This Been Tested?

Added a new test case aepSinkConnectorTestViaProxy() to the existing test suite. To execute this test case, have setup a new mock extention wiremockExtensionViaProxy which acts as a proxy server to redirect the request to the actual wiremockExtension.

Types of changes

Checklist

vivetiwa commented 2 years ago

thanks @swapdesai! for the PR. I think though we can use system variable to enable connector to send request to proxy server first but PR would be helpful if someone want to configure different proxy server for each connector instance.

nipunnair commented 2 years ago

Please note that your PR is included in https://github.com/adobe/experience-platform-streaming-connect/pull/28.

swapdesai commented 2 years ago

@nipunnair Disappointing to know that you created a new PR.

swapdesai commented 2 years ago

Also, the release tag (0.0.8) does not match the SemVer (0.0.7)

nipunnair commented 2 years ago

@nipunnair Disappointing to know that you created a new PR.

@swapdesai Can you explain why the disappointment - lets make it smoother next time. We were asked by our consulting team on making this change available faster in the build. Your changes are included as is ( check commit history ), we added a configuration to override the proxy hosts as @vivetiwa pointed out.

Apologies for any hard feelings!

vivetiwa commented 2 years ago

Closing this PR as all the commits/changes are added as part of PR : https://github.com/adobe/experience-platform-streaming-connect/pull/28