This is a Spring Boot microservice which provides a REST API for retrieving and managing reference data, such as Gender and Grade, to be used as lists of allowed values.
gradlew bootRun
- A MongoDB instance.
Name | Description | Default |
---|---|---|
DB_HOST | The MongoDB host to connect to. | localhost |
DB_PORT | The port to connect to MongoDB on. | 27017 |
DB_NAME | The name of the MongoDB database. | reference |
DB_USER | The username to access the MongoDB instance. | admin |
DB_PASSWORD | The password to access the MongoDB instance. | pwd |
AUTH_SOURCE | The authentication database. | admin |
ENVIRONMENT | The environment to log events against. | local |
SENTRY_DSN | A Sentry error monitoring Data Source Name. |
POST /reference/api/{reference_type}
GET /reference/api/{reference_type}
PUT /reference/api/{reference_type}
DELETE /reference/api/{reference_type}/{tisId}
The Gradle test
task can be used to run automated tests and produce coverage
reports.
gradlew test
The Gradle check
lifecycle task can be used to run automated tests and also
verify formatting conforms to the code style guidelines.
gradlew check
gradlew bootBuildImage
This project uses Semantic Versioning.
This project is license under The MIT License (MIT).