From fe4cf89c945e4aebc652b573d7965a9fb1298f33 Mon Sep 17 00:00:00 2001 From: Maxim Date: Wed, 22 May 2024 18:52:42 +0300 Subject: [PATCH] Update version from 0.2.0 to 1.25.1 --- Dockerfile | 4 ++-- Dockerfile_dev | 4 ++-- README.md | 2 +- pom.xml | 2 +- src/main/java/org/verapdf/rest/resources/ApiResource.java | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef773af3..7cc3d6f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,9 +36,9 @@ FROM debian:bullseye-slim # Set for additional arguments passed to the java run command, no default ARG JAVA_OPTS ENV JAVA_OPTS=$JAVA_OPTS -# Specify the veraPDF REST version if you want to (to be used in build automation), default is 0.1.0-SNAPSHOT +# Specify the veraPDF REST version if you want to (to be used in build automation), default is 1.25.1 ARG VERAPDF_REST_VERSION -ENV VERAPDF_REST_VERSION=${VERAPDF_REST_VERSION:-0.2.0-SNAPSHOT} +ENV VERAPDF_REST_VERSION=${VERAPDF_REST_VERSION:-1.25.1} COPY --from=app-builder /usr/local/bin/dumb-init /usr/local/bin/dumb-init RUN chmod +x /usr/local/bin/dumb-init diff --git a/Dockerfile_dev b/Dockerfile_dev index 1da84e30..0a4a5d87 100644 --- a/Dockerfile_dev +++ b/Dockerfile_dev @@ -33,9 +33,9 @@ FROM debian:bullseye-slim # Set for additional arguments passed to the java run command, no default ARG JAVA_OPTS ENV JAVA_OPTS=$JAVA_OPTS -# Specify the veraPDF REST version if you want to (to be used in build automation), default is 0.1.0-SNAPSHOT +# Specify the veraPDF REST version if you want to (to be used in build automation), default is 1.25.1 ARG VERAPDF_REST_VERSION -ENV VERAPDF_REST_VERSION=${VERAPDF_REST_VERSION:-0.2.0-SNAPSHOT} +ENV VERAPDF_REST_VERSION=${VERAPDF_REST_VERSION:-1.25.1} COPY --from=dev-builder /usr/local/bin/dumb-init /usr/local/bin/dumb-init RUN chmod +x /usr/local/bin/dumb-init diff --git a/README.md b/README.md index 0146f9ca..139151f5 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ branch for dev version, and then build the Maven project: To start up the server: - java -jar target/verapdf-rest-0.2.0-SNAPSHOT.jar server server.yml + java -jar target/verapdf-rest-1.25.1.jar server server.yml Go to [localhost:8080/api/info](http://localhost:8080/api/info) to see if the server is running, you should see something like: diff --git a/pom.xml b/pom.xml index eb8ebec3..a7baa1ea 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ verapdf-rest - 0.2.0-SNAPSHOT + 1.25.1 veraPDF RESTful web services JAX-RS web services and client for veraPDF library diff --git a/src/main/java/org/verapdf/rest/resources/ApiResource.java b/src/main/java/org/verapdf/rest/resources/ApiResource.java index 4fb1b25e..8b73a40a 100644 --- a/src/main/java/org/verapdf/rest/resources/ApiResource.java +++ b/src/main/java/org/verapdf/rest/resources/ApiResource.java @@ -31,7 +31,7 @@ */ @Path("/api") @Tag(name = "veraPDF") -@OpenAPIDefinition(info = @Info(title = "veraPDF API", description = "A REST service API for veraPDF", version = "V0.2.0", license = @License(name = "Apache 2.0", url = "https://www.apache.org/licenses/LICENSE-2.0")), servers = { +@OpenAPIDefinition(info = @Info(title = "veraPDF API", description = "A REST service API for veraPDF", version = "V1.25.1", license = @License(name = "Apache 2.0", url = "https://www.apache.org/licenses/LICENSE-2.0")), servers = { @Server(url = "https://demo.verapdf.org", description = "default"), @Server(url = "https://dev.verapdf-rest.duallab.com", description = "dev"), @Server(url = "http://localhost:8080", description = "local") })