This is an automated email from the ASF dual-hosted git repository.
xiaoyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git
The following commit(s) were added to refs/heads/main by this push:
new e224b6ca5f fix current document (#961)
e224b6ca5f is described below
commit e224b6ca5fb08b006db3e64d5009e4c5fbedf269
Author: MeepoGod <[email protected]>
AuthorDate: Thu Aug 17 17:12:18 2023 +0800
fix current document (#961)
Co-authored-by: luyadong <[email protected]>
---
docs/user-guide/property-config/register-center-instance.md | 12 ++++++------
docs/user-guide/sdk-usage/shenyu-sdk-consul.md | 2 +-
docs/user-guide/sdk-usage/shenyu-sdk-etcd.md | 2 +-
docs/user-guide/sdk-usage/shenyu-sdk-nacos.md | 2 +-
docs/user-guide/sdk-usage/shenyu-sdk-zookeeper.md | 2 +-
.../user-guide/property-config/register-center-instance.md | 12 ++++++------
.../current/user-guide/sdk-usage/shenyu-sdk-consul.md | 2 +-
.../current/user-guide/sdk-usage/shenyu-sdk-etcd.md | 2 +-
.../current/user-guide/sdk-usage/shenyu-sdk-nacos.md | 2 +-
.../current/user-guide/sdk-usage/shenyu-sdk-zookeeper.md | 2 +-
10 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/docs/user-guide/property-config/register-center-instance.md
b/docs/user-guide/property-config/register-center-instance.md
index cc2c0633e9..0e41c57376 100644
--- a/docs/user-guide/property-config/register-center-instance.md
+++ b/docs/user-guide/property-config/register-center-instance.md
@@ -11,13 +11,13 @@ This document will introduce how to register the gateway
instance to the registr
First, introduce the following dependencies in the gateway's `pom.xml` file.
```xml
-<!--shenyu instance start-->
+<!--shenyu registry start-->
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
-<!--shenyu instance end-->
+<!--shenyu registry end-->
```
### Use zookeeper
@@ -27,7 +27,7 @@ First, introduce the following dependencies in the gateway's
`pom.xml` file.
Add the following configuration to the gateway's `yml` file:
```yaml
-instance:
+registry:
enabled: true
registerType: zookeeper
serverLists: localhost:2181 #config with your zk address, used by the
cluster environment, separated with (,).
@@ -41,7 +41,7 @@ instance:
Add the following configuration to the gateway's `yml` file:
```yaml
-instance:
+registry:
enabled: true
registerType: etcd
serverLists: http://localhost:2379 #config with your etcd address, used by
the cluster environment, separated with (,).
@@ -55,7 +55,7 @@ instance:
Add the following configuration to the gateway's `yml` file:
```yaml
-instance:
+registry:
enabled: true
registerType: apollo
serverLists: http://localhost:8080
diff --git a/docs/user-guide/sdk-usage/shenyu-sdk-consul.md
b/docs/user-guide/sdk-usage/shenyu-sdk-consul.md
index ef15991a5e..122381cf3b 100644
--- a/docs/user-guide/sdk-usage/shenyu-sdk-consul.md
+++ b/docs/user-guide/sdk-usage/shenyu-sdk-consul.md
@@ -25,7 +25,7 @@ In the gateway's `pom.xml` file, introduce the following
dependencies.
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```
diff --git a/docs/user-guide/sdk-usage/shenyu-sdk-etcd.md
b/docs/user-guide/sdk-usage/shenyu-sdk-etcd.md
index cbd2c46ce3..fc0e59ec3e 100644
--- a/docs/user-guide/sdk-usage/shenyu-sdk-etcd.md
+++ b/docs/user-guide/sdk-usage/shenyu-sdk-etcd.md
@@ -25,7 +25,7 @@ In the gateway's `pom.xml` file, introduce the following
dependencies.
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```
diff --git a/docs/user-guide/sdk-usage/shenyu-sdk-nacos.md
b/docs/user-guide/sdk-usage/shenyu-sdk-nacos.md
index db26cefdb4..895235d360 100644
--- a/docs/user-guide/sdk-usage/shenyu-sdk-nacos.md
+++ b/docs/user-guide/sdk-usage/shenyu-sdk-nacos.md
@@ -25,7 +25,7 @@ In the gateway's `pom.xml` file, introduce the following
dependencies.
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```
diff --git a/docs/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
b/docs/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
index 4bafbd1840..19e59ce73d 100644
--- a/docs/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
+++ b/docs/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
@@ -25,7 +25,7 @@ In the gateway's `pom.xml` file, introduce the following
dependencies.
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/register-center-instance.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/register-center-instance.md
index 4059be3b32..9dfa3a1b1c 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/register-center-instance.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/property-config/register-center-instance.md
@@ -10,13 +10,13 @@ description: 注册中心配置
首先,在网关的 `pom.xml` 文件中引入如下依赖。
```xml
-<!--shenyu instance start-->
+<!--shenyu registry start-->
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
-<!--shenyu instance end-->
+<!--shenyu registry end-->
```
### 使用zookeeper
@@ -26,7 +26,7 @@ description: 注册中心配置
在网关的 `yml` 文件中添加如下配置:
```yaml
-instance:
+registry:
enabled: true
registerType: zookeeper
serverLists: localhost:2181 #配置成你的 zookeeper 地址,集群环境请使用(,)分隔
@@ -40,7 +40,7 @@ instance:
在网关的 `yml` 文件中添加如下配置:
```yaml
-instance:
+registry:
enabled: true
registerType: etcd
serverLists: http://localhost:2379 #配置成你的 etcd 地址,集群环境请使用(,)分隔。
@@ -54,7 +54,7 @@ instance:
在网关的 `yml` 文件中添加如下配置:
```yaml
-instance:
+registry:
enabled: true
registerType: consul
serverLists: localhost:8848 #配置成你的 consul 地址,集群环境请使用(,)分隔。
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-consul.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-consul.md
index 6574be35c6..5ec4e99691 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-consul.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-consul.md
@@ -25,7 +25,7 @@ Shenyu提供了Shenyu-Sdk方便让服务能够快速接入shenyu网关, 客户
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-etcd.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-etcd.md
index 1a4ce5d07f..1524029978 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-etcd.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-etcd.md
@@ -25,7 +25,7 @@ Shenyu提供了Shenyu-Sdk方便让服务能够快速接入shenyu网关, 客户
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-nacos.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-nacos.md
index 09f7370c95..1cae3cb09c 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-nacos.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-nacos.md
@@ -25,7 +25,7 @@ Shenyu提供了Shenyu-Sdk方便让服务能够快速接入shenyu网关, 客户
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```
diff --git
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
index 01921c2671..90cef1da01 100644
---
a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
+++
b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/sdk-usage/shenyu-sdk-zookeeper.md
@@ -25,7 +25,7 @@ Shenyu提供了Shenyu-Sdk方便让服务能够快速接入shenyu网关, 客户
```xml
<dependency>
<groupId>org.apache.shenyu</groupId>
- <artifactId>shenyu-spring-boot-starter-instance</artifactId>
+ <artifactId>shenyu-spring-boot-starter-registry</artifactId>
<version>${project.version}</version>
</dependency>
```