chenyongxing f587b28770 Merge branch 'dev' of http://192.168.1.220:10080/chenweida/jw2.0 into dev 7 年之前
..
src f587b28770 Merge branch 'dev' of http://192.168.1.220:10080/chenweida/jw2.0 into dev 7 年之前
pom.xml c0cfd519f1 新增加包的支持 7 年之前
readMe.MD 80dc231f17 新增分布式追踪系统 7 年之前

readMe.MD

此项目是一个对外的网关项目

网关调用微服务利用fegin(spring-cloud-starter-feign)

查看服务健康需要添加以下支持

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-actuator</artifactId>
    </dependency>

localhost:8088/health

刷新配置 在有需要刷新配置的地方的类加上注解

@RefreshScope
访问以下路径刷新配置
curl -X POST http://localhost:8088/refresh