Bladeren bron

lrl - 2021-10-16

lirl 3 jaren geleden
bovenliggende
commit
e38bb685d1
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      src/main/java/com/steerinfo/DataSouceApplication.java

+ 2 - 1
src/main/java/com/steerinfo/DataSouceApplication.java

@@ -7,6 +7,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.cache.annotation.EnableCaching;
 import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
 import org.springframework.cloud.netflix.hystrix.EnableHystrix;
 import org.springframework.cloud.openfeign.EnableFeignClients;
 
@@ -16,7 +17,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
 @EnableHystrix
 @EnableCaching
 @EnableFeignClients
-@EnableDiscoveryClient
+@EnableEurekaClient
 public class DataSouceApplication {
     public static void main(String[] args) {
         SpringApplication.run(DataSouceApplication.class, args);