In our current environment, there are Tomcat containers located behind the Apache web server. Basically, the web server has ProxyPass rules, which we use to determine the Tomcat instance for routing based on the context root.
As part of our local gradle build, we use the Cargo plugin to deploy the local tomcat container and deploy ours to war. I did not find anything that would allow us to deploy Apache WebServer to test our apache configuration.
Our goal is to have two Tomcat containers, A and B and one Apache WebServer C, so that C will route localhost / appA to tomcat A and localhost / appB to tomcat B.
All this is done to run automatic acceptance tests, but I did not find a gradle plugin that will do this.
Thanks!
75inchpianist
source share