Skip to content

Commit bc16876

Browse files
changes for refreshscope
1 parent ef66a73 commit bc16876

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Spring-Ms-Config-Client/src/main/java/com/vipul/cloud/SpringMsConfigClientApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.springframework.cloud.context.config.annotation.RefreshScope;
66

77
@SpringBootApplication
8-
// To enable refresh of config properties being accessed from config server
8+
//To enable refresh of config properties being accessed from config server
99
@RefreshScope
1010
public class SpringMsConfigClientApplication {
1111

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
server.port=7777
22
spring.profiles.active=development
33
spring.application.name=config-demo-client
4-
spring.cloud.config.uri=http://localhost:9999
4+
spring.cloud.config.uri=http://localhost:9999
5+
6+
management.endpoints.web.exposure.include=*

0 commit comments

Comments
 (0)