-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into
EA3647-update_to_mongo6, switch to mongo 6, JDK17, SpringDoc
- Loading branch information
Showing
30 changed files
with
451 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
# Builds a docker image from a locally built Maven war. Requires 'mvn package' to have been run beforehand | ||
# when needed the image can be switched from jre to jdk, but the jdk has about 200MB | ||
#FROM eclipse-temurin:11-jdk-alpine | ||
FROM eclipse-temurin:11-jre-alpine | ||
#FROM eclipse-temurin:11-jre-alpine | ||
FROM eclipse-temurin:17-jre-alpine | ||
LABEL Author="Europeana Foundation <[email protected]>" | ||
|
||
# Configure APM and add APM agent | ||
ENV ELASTIC_APM_VERSION 1.34.1 | ||
#disabled by default, to be enabled by kustomize/build params for specific servers only | ||
ENV ELASTIC_APM_ENABLED false | ||
ADD https://repo1.maven.org/maven2/co/elastic/apm/elastic-apm-agent/$ELASTIC_APM_VERSION/elastic-apm-agent-$ELASTIC_APM_VERSION.jar /opt/app/elastic-apm-agent.jar | ||
|
||
COPY ./set-web/target/set-web-executable.jar /opt/app/set-web-executable.jar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 25 additions & 1 deletion
26
set-integration-testing/src/integration-test/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
spring.main.allow-bean-definition-overriding=true | ||
spring.main.allow-bean-definition-overriding=true | ||
|
||
#switch Spring boot logging to log4j (see https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#features.logging) | ||
org.springframework.boot.logging.LoggingSystem= org.springframework.boot.logging.log4j2.Log4J2LoggingSystem | ||
|
||
## management / actuator / swagger | ||
#springfox.documentation.swagger-ui.enabled=true | ||
management.security.enabled=false | ||
|
||
management.endpoints.web.exposure.include=health,info | ||
# for debugging conditioonal annotations locally the following configuration can be used | ||
management.info.build.enabled=true | ||
management.info.git.enabled=true | ||
management.health.probes.enabled=true | ||
|
||
## Configurations for swagger console | ||
springdoc.paths-to-exclude=/error | ||
springdoc.show-actuator=true | ||
|
||
## server configurations | ||
server.port = 8080 | ||
server.error.include-message=always | ||
server.error.include-stacktrace=on_param | ||
server.error.include-exception=false | ||
server.error.see-also=https://pro.europeana.eu/page/apis |
11 changes: 7 additions & 4 deletions
11
set-integration-testing/src/integration-test/resources/mongo-docker/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
# Please note, this file should have unix-based end of line | ||
# Use same version as CloudFoundry deployment | ||
FROM library/mongo:4.4.15 | ||
#FROM library/mongo:4.4.15 | ||
FROM library/mongo:6.0.14-jammy | ||
|
||
EXPOSE 27017 | ||
|
||
ENV MONGO_INITDB_ROOT_USERNAME admin | ||
ENV MONGO_INITDB_ROOT_PASSWORD password | ||
ENV MONGO_INITDB_ROOT_USERNAME admin_user | ||
ENV MONGO_INITDB_ROOT_PASSWORD admin_password | ||
|
||
COPY init-mongo.sh /docker-entrypoint-initdb.d/init-mongo.sh | ||
#MONGO_INITDB_DATABASE | ||
|
||
#COPY init-mongo.sh /docker-entrypoint-initdb.d/init-mongo.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.