From f8d526f92380f899e74386632b3d2eb5d1cb4042 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 10 Apr 2023 20:07:00 +0200 Subject: [PATCH] Added health endpoints --- EpcQrCodeRest/build.gradle | 1 + EpcQrCodeRest/src/main/resources/application.properties | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/EpcQrCodeRest/build.gradle b/EpcQrCodeRest/build.gradle index 8026814..a2ca2ea 100644 --- a/EpcQrCodeRest/build.gradle +++ b/EpcQrCodeRest/build.gradle @@ -36,6 +36,7 @@ dependencies { implementation 'io.quarkus:quarkus-resteasy' implementation 'io.quarkus:quarkus-resteasy-jackson' implementation 'io.quarkus:quarkus-smallrye-openapi' + implementation 'io.quarkus:quarkus-smallrye-health' api project(":EpcQrCode") diff --git a/EpcQrCodeRest/src/main/resources/application.properties b/EpcQrCodeRest/src/main/resources/application.properties index 9d6174a..553a752 100644 --- a/EpcQrCodeRest/src/main/resources/application.properties +++ b/EpcQrCodeRest/src/main/resources/application.properties @@ -37,4 +37,6 @@ quarkus.smallrye-openapi.info-version=1.0.0 quarkus.smallrye-openapi.info-description=REST API to generate EPC QR codes (also marketed as GiroCode, scan2Code, ...) quarkus.smallrye-openapi.info-contact-email=dev@codinux.net quarkus.smallrye-openapi.info-contact-name=codinux GmbH & Co. KG -quarkus.smallrye-openapi.info-contact-url=https://codinux.net/ \ No newline at end of file +quarkus.smallrye-openapi.info-contact-url=https://codinux.net/ + +quarkus.smallrye-health.ui.always-include=true \ No newline at end of file