I have an application consisting of several maven war projects.
I have another maven project that runs JUnit integration tests against a manually launched multi-user application using tomcat using calls to org.springframework.web.client.RestTemplate.
However, I would like my integration testing project to actually run a multi-user application (once during the whole package) before running my tests ... in spring-boot!
From my integration project, I would like to be able to run all military projects together as a spring-boot application, each with its own contextPath (for example, localhost: 8080 / a for project "a", localhost: 8080 / b for project 'b ', etc.) and without changing the original military projects (which are not (yet) spring-boot aware). If I cannot make these projects run from my spring-boot integration project without changing them, I would at least want to minimize the use of spring-boot dependencies and configurations in packaged war files ... as much as possible.
I was able to get an integration project to depend on one military project, run it and run tests against it ... but I could not get two military projects working together in spring-boot under a separate context ..
Any suggestions are welcome!
Here are some of the resources I used to combine:
source share