diff --git a/configServer/src/main/java/com/configServer/configServer/ConfigServerApplication.java b/configServer/src/main/java/com/configServer/configServer/ConfigServerApplication.java index 15c4b91b910489715163700e5030e9f27e68cf18..d548797dd93babf8f713cbae347de9ad9aab54bd 100644 --- a/configServer/src/main/java/com/configServer/configServer/ConfigServerApplication.java +++ b/configServer/src/main/java/com/configServer/configServer/ConfigServerApplication.java @@ -2,7 +2,9 @@ package com.configServer.configServer; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.config.server.EnableConfigServer; +@EnableConfigServer @SpringBootApplication public class ConfigServerApplication { diff --git a/configServer/src/main/resources/application.properties b/configServer/src/main/resources/application.properties index 292c8296f9747cb4dde90d531b5986fcf5bbb826..ed2ecaea8b2b8d960f849dd55c0facbaaa194322 100644 --- a/configServer/src/main/resources/application.properties +++ b/configServer/src/main/resources/application.properties @@ -1,8 +1,6 @@ -welcome.message="Hello World from config server!" -spring.application.name=thinktogether server.port=8888 -spring.cloud.config.server.git.uri=https://gitlab.reutlingen-university.de/gessmann/vs_sose2020 +spring.cloud.config.server.git.uri=https://github.com/Nachtkind26/thinktogether.git spring.cloud.config.server.git.clone-on-start=true # Set Path to Config Files -spring.cloud.config.server.git.search-paths=groupManagement/src/main/resources +spring.cloud.config.server.git.search-paths=properties