Skip to content

Commit

Permalink
Merge pull request 'release_1.1.10' (#14) from release_1.1.10 into ma…
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Nov 21, 2024
2 parents 8d81e1e + da72071 commit ce8ab5b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COPY module-core/target/vocabulary-server-core.jar /opt/digiverso/vocabulary/
COPY module-core/src/main/resources/application.properties /opt/digiverso/vocabulary/
RUN sed -re "s|^(server.port=).*|\1${VOCABULARY_SERVER_PORT}|" \
-e "s|^#?(security.token=).*|\1${VOCABULARY_SERVER_TOKEN}|" \
-e "s|^#?(server.forward-headers-strategy.*)|\1|" \
-e "s|^(spring.datasource.username=).*|\1${VOCABULARY_DB_USER}|" \
-e "s|^(spring.datasource.password=).*|\1${VOCABULARY_DB_PASSWORD}|" \
-e "s|^(spring.datasource.url=).*|\1jdbc:mariadb://$VOCABULARY_DB_SERVER:3306/${VOCABULARY_DB_DATABASE}|" \
Expand Down
6 changes: 3 additions & 3 deletions module-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.3</version>
<version>3.3.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>io.goobi.vocabulary</groupId>
<artifactId>vocabulary-server-core</artifactId>
<version>1.1.9</version>
<version>1.1.10</version>
<name>Vocabulary-Server-Core</name>
<description>Spring Boot based RESTful web service for vocabulary management</description>
<packaging>jar</packaging>
Expand All @@ -35,7 +35,7 @@
<dependency>
<groupId>io.goobi.vocabulary</groupId>
<artifactId>vocabulary-server-exchange</artifactId>
<version>1.1.9</version>
<version>1.1.10</version>
<scope>compile</scope>
</dependency>

Expand Down
6 changes: 6 additions & 0 deletions module-core/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
# Control anonymous read operations. If set to false or not set, anonymous readers will not get access
#security.anonymous.read-allowed=true

# Proxy / Gateway configuration
# If the vocabulary server is behind a proxy, it will possibly generate wrong URLs because it is called with an internal
# IP or hostname. This can be controlled by X-Forwarded-* Headers (e. g. X-Forwarded-Host: example.com). To enable this,
# uncomment the following line.
#server.forward-headers-strategy=framework

# Basic configuration
# The port the vocabulary server should listen on
server.port=8081
Expand Down
4 changes: 2 additions & 2 deletions module-exchange/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.goobi.vocabulary</groupId>
<artifactId>vocabulary-server-exchange</artifactId>
<version>1.1.9</version>
<version>1.1.10</version>
<name>Vocabulary Exchange</name>
<description>Vocabulary data exchange classes</description>
<packaging>jar</packaging>
Expand Down Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.15.4</version>
<version>2.17.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.goobi.vocabulary</groupId>
<artifactId>vocabulary-server</artifactId>
<version>1.1.9</version>
<version>1.1.10</version>
<name>Vocabulary-Server</name>
<packaging>pom</packaging>
<description>RESTful webservice for vocabulary management</description>
Expand Down

0 comments on commit ce8ab5b

Please sign in to comment.