Demo app to explain how data initialization in Oracle DB can be done using Testcontainers
-
Ensure you have JAVA_HOME set as jdk 1.7.
-
Change your current directory to currency-exchange-service project directory where pom.xml is present.
-
Run the command
mvnw.cmd install
(if windows) or use mvnw, available for your use in the same directory. -
The build will take time as it will first download the oracle container image from the dockerhub. So, wait for its completion. Tests will get auto-invoked towards the end and the build is expected to get succeeded.