We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db8f0e commit 204ba08Copy full SHA for 204ba08
person-service/src/main/java/com/cevher/ms/person/PersonServiceApplication.java
@@ -3,12 +3,14 @@
3
import org.springframework.boot.SpringApplication;
4
import org.springframework.boot.autoconfigure.SpringBootApplication;
5
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
6
+import org.springframework.cloud.context.config.annotation.RefreshScope;
7
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
8
import org.springframework.context.annotation.Bean;
9
import org.springframework.web.client.RestTemplate;
10
11
@SpringBootApplication
12
@EnableEurekaClient
13
+@RefreshScope
14
public class PersonServiceApplication {
15
16
public static void main(String[] args) {
0 commit comments