From 4c4b1a20302d26d993e7f73604e08e01738dab77 Mon Sep 17 00:00:00 2001 From: Mohan E Date: Tue, 3 Sep 2024 11:05:07 +0530 Subject: [PATCH] [MOSIP-35226] Updated bootstrap.properties Signed-off-by: Mohan E --- .../src/main/resources/bootstrap.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/kernel-config-server/src/main/resources/bootstrap.properties b/kernel/kernel-config-server/src/main/resources/bootstrap.properties index a7144facec..802980f8db 100644 --- a/kernel/kernel-config-server/src/main/resources/bootstrap.properties +++ b/kernel/kernel-config-server/src/main/resources/bootstrap.properties @@ -29,12 +29,12 @@ spring.profiles.active=native spring.cloud.config.server.native.search-locations=file:///var/lib/config_repo #Server would return a HTTP 404 status, if the application is not found.By default, this flag is set to true. -spring.cloud.config.server.accept-empty=true +spring.cloud.config.server.accept-empty=false #Spring Cloud Config Server makes a clone of the remote git repository and if somehow the local copy gets #dirty (e.g. folder content changes by OS process) so Spring Cloud Config Server cannot update the local copy #from remote repository. For Force-pull in such case, we are setting the flag to true. -spring.cloud.config.server.git.force-pull=false +spring.cloud.config.server.git.force-pull=true # Disabling health endpoints to improve performance of config server while in development, can be commented out in production. health.config.enabled=false