From 50294bbe484545f06348f4c400b5f79b14da4cd7 Mon Sep 17 00:00:00 2001 From: Giuseppe Baittiner Date: Mon, 9 Oct 2023 15:10:59 +0200 Subject: [PATCH 1/3] fix: missing db_name props --- src/main/resources/application-docker.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/application-docker.properties b/src/main/resources/application-docker.properties index ebd8171..692285c 100644 --- a/src/main/resources/application-docker.properties +++ b/src/main/resources/application-docker.properties @@ -5,6 +5,7 @@ management.server.port=8021 # Database ####################################### data.mongodb.uri=mongodb://mongoadmin:secret@host.docker.internal:27888/fse +data.mongodb.schema-name=FSE_GTW ####################################### # Client Config From f99455482051beb3f47514a5eab30cef94f9323f Mon Sep 17 00:00:00 2001 From: Giuseppe Baittiner Date: Mon, 16 Oct 2023 16:05:06 +0200 Subject: [PATCH 2/3] feat: update docker props --- src/main/resources/application-docker.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-docker.properties b/src/main/resources/application-docker.properties index 692285c..bd2e96e 100644 --- a/src/main/resources/application-docker.properties +++ b/src/main/resources/application-docker.properties @@ -4,13 +4,13 @@ management.server.port=8021 ####################################### # Database ####################################### -data.mongodb.uri=mongodb://mongoadmin:secret@host.docker.internal:27888/fse +data.mongodb.uri=mongodb://mongoadmin:secret@mongo:27017 data.mongodb.schema-name=FSE_GTW ####################################### # Client Config ####################################### -eds-ingestion.url.host=http://host.docker.internal:9087 +eds-ingestion.url.host=http://it-fse-srv-ingestion:9087 ####### LOGGING OUTPUT FORMAT ############ # Must be one of console, json From 92044620e8ce0086cb6de597e5de8401a1a74adf Mon Sep 17 00:00:00 2001 From: Giuseppe Baittiner Date: Thu, 19 Oct 2023 16:10:35 +0200 Subject: [PATCH 3/3] fix: db props dev and prod --- src/main/resources/application-dev.properties | 2 +- src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index 4f2328f..5fe370f 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -4,7 +4,7 @@ management.server.port=8021 ####################################### # Database ####################################### -data.mongodb.uri=mongodb://mongoadmin:secret@localhost:27888/fse +data.mongodb.uri=mongodb://mongoadmin:secret@localhost:27888 data.mongodb.schema-name=FSE_GTW ####################################### diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 40359b6..2a1c2e0 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -36,7 +36,7 @@ log.output.format=console ####################################### # DATASOURCE DB ####################################### -data.mongodb.uri=mongodb://${MONGO_USER}:${MONGO_PASSWORD}@:/ +data.mongodb.uri=mongodb://${MONGO_USER}:${MONGO_PASSWORD}@: data.mongodb.schema-name=${MONGO_DBNAME} #######################################