Browse Source

参数配置

chenweida 8 years ago
parent
commit
60f9ea89f4
3 changed files with 18 additions and 5 deletions
  1. 5 0
      svr-dashboard/readme.MD
  2. 4 4
      web-gateway/pom.xml
  3. 9 1
      web-gateway/readMe.MD

+ 5 - 0
svr-dashboard/readme.MD

@ -0,0 +1,5 @@
监控服务
    地址: ip:port/hystriz
    例如 http://localhost:9010/hystrix
    可以启动网关 然后输入网关的监控地址
    例如 http://localhost:8088/hystrix.stream

+ 4 - 4
web-gateway/pom.xml

@ -39,6 +39,10 @@
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-aop</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>
        <dependency>
@ -59,10 +63,6 @@
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-hystrix</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-zuul</artifactId>

+ 9 - 1
web-gateway/readMe.MD

@ -1,3 +1,11 @@
此项目是一个对外的网关项目
    网关调用微服务利用fegin(spring-cloud-starter-feign)
    
    
查看服务健康
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>
    
    localhost:8088/health