diff --git a/bike-service/pom.xml b/bike-service/pom.xml index 40f6501..b255d38 100644 --- a/bike-service/pom.xml +++ b/bike-service/pom.xml @@ -15,6 +15,7 @@ Demo project for Spring Boot 17 + 2020.0.3 @@ -44,14 +45,24 @@ org.springframework.cloud spring-cloud-starter-config - 3.1.4 org.springframework.cloud spring-cloud-starter-bootstrap - 3.1.4 + + + + + org.springframework.cloud + spring-cloud-dependencies + 2021.0.4 + pom + import + + + diff --git a/bike-service/src/main/resources/bootstrap.yaml b/bike-service/src/main/resources/bootstrap.yaml index df94e00..70039f7 100644 --- a/bike-service/src/main/resources/bootstrap.yaml +++ b/bike-service/src/main/resources/bootstrap.yaml @@ -2,5 +2,6 @@ spring: application: name: bike-service cloud: - enabled: true - uri: http://localhost:8081 \ No newline at end of file + config: + enabled: true + uri: http://localhost:8081 \ No newline at end of file diff --git a/car-service/pom.xml b/car-service/pom.xml index 64e5c4d..cb7be63 100644 --- a/car-service/pom.xml +++ b/car-service/pom.xml @@ -15,6 +15,7 @@ Demo project for Spring Boot 17 + 2020.0.3 @@ -44,14 +45,24 @@ org.springframework.cloud spring-cloud-starter-config - 3.1.4 org.springframework.cloud spring-cloud-starter-bootstrap - 3.1.4 + + + + + org.springframework.cloud + spring-cloud-dependencies + 2021.0.4 + pom + import + + + diff --git a/car-service/src/main/resources/bootstrap.yaml b/car-service/src/main/resources/bootstrap.yaml index e703b56..b24101f 100644 --- a/car-service/src/main/resources/bootstrap.yaml +++ b/car-service/src/main/resources/bootstrap.yaml @@ -2,5 +2,6 @@ spring: application: name: car-service cloud: - enabled: true - uri: http://localhost:8081 \ No newline at end of file + config: + enabled: true + uri: http://localhost:8081 \ No newline at end of file diff --git a/config-service/src/main/resources/application.yaml b/config-service/src/main/resources/application.yaml index 5853478..ef9e1ff 100644 --- a/config-service/src/main/resources/application.yaml +++ b/config-service/src/main/resources/application.yaml @@ -6,7 +6,7 @@ spring: server: git: default-label: config-server - uri: http://git.gzcode.xyz/atancito/MicroservicesTutorial.git + uri: https://git.gzcode.xyz/atancito/MicroservicesTutorial search-paths: config-data application: name: config-service diff --git a/user-service/pom.xml b/user-service/pom.xml index bb3bd7b..c0e268c 100644 --- a/user-service/pom.xml +++ b/user-service/pom.xml @@ -15,6 +15,7 @@ Demo project for Spring Boot 17 + 2020.0.3 diff --git a/user-service/src/main/resources/bootstrap.yaml b/user-service/src/main/resources/bootstrap.yaml index ee6e7be..62975b8 100644 --- a/user-service/src/main/resources/bootstrap.yaml +++ b/user-service/src/main/resources/bootstrap.yaml @@ -2,5 +2,6 @@ spring: application: name: user-service cloud: - enabled: true - uri: http://localhost:8081 \ No newline at end of file + config: + enabled: true + uri: http://localhost:8081 \ No newline at end of file