微服调用调整

yun-zuoyi
alwaysfrin 7 years ago
parent 599f010a86
commit 1b8f4c01ba

@ -137,12 +137,10 @@
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom2</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<version>1.1.6</version>
</dependency>
<dependency>

@ -10,6 +10,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.HashMap;
@ -22,6 +23,7 @@ import java.util.List;
* @CreateDate : 2018-10-12 18:43
* @Modify:
**/
@Component
public class SysResourceBindleListener implements ApplicationListener<ContextRefreshedEvent> {
private static final Logger LOGGER = LoggerFactory.getLogger(CommonConstWords.SYSTEM_LOG);

@ -62,6 +62,12 @@ hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=5000
#集群名
eureka.instance.metadata-map.cluster=impp_cluster
#### 链路追踪 ####
#链路追踪服务的地址
spring.zipkin.base-url=http://192.168.1.20:8010
#追踪深度百分比1是全部
spring.sleuth.sampler.probability=1.0
################ 日志据源 ################
spring.data.mongodb.database=mongoDBSource
spring.data.mongodb.uri=192.168.1.55:27017

@ -201,6 +201,17 @@
<artifactId>poi-ooxml</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom2</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<version>1.1.6</version>
</dependency>
</dependencies>
</dependencyManagement>

Loading…
Cancel
Save