This project serves as a baseline when you wish to create a new microservice.
- Latest Micronaut
- Latest Kotlin
- Latest Gradle
- must contain JavaDoc for the most important classes containing the main app/business logic
- must contain JavaDoc for the most important methods containing the main app/business logic.
- must respond to /health endpoint with status 200 if UP.
- must send log to CloudWatch and to elasticsearch/kibana
- must send metrics to CloudWatch
- must use access token to authenticate user
- must use CloudWatch Alarms for to notify when something is wrong.
- must be deployed using deployment pipeline
- must be deployed using terraform code.
- may use access token scopes to authorize user for fine-grained access control.
Clone repository and update all references to micronaut baseline with new project name
- gradle config
- source code, packages, classes etc.
- terraform code
- circleci config
- readme.md
- add statemachine for deployment pipeline.
- add ecr repo in service account for docker images.