Commit eb6d3649 authored by XF's avatar XF

Merge branch 'master' into 20171227-sentry

parents d167913d 24a07181
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
<dependency> <dependency>
<groupId>com.ctrip.framework.apollo</groupId> <groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client</artifactId> <artifactId>apollo-client</artifactId>
<version>0.10.0</version> <version>0.10.1</version>
</dependency> </dependency>
<!--<dependency>--> <!--<dependency>-->
<!--<groupId>cn.quantgroup</groupId>--> <!--<groupId>cn.quantgroup</groupId>-->
......
...@@ -34,7 +34,7 @@ public class Bootstrap { ...@@ -34,7 +34,7 @@ public class Bootstrap {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication springApplication = new SpringApplication(Bootstrap.class); SpringApplication springApplication = new SpringApplication(Bootstrap.class);
springApplication.addInitializers(new ApolloPropertySourceInitializer("application", "tech.msg.sdk", "cash.common")); springApplication.addInitializers(new ApolloPropertySourceInitializer("application", "tech.msg.sdk", "cash.common","tech.service.urls"));
springApplication.addListeners(new ApplicationListener<ContextRefreshedEvent>() { springApplication.addListeners(new ApplicationListener<ContextRefreshedEvent>() {
@Override @Override
......
app.id=xyqb-user2 app.id=xyqb-user2
namespace=application namespace=application, tech.msg.sdk, cash.common,tech.service.urls
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment