diff --git a/Dockerfile b/Dockerfile index 75c4b93..20c8ae6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,25 +1,6 @@ # SPDX-FileCopyrightText: 2024 PNED G.I.E. # # SPDX-License-Identifier: Apache-2.0 -#### -# This Dockerfile is used in order to build a container that runs the Quarkus application in native (no JVM) mode. -# It uses a micro base image, tuned for Quarkus native executables. -# It reduces the size of the resulting container image. -# Check https://quarkus.io/guides/quarkus-runtime-base-image for further information about this image. -# -# Before building the container image run: -# -# mvn package -Dnative -# -# Then, build the image with: -# -# docker build -f src/main/docker/Dockerfile.native-micro -t quarkus/code-with-quarkus . -# -# Then run the container using: -# -# docker run -i --rm -p 8080:8080 quarkus/code-with-quarkus -# -### FROM registry.access.redhat.com/ubi9-minimal:9.3 WORKDIR /work/ RUN chown 1001 /work \ diff --git a/_http/daam/health_check.http b/_http/daam/health_check.http new file mode 100644 index 0000000..268931c --- /dev/null +++ b/_http/daam/health_check.http @@ -0,0 +1,5 @@ +### SPDX-FileCopyrightText: 2024 PNED G.I.E. +### +### SPDX-License-Identifier: Apache-2.0 + +GET http://localhost:8080/q/health diff --git a/pom.xml b/pom.xml index 87d3a78..de05410 100644 --- a/pom.xml +++ b/pom.xml @@ -1,9 +1,4 @@ - 0.0.0 gdi-userportal-access-management-service + 3.25.3 + 3.3.1 3.12.1 + 1.18.30 21 UTF-8 UTF-8 @@ -23,9 +21,6 @@ SPDX-License-Identifier: Apache-2.0 3.7.2 true 3.2.5 - 3.25.3 - 1.18.30 - 3.3.1 @@ -65,6 +60,10 @@ SPDX-License-Identifier: Apache-2.0 ${lombok.version} provided + + io.quarkus + quarkus-smallrye-health + io.quarkus quarkus-junit5 @@ -150,9 +149,8 @@ SPDX-License-Identifier: Apache-2.0 ${project.basedir}/src/main/resources/META-INF/openapi.yaml jaxrs-spec - - @lombok.Data @lombok.NoArgsConstructor @lombok.AllArgsConstructor @lombok.Builder - + @lombok.Data @lombok.NoArgsConstructor + @lombok.AllArgsConstructor @lombok.Builder true true java8 @@ -183,12 +181,8 @@ SPDX-License-Identifier: Apache-2.0 - org.apache.maven.plugins maven-checkstyle-plugin ${checkstyle-maven-plugin.version} - - google_checks.xml - @@ -196,6 +190,9 @@ SPDX-License-Identifier: Apache-2.0 + + google_checks.xml + diff --git a/pom.xml.license b/pom.xml.license new file mode 100644 index 0000000..c75c82f --- /dev/null +++ b/pom.xml.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 PNED G.I.E. + +SPDX-License-Identifier: Apache-2.0