From 1c793df127adc0621f3f531ca9834e3a581e4f06 Mon Sep 17 00:00:00 2001 From: Surav Shrestha Date: Tue, 31 Oct 2023 16:06:48 +0545 Subject: [PATCH 1/4] fix typos in java-chassis-samples/jaxrs-sample/README.md --- java-chassis-samples/jaxrs-sample/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-chassis-samples/jaxrs-sample/README.md b/java-chassis-samples/jaxrs-sample/README.md index a4911f37..3b01ea65 100644 --- a/java-chassis-samples/jaxrs-sample/README.md +++ b/java-chassis-samples/jaxrs-sample/README.md @@ -13,7 +13,7 @@ ServiceComb supports developers in developing services in JAX-RS mode by using J ### Consumer Service -To consume a provider-service, only need to decalare a member of a service API type and add the `RpcReference` annotation for the member, the microservice that depends on the declaration and the `schemaID` just like pojo consumer sample. +To consume a provider-service, only need to declare a member of a service API type and add the `RpcReference` annotation for the member, the microservice that depends on the declaration and the `schemaID` just like pojo consumer sample. ## Precondition see [Precondition](../../README.md) From 4c43df2fc6dcc8b9a11281d6fed9b69de86fb864 Mon Sep 17 00:00:00 2001 From: Surav Shrestha Date: Tue, 31 Oct 2023 16:06:48 +0545 Subject: [PATCH 2/4] fix typos in java-chassis-samples/metrics-extend-healthcheck/README.md --- java-chassis-samples/metrics-extend-healthcheck/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-chassis-samples/metrics-extend-healthcheck/README.md b/java-chassis-samples/metrics-extend-healthcheck/README.md index 1666f649..ec295c95 100644 --- a/java-chassis-samples/metrics-extend-healthcheck/README.md +++ b/java-chassis-samples/metrics-extend-healthcheck/README.md @@ -1,6 +1,6 @@ # Extend Metrics Health Checker Sample ## What is Health Checker -Because micro-services is desgin by SRP(Single Responsibility Principle),one micro-service always depend on many components such as middle-ware like queue,database etc and other micro-services,so if one micro-service report failure,we want fast know what is the cause and more details to help us solve the problem. +Because micro-services is designed by SRP(Single Responsibility Principle),one micro-service always depend on many components such as middle-ware like queue,database etc and other micro-services,so if one micro-service report failure,we want fast know what is the cause and more details to help us solve the problem. Health check mechanism can let user write some logic to check components of micro-service dependent and return check result. From db89ee9c970f385cee056ab3981ec4b5da9e37ef Mon Sep 17 00:00:00 2001 From: Surav Shrestha Date: Tue, 31 Oct 2023 16:06:48 +0545 Subject: [PATCH 3/4] fix typos in porter_lightweight/README.md --- porter_lightweight/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/porter_lightweight/README.md b/porter_lightweight/README.md index f8262647..e24ee0f2 100644 --- a/porter_lightweight/README.md +++ b/porter_lightweight/README.md @@ -77,7 +77,7 @@ java $JAVA_OPT -Ddb.url="jdbc:mysql://localhost/porter_user_db?useSSL=false" -Dd java $JAVA_OPT -jar porter-file-service-0.0.1-SNAPSHOT.jar >/dev/null 2>&1 & ``` -* 启动gateway-serivce: +* 启动gateway-service: gateway-service包含了静态页面文件,在resources/ui目录。首先需要将页面文件拷贝到WEB主目录(相对路径,当前运行目录),比如: webapp,然后将ui目录整体拷贝到webapp/ui目录(注意:porter_lightweight/gateway-service/src/main/resources/microservice.yaml中的相关配置 gateway:webroot: /code/servicecomb-samples/porter_lightweight/gateway-service/src/main/resources是自己本地代码的位置)。启动: From b98de5ddbb3994d364d7c9a9b9aecc15a1d45374 Mon Sep 17 00:00:00 2001 From: Surav Shrestha Date: Tue, 31 Oct 2023 16:06:48 +0545 Subject: [PATCH 4/4] fix typos in porter_springboot/README.md --- porter_springboot/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/porter_springboot/README.md b/porter_springboot/README.md index dab1ab4f..6b3e7051 100644 --- a/porter_springboot/README.md +++ b/porter_springboot/README.md @@ -77,7 +77,7 @@ java $JAVA_OPT -Ddb.url="jdbc:mysql://localhost/porter_user_db?useSSL=false" -Dd java $JAVA_OPT -jar porter-file-service-2.0-SNAPSHOT.jar >/dev/null 2>&1 & ``` -* 启动 gateway-serivce: +* 启动 gateway-service: ``` java $JAVA_OPT -jar porter-gateway-service-2.0-SNAPSHOT.jar >/dev/null 2>&1 &