This simple application will calculate discount on set of rules
This service is responsible for discount calculation. The decision will be take on the provided set of rules.
- Standalone service
- Simple and small
- Take inputs from file i.e. input.txt and validates
- Basic business validations are added
The application can be run locally. Containerization is in progress
Make sure your maven is pointing to JAVA_HOME and JAVA_HOME is set to Java16 JDK. Import the project in any IDE and run through the IDE.
- Rules can be in yml files, code will import the yml and define the rules
- Dynamic behaviour can be enhanced
- Simple jar run with input-output file names as command line arguments
- Serverless architecture
- Integration with CICD i.e. jenkins / rancher
- Integration with metrics collector i.e. prometheus
- Integration with grafana for better visibility, observability and alerts
- 100% Unit test code coverage