From 39dc94b928a2c8efd5459c59102f78e055c81bf3 Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Sat, 19 Jan 2019 11:37:57 +0800 Subject: [PATCH 1/4] Update README.md --- spring-cloud/spring-cloud-config/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud/spring-cloud-config/README.md b/spring-cloud/spring-cloud-config/README.md index 2c66b37..0e36f12 100644 --- a/spring-cloud/spring-cloud-config/README.md +++ b/spring-cloud/spring-cloud-config/README.md @@ -130,13 +130,13 @@ spring:
-**这说明在用配置中心拉取配置的时候,和我们在本地开发的时候是一致的,配置是互补的,即dev中的实际配置应该是主配置和dev配置的结合,且遵循同名属性精确优先的原则**。 +这说明在用配置中心拉取配置的时候,和我们在本地开发的时候是一致的,配置是互补的,即dev中的实际配置应该是主配置和dev配置的结合,且遵循同名属性精确优先的原则。 #### 3.5 http请求地址和资源文件映射 -在本用例中如果我们想要直接访问主配置,用以下路径 http://localhost:8020/application.yml是不行的,会得到错误页面。如果想要访问主配置,,可以用http://localhost:8020/application-X.yml,其中可以是任意字符,原因是: +在本用例中如果我们想要直接访问主配置,用以下路径 http://localhost:8020/application.yml 是不行的,会得到错误页面。如果想要访问主配置,,可以用http://localhost:8020/application-X.yml,其中可以是任意字符,原因是: 请求地址和实际的配置文件应该遵循以下规则,application为配置文件名,profile 为环境,label为分支(如果不指定默认就是master分支)。 From df47c1620ba3e1102de16dd8aaa3414cbdc755c1 Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Sat, 19 Jan 2019 11:48:42 +0800 Subject: [PATCH 2/4] Update README.md --- spring-cloud/spring-cloud-hystrix/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud/spring-cloud-hystrix/README.md b/spring-cloud/spring-cloud-hystrix/README.md index 7598ea2..39d6f29 100644 --- a/spring-cloud/spring-cloud-hystrix/README.md +++ b/spring-cloud/spring-cloud-hystrix/README.md @@ -289,7 +289,7 @@ public class TurbineApplication { #### 5.1 无法访问监控页面 -1. 一般是端点链接输入不对,在F版本的spring cloud 中,输入监控的端点链接是 http://localhost:8030/actuator/hystrix.stream,中间是有/actuator/(之前版本的没有/actuator/) +1. 一般是端点链接输入不对,在F版本的spring cloud 中,输入监控的端点链接是 http://localhost:8030/actuator/hystrix.stream ,中间是有/actuator/(之前版本的没有/actuator/) 2. 没有暴露端点链接,暴露端点链接有两种方式,一种是我们在上文中提到的基于配置的方式 @@ -322,4 +322,4 @@ public class TurbineApplication { 这种情况是熔断器所在的方法没有被调用,不是整合问题,这时候调用一下熔断器所在方法即可。 -
\ No newline at end of file +
From dbe415b9280ef440cd058ab5ea7e819eea72105b Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Sat, 19 Jan 2019 11:49:59 +0800 Subject: [PATCH 3/4] Update README.md --- spring-cloud/spring-cloud-hystrix/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud/spring-cloud-hystrix/README.md b/spring-cloud/spring-cloud-hystrix/README.md index 39d6f29..b9eb59c 100644 --- a/spring-cloud/spring-cloud-hystrix/README.md +++ b/spring-cloud/spring-cloud-hystrix/README.md @@ -320,6 +320,6 @@ public class TurbineApplication { #### 5.2 页面一直loading 或者访问端点页面一直出现ping -这种情况是熔断器所在的方法没有被调用,不是整合问题,这时候调用一下熔断器所在方法即可。 +这种情况是熔断器所在的方法没有被调用,所有没有产生监控数据,不是整合问题,这时候调用一下熔断器所在方法即可。
From 18da96d05f8131da2f587603c73dfed6bb47055e Mon Sep 17 00:00:00 2001 From: heibaiying <31504331+heibaiying@users.noreply.github.com> Date: Sat, 19 Jan 2019 11:50:19 +0800 Subject: [PATCH 4/4] Update README.md --- spring-cloud/spring-cloud-hystrix/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud/spring-cloud-hystrix/README.md b/spring-cloud/spring-cloud-hystrix/README.md index b9eb59c..3af62ed 100644 --- a/spring-cloud/spring-cloud-hystrix/README.md +++ b/spring-cloud/spring-cloud-hystrix/README.md @@ -320,6 +320,6 @@ public class TurbineApplication { #### 5.2 页面一直loading 或者访问端点页面一直出现ping -这种情况是熔断器所在的方法没有被调用,所有没有产生监控数据,不是整合问题,这时候调用一下熔断器所在方法即可。 +这种情况是熔断器所在的方法没有被调用,所以没有产生监控数据,不是整合问题,这时候调用一下熔断器所在方法即可。