From e9899d4888e363a9e647a20c99a8d39e70c2bf43 Mon Sep 17 00:00:00 2001 From: Asaf Chen <109060156+asafchen-dig@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:27:02 -0400 Subject: [PATCH] chore: update MongoDB connection string to use k8s service DNS --- src/main/resources/application.properties | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index f7aef094b4f..d3d93327dff 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -14,7 +14,7 @@ spring.jpa.hibernate.ddl-auto=none spring.jpa.open-in-view=true # FlaskDb -spring.data.flaskdb.uri=http://localhost:27017/feedbacks +spring.data.flaskdb.uri=http://petclinic-flaskdb:27017/feedbacks # Internationalization spring.messages.basename=messages/messages @@ -27,5 +27,4 @@ logging.level.org.springframework=INFO # logging.level.org.springframework.web=DEBUG # logging.level.org.springframework.context.annotation=TRACE -# Maximum time static resources should be cached -spring.web.resources.cache.cachecontrol.max-age=12h +# Maximum time static resources should be cachedspring.web.resources.cache.cachecontrol.max-age=12h