shinesolutions / aem-helloworld

Example AEM Hello World Package
Apache License 2.0
2 stars 3 forks source link

Need a feature which performs an outbound connection #7

Open cliffano opened 5 years ago

cliffano commented 5 years ago

We need to add the ability to verify that aem-helloworld app can make an outbound connection to an external site (need to figure out what's a good feature to do this, but could be as simple as the app reaching an external site such as google.com).

The value of doing this is for AEM OpenCloud to verify (as part of AEM Test Suite) that it can make outbound connection through a proxy.

Proxy is an AEM OpenCloud configuration, and when it's configured, the expectation is that the outbound connection will be made through the proxy transparently. When it's not configured, the app should still be able to make a direct outbound connection without the proxy, whether by having the instance in a public subnet, or via a NAT.

mickleroy commented 5 years ago

I recommend adding a new health check to ensure the proxy configuration works as expected. https://github.com/shinesolutions/aem-healthcheck/tree/master/bundle/src/main/java/com/shinesolutions/healthcheck/hc/impl