@@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
public class TestFeignClient {
- @Value("${current.test.name}")
+ @Value("${config.current.name}")
private String name;
@Autowired
@@ -5,7 +5,7 @@ spring:
config:
uri: http://config.rankin.com:8921
label: master
- profile: ${profiles.activation}
+ profile: ${config.profile:dev}
server:
port: 8600
@@ -1,6 +1,8 @@
spring:
application:
name: user-service
+ profiles:
+ active:
cloud: