In this project, I am demonstrating a Spring Batch configuration to load the initial database and keeping the code easier to extend when a new integration feature is needed, such as a product queue integration or that data coming from the web services integration.
To start this project we need to install as pre requirements the following technologies:
- Java 8
- maven
- docker
docker-compose up
mvn clean install
mvn spring-boot:run
curl --request GET 'http://localhost:8090/api/orders/preview?quantityShopkeeper=3&productName=EMMS'