In this demo project I will be using Spring Boot 2.0 and jUnit 5 in their latest releases.
- SpringBoot 2.0.0 M7
- jUnit 5.0.2
- H2 Database 1.4.196
You can access to the database typing http://localhost:8080/console
and using as JDBC URL this one: jdbc:h2:mem:bookshop
and the user name is sa
and the password is password
.
I have provided a Postman collection with all the existing endpoints and examples of calls for each one of them.
This module will be the main hub. Here we will have a H2 database were we will be storing all books we are receiving from the different providers.
This two modules will be in charge of send books to the Bookshop HUB so they will be acting as producers sending JSON petitions to Bookshop HUB.