diff --git a/config-data/bike-service.yml b/config-data/bike-service.yml index 1c2703b..75deb71 100644 --- a/config-data/bike-service.yml +++ b/config-data/bike-service.yml @@ -7,4 +7,4 @@ eureka: service-url: default-zone: http://localhost:8761/eureka instance: - instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}} \ No newline at end of file + instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}} \ No newline at end of file diff --git a/config-data/car-service.yml b/config-data/car-service.yml index 1c2703b..75deb71 100644 --- a/config-data/car-service.yml +++ b/config-data/car-service.yml @@ -7,4 +7,4 @@ eureka: service-url: default-zone: http://localhost:8761/eureka instance: - instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}} \ No newline at end of file + instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}} \ No newline at end of file diff --git a/config-data/user-service.yml b/config-data/user-service.yml index 1c2703b..75deb71 100644 --- a/config-data/user-service.yml +++ b/config-data/user-service.yml @@ -7,4 +7,4 @@ eureka: service-url: default-zone: http://localhost:8761/eureka instance: - instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}} \ No newline at end of file + instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}} \ 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 dd27845..b1bde59 100644 --- a/config-service/src/main/resources/application.yaml +++ b/config-service/src/main/resources/application.yaml @@ -5,10 +5,8 @@ spring: config: server: git: - defaultLabel: "eureka" + defaultLabel: multiple-instantces uri: https://git.gzcode.xyz/atancito/MicroservicesTutorial searchPaths: config-data - username: ${GIT_USER} - password: ${GIT_PASSWORD} application: name: config-service