Repository files navigation E-commerce CRM Microservices
Customer service: http://localhost:8000
Address service: http://localhost:8100
Order service: http://localhost:8200
Discovery service: http://localhost:8761
Zipkin UI server: http://localhost:9411/zipkin
[Feign] To map/retrieve the returned JSON response when invoking API from other Microservices:
Add desired fields mapping to JSON properties in the main entity of the Microservice
Add entity with attributes mapping to desired JSON properties
Use Object type for generic mapping (get all the attributes)
Create wrapper class to wrap other properties in the API response
[ResponseWrapper ]
Use SLF4J or Logback to log requests with unique request id and span id
[CustomerService ]
Log more detail of the invoked requests by configure logging.level.org.springframework.web.servlet.DispatcherServlet=DEBUG
About
A web application applying microservice architecture with CRUD RESTful APIs in order to manage customers and orders for E-commerce.
Topics
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.