Data Service
Test
Run all unit and integration tests and create an HTML+TXT coverage report located in the report
module:
mvn -pl rest-service clean test verify
Or run only tests
in DatabaseServiceIntegrationTest.java
:
mvn -pl rest-service -Dtest="DatabaseServiceIntegrationTest" clean test
Run
Start the Metadata Database, Data Database, Broker Service before and then run the Data Service:
mvn -pl rest-service clean spring-boot:run -Dspring-boot.run.profiles=local
Endpoints
Actuator
- Info: http://localhost/actuator/info
- Health: http://localhost/actuator/health
- Readiness: http://localhost/actuator/health/readiness
- Liveness: http://localhost/actuator/health/liveness
- Prometheus: http://localhost/actuator/prometheus
Swagger UI
- Swagger UI: http://localhost/swagger-ui/index.html
OpenAPI
- OpenAPI v3 as .yaml: http://localhost/v3/api-docs.yaml