Skip to content

Commit

Permalink
Update version from 0.2.0 to 1.25.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed May 24, 2024
1 parent 25c4795 commit fe4cf89
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>

<artifactId>verapdf-rest</artifactId>
<version>0.2.0-SNAPSHOT</version>
<version>1.25.1</version>

<name>veraPDF RESTful web services</name>
<description>JAX-RS web services and client for veraPDF library</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/verapdf/rest/resources/ApiResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -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") })
Expand Down

0 comments on commit fe4cf89

Please sign in to comment.