This service repo is part of below project: https://github.com/csankhala/ecommerce-micronaut-kafka
As a product catalog service provider, I want to be able to provide up-to-date information about products to other services in the system, so that customers can make informed purchasing decisions.
Acceptance Criteria:
- The product catalog service should be able to receive requests from other services in the system to retrieve information about a specific product or a list of products.
- The product catalog service should maintain an up-to-date database of product information, including product names, descriptions, prices, and images.
- The product catalog service should be able to handle requests for product information quickly and efficiently, even during high traffic periods.
- If a request is made for a product that is out of stock or no longer available, the product catalog service should return an appropriate error message to the requesting service.
- The product catalog service should provide detailed documentation and a clear API to make it easy for other services to integrate with it.
- The product catalog service should maintain a high level of data accuracy and consistency across all product information.
- The product catalog service should be able to handle updates to product information, such as price changes or new product additions, in a timely manner.
- The product catalog service should provide detailed logs and analytics to help diagnose and troubleshoot any issues that may arise during product information retrieval.
The following instructions work for IntelliJ IDEA 2022.1 (Community Edition)
- Go to File -> Settings -> Build, Execution, Deployment -> Compiler -> Annotation Processors
- Check 'Enable annotation processing'
- File -> Settings -> Editor -> General -> Ensure line feed at file end on Save
- Install the 'google-java-format' plugin, and enable it in Settings
- Apply intellij-java-google-style.xml to IntelliJ settings
- Run com.github.csankhala.ecommerce.Application
- Swagger URL: http://localhost:8080/swagger/views/swagger-ui