From f52e3a72ac0be56a4b1664c9afd66dda4c9e1b61 Mon Sep 17 00:00:00 2001 From: fangjian0423 Date: Mon, 17 Sep 2018 20:07:37 +0800 Subject: [PATCH] fix sentinel example docs --- README-zh.md | 2 +- README.md | 2 +- .../sentinel-example/sentinel-core-example/readme-zh.md | 2 +- .../sentinel-example/sentinel-core-example/readme.md | 2 +- .../sentinel-example/sentinel-dubbo-example/readme.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README-zh.md b/README-zh.md index d7040a660..32b4098f1 100644 --- a/README-zh.md +++ b/README-zh.md @@ -42,7 +42,7 @@ Spring Cloud 使用 Maven 来构建,最快的使用方式是将本项目clone Example 列表: -[sentinel example](https://github.com/spring-cloud-incubator/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme-zh.md) +[Sentinel Example](https://github.com/spring-cloud-incubator/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme-zh.md) [Nacos Config Example](https://github.com/spring-cloud-incubator/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/readme-zh.md) diff --git a/README.md b/README.md index 28a388e56..0811db0af 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ A `spring-cloud-alibaba-examples` module is included in our project for you to g Examples: -[Sentinel example](https://github.com/spring-cloud-incubator/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md) +[Sentinel Example](https://github.com/spring-cloud-incubator/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md) [Nacos Config Example](https://github.com/spring-cloud-incubator/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/readme.md) diff --git a/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme-zh.md b/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme-zh.md index eb261a51d..49d1e8989 100644 --- a/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme-zh.md +++ b/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme-zh.md @@ -84,7 +84,7 @@ 2. 启动应用,支持 IDE 直接启动和编译打包后启动。 1. IDE直接启动:找到主类 `ServiceApplication`,执行 main 方法启动应用。 - 2. 打包编译后启动:首先执行 `mvn clean package` 将工程编译打包,然后执行 `java -jar sentinel-example.jar`启动应用。 + 2. 打包编译后启动:首先执行 `mvn clean package` 将工程编译打包,然后执行 `java -jar sentinel-core-example.jar`启动应用。 ### 调用服务 diff --git a/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md b/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md index c1c3fb37b..533426830 100644 --- a/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md +++ b/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md @@ -71,7 +71,7 @@ Before we start the demo, let's learn how to connect Sentinel to a Spring Cloud 2. Start the application in IDE or by building a fatjar. 1. Start in IDE: Find main class `ServiceApplication`, and execute the main method. - 2. Build a fatjar:Execute command `mvn clean package` to build a fatjar,and run command `java -jar sentinel-example.jar` to start the application. + 2. Build a fatjar:Execute command `mvn clean package` to build a fatjar,and run command `java -jar sentinel-core-example.jar` to start the application. ### Invoke Service diff --git a/spring-cloud-alibaba-examples/sentinel-example/sentinel-dubbo-example/readme.md b/spring-cloud-alibaba-examples/sentinel-example/sentinel-dubbo-example/readme.md index b12d6101a..59003a0af 100644 --- a/spring-cloud-alibaba-examples/sentinel-example/sentinel-dubbo-example/readme.md +++ b/spring-cloud-alibaba-examples/sentinel-example/sentinel-dubbo-example/readme.md @@ -1,4 +1,4 @@ -# Sentinel Dubbo Provider Example +# Sentinel Provider Example ## Project Instruction This example illustrates how to use Sentinel starter to implement flow control for Spring Cloud applications.