diff options
Diffstat (limited to 'src/test/resources/application-test.properties')
-rw-r--r-- | src/test/resources/application-test.properties | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/resources/application-test.properties b/src/test/resources/application-test.properties index d245a53..5ac9491 100644 --- a/src/test/resources/application-test.properties +++ b/src/test/resources/application-test.properties @@ -73,3 +73,9 @@ schema.service.versions.endpoint=versions # Location of the cadi properties file should be specified here aaf.cadi.file=${server.local.startpath}/cadi.properties + +#To expose the Prometheus scraping endpoint in unit test +management.server.port=0 +management.endpoints.enabled-by-default=true +management.endpoints.web.exposure.include=info, health, loggers, prometheus +management.metrics.web.server.auto-time-requests=false |