- Orders : This microservice is responsible for managing orders.
- Catalog : This microservice is responsible for managing catalog.
- Reports : This microservice is responsible for managing reports.
Service | EndPoint | Port | Method | Description |
---|---|---|---|---|
Orders | /api/v1/orders | 8080 | GET | Return order's list |
Orders | /api/v1/orders | 8080 | POST | Processing order |
Reports | /api/v1/reports | 8082 | GET | Returns order's report |
###Swagger
- Orders : http://localhost:8081/orders/swagger-ui.html
- Reports : http://localhost:8082/reports/swagger-ui.html
###Postman collection
- >mvn clean package : to build
- >docker-compose up --build : build docker images and containers and run containers
- >docker-compose stop : stop the dockerized services
- Each maven module has a Dockerfile.
In docker-compose.yml file:
- Orders Service : 8080 port is mapped to 8080 port of host
- Report Service : 8082 port is mapped to 8082 port of host
- Spring-Boot 2.6.6
- Spring Cloud Sleuth
- Spring Boot Admin
- Splunk
- Java 17