This project is used to demo how to migrate our functional tests from running locally to runnning in docker containers
There are two key maven plugins that are used to accomplish this.
We use this plugin to build a new docker image using our newly built jar as part of the maven package phase. https://github.com/spotify/docker-maven-plugin
This plugin is used to orchestrate the running of the docker containers needed to functionally test the application. https://dmp.fabric8.io
- Spring Boot
- Jersey
- Cassandra
- Cucumber JVM
- Guice
- Cassandra
- Apache Http Client
mvn clean package
mvn clean verify
mvn clean verify -Ddocker.showLogs
cd app; mvn docker:build
cd ft; mvn clean verify -Ddocker.skip
cd ft; mvn docker:start
cd ft; mvn docker:stop
cd ft; mvn docker:remove
- integrate docker maven plugins (on branch
docker-plugin-integration
)