This is an automated email from the ASF dual-hosted git repository.
menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 4fd3962 Add schema-name change optional in document (#13194)
4fd3962 is described below
commit 4fd3962fd60f46e3d733b43dcab384354a621c04
Author: zhaojinchao <[email protected]>
AuthorDate: Thu Oct 21 16:35:36 2021 +0800
Add schema-name change optional in document (#13194)
* change schema-name optional
* update
* update
* update
* update
* update
---
.../spring-namespace-configuration.cn.md | 16 ++++++++--------
.../configuration/spring-boot-starter/_index.cn.md | 2 +-
.../configuration/spring-boot-starter/_index.en.md | 2 +-
.../configuration/spring-namespace/_index.cn.md | 14 +++++++-------
.../configuration/spring-namespace/_index.en.md | 14 +++++++-------
.../configuration/spring-namespace/mode.cn.md | 12 ++++++------
.../configuration/spring-namespace/mode.en.md | 12 ++++++------
.../shardingsphere-jdbc/configuration/yaml/_index.cn.md | 6 +++---
.../shardingsphere-jdbc/configuration/yaml/mode.cn.md | 6 +++---
.../shardingsphere-jdbc/configuration/yaml/mode.en.md | 6 +++---
10 files changed, 45 insertions(+), 45 deletions(-)
diff --git
a/docs/document/content/others/api-change-history/shardingsphere-jdbc/spring-namespace-configuration.cn.md
b/docs/document/content/others/api-change-history/shardingsphere-jdbc/spring-namespace-configuration.cn.md
index 903587e..bde556c 100644
---
a/docs/document/content/others/api-change-history/shardingsphere-jdbc/spring-namespace-configuration.cn.md
+++
b/docs/document/content/others/api-change-history/shardingsphere-jdbc/spring-namespace-configuration.cn.md
@@ -241,14 +241,14 @@ weight = 3
\<governance:reg-center />
-| *名称* | *类型* | *说明*
|
-| ------------- | ------ |
------------------------------------------------------------------------- |
-| id | 属性 | 注册中心实例名称
|
-| schema-name | 属性 | JDBC数据源别名,该参数可实现JDBC与PROXY共享配置
|
-| type | 属性 | 注册中心类型。如:ZooKeeper, etcd
|
-| namespace | 属性 | 注册中心命名空间
|
-| server-lists | 属性 | 注册中心服务列表。包括 IP 地址和端口号。多个地址用逗号分隔。如:
host1:2181,host2:2181 |
-| props (?) | 属性 | 配置本实例需要的其他参数,例如 ZooKeeper 的连接参数等
|
+| *名称* | *类型* | *说明*
|
+| ----------------- | ------ |
------------------------------------------------------------------------- |
+| id | 属性 | 注册中心实例名称
|
+| schema-name (?) | 属性 | JDBC 数据源别名,该参数可实现 JDBC 与 PROXY 共享配置
|
+| type | 属性 | 注册中心类型。如:ZooKeeper, etcd
|
+| namespace | 属性 | 注册中心命名空间
|
+| server-lists | 属性 | 注册中心服务列表。包括 IP 地址和端口号。多个地址用逗号分隔。如:
host1:2181,host2:2181 |
+| props (?) | 属性 | 配置本实例需要的其他参数,例如 ZooKeeper 的连接参数等
|
## ShardingSphere-4.x
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.cn.md
index 4b50094..6195740 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.cn.md
@@ -10,7 +10,7 @@ ShardingSphere-JDBC 提供官方的 Spring Boot Starter,使开发者可以非
## 数据源配置
```properties
-spring.shardingsphere.schema.name= # JDBC数据源别名
+spring.shardingsphere.schema.name= # JDBC 数据源别名,该参数为可选项,不配置则默认采用 logic_db 作为
schemaName。
spring.shardingsphere.datasource.names= # 数据源名称,多数据源以逗号分隔
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.en.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.en.md
index 011420d..a81ddb1 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.en.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-boot-starter/_index.en.md
@@ -10,7 +10,7 @@ ShardingSphere-JDBC provides official Spring Boot Starter to
make convenient for
## Data Source Configuration
```properties
-spring.shardingsphere.schema.name= # JDBC data source alias
+spring.shardingsphere.schema.name= # JDBC data source alias, this parameter is
optional. If it is not configured, logic_db is used as the schemaName by
default.
spring.shardingsphere.datasource.names= # Data source name, multiple data
sources are separated by commas
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.cn.md
index 59b5820..4d8519a 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.cn.md
@@ -51,10 +51,10 @@ ShardingSphere-JDBC 提供官方的 Spring 命名空间配置,使开发者可
\<shardingsphere:data-source />
-| *名称* | *类型* | *说明* |
-| ----------------- | ----- | --------------------------- |
-| id | 属性 | Spring Bean Id |
-| schema-name | 属性 | JDBC数据源别名 |
-| data-source-names | 标签 | 数据源名称,多个数据源以逗号分隔 |
-| rule-refs | 标签 | 规则名称,多个规则以逗号分隔 |
-| props (?) | 标签 |
属性配置,详情请参见[属性配置](/cn/user-manual/shardingsphere-jdbc/configuration/props) |
+| *名称* | *类型* | *说明* |
+| --------------------- | ----- | --------------------------- |
+| id | 属性 | Spring Bean Id |
+| schema-name (?) | 属性 | JDBC 数据源别名 |
+| data-source-names | 标签 | 数据源名称,多个数据源以逗号分隔 |
+| rule-refs | 标签 | 规则名称,多个规则以逗号分隔 |
+| props (?) | 标签 |
属性配置,详情请参见[属性配置](/cn/user-manual/shardingsphere-jdbc/configuration/props) |
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.en.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.en.md
index fce954e..eace68a 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.en.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/_index.en.md
@@ -51,10 +51,10 @@ Namespace:
[http://shardingsphere.apache.org/schema/shardingsphere/datasource/da
\<shardingsphere:data-source />
-| *Name* | *Type* | *Description*
|
-| ----------------- | --------- |
-------------------------------------------------------------------- |
-| id | Attribute | Spring Bean Id
|
-| schema-name | Attribute | JDBC data source alias
|
-| data-source-names | Attribute | Data source name, multiple data source names
are separated by commas |
-| rule-refs | Attribute | Rule name, multiple rule names are separated
by commas |
-| props (?) | Tag | Properties configuration, Please refer to
[Properties
Configuration](/en/user-manual/shardingsphere-jdbc/configuration/props) for
more details |
+| *Name* | *Type* | *Description*
|
+| --------------------- | --------- |
-------------------------------------------------------------------- |
+| id | Attribute | Spring Bean Id
|
+| schema-name (?) | Attribute | JDBC data source alias
|
+| data-source-names | Attribute | Data source name, multiple data source
names are separated by commas |
+| rule-refs | Attribute | Rule name, multiple rule names are
separated by commas |
+| props (?) | Tag | Properties configuration, Please refer
to [Properties
Configuration](/en/user-manual/shardingsphere-jdbc/configuration/props) for
more details |
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.cn.md
index 6c07c4e..edfaebc 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.cn.md
@@ -39,9 +39,9 @@ weight = 5
<shardingsphere:data-source />
-| *名称* | *类型* | *说明*
|
-| ------------- | ------ |
---------------------------------------------------------------------------------------
|
-| schema-name | 属性 | JDBC数据源别名,该参数可实现JDBC与PROXY共享配置
|
+| *名称* | *类型* | *说明*
|
+| ----------------- | ----- |
---------------------------------------------------------------------------------------
|
+| schema-name (?) | 属性 | JDBC 数据源别名,该参数可实现 JDBC 与 PROXY 共享配置
|
### Cluster mode
```xml
@@ -80,6 +80,6 @@ weight = 5
<shardingsphere:data-source />
-| *名称* | *类型* | *说明*
|
-| ------------- | ------ |
---------------------------------------------------------------------------------------
|
-| schema-name | 属性 | JDBC数据源别名,该参数可实现JDBC与PROXY共享配置
|
+| *名称* | *类型* | *说明*
|
+| ----------------- | ------ |
---------------------------------------------------------------------------------------
|
+| schema-name (?) | 属性 | JDBC 数据源别名,该参数可实现 JDBC 与 PROXY 共享配置
|
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.en.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.en.md
index 89149cf..7f91bb6 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.en.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/spring-namespace/mode.en.md
@@ -40,9 +40,9 @@ weight = 5
<shardingsphere:data-source />
-| *Name* | *Type* | *Description*
|
-| ------------- | ---------- |
---------------------------------------------------------------------------------------------------------
|
-| schema-name | Attribute | JDBC data source alias, this parameter can help
the configuration shared between JDBC driver and Proxy |
+| *Name* | *Type* | *Description*
|
+| ----------------- | ---------- |
---------------------------------------------------------------------------------------------------------
|
+| schema-name (?) | Attribute | JDBC data source alias, this parameter can
help the configuration shared between JDBC driver and Proxy |
### Cluster mode
@@ -82,6 +82,6 @@ weight = 5
<shardingsphere:data-source />
-| *Name* | *Type* | *Description*
|
-| ------------- | ---------- |
---------------------------------------------------------------------------------------------------------
|
-| schema-name | Attribute | JDBC data source alias, this parameter can help
the configuration shared between JDBC driver and Proxy |
+| *Name* | *Type* | *Description*
|
+| ----------------- | ---------- |
---------------------------------------------------------------------------------------------------------
|
+| schema-name (?) | Attribute | JDBC data source alias, this parameter can
help the configuration shared between JDBC driver and Proxy |
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/_index.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/_index.cn.md
index 162bc3d..87e1a0b 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/_index.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/_index.cn.md
@@ -59,9 +59,9 @@ try (
### schemaName配置
-该参数为可选项,不配置则默认采用logic_db作为schemaName。
-schemaName可理解为数据库中的schema,JDBC中的datasource的别名
-通过该参数与治理模块可实现JDBC与PROXY同时在线,共享配置。
+该参数为可选项,不配置则默认采用 logic_db 作为 schemaName。
+schemaName 可理解为数据库中的 schema,JDBC 中的 datasource 的别名
+通过该参数与治理模块可实现 JDBC 与 PROXY 同时在线,共享配置。
##### 配置示例
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.cn.md
index 954d5ba..5b6eadc 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.cn.md
@@ -8,7 +8,7 @@ weight = 5
### Memory mode
```yaml
schema:
- name: # JDBC数据源别名,该参数可实现JDBC与PROXY共享配置
+ name: # JDBC 数据源别名。可选项,不配置则默认采用 logic_db 作为 schemaName,该参数可实现 JDBC 与 PROXY
共享配置
mode:
type: # Memory
```
@@ -16,7 +16,7 @@ mode:
### Standalone mode
```yaml
schema:
- name: # JDBC数据源别名,该参数可实现JDBC与PROXY共享配置
+ name: # JDBC 数据源别名。可选项,不配置则默认采用 logic_db 作为 schemaName,该参数可实现 JDBC 与 PROXY
共享配置
mode:
type: # Standalone
repository:
@@ -30,7 +30,7 @@ mode:
```yaml
schema:
- name: # JDBC数据源别名,该参数可实现JDBC与PROXY共享配置
+ name: # JDBC 数据源别名。可选项,不配置则默认采用 logic_db 作为 schemaName,该参数可实现 JDBC 与 PROXY
共享配置
mode:
type: # Cluster
repository:
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.en.md
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.en.md
index 5302b27..4e88330 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.en.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/mode.en.md
@@ -8,7 +8,7 @@ weight = 5
### Memory mode
```yaml
schema:
- name: # JDBC data source alias, this parameter can help the configuration
shared between JDBC driver and Proxy
+ name: # JDBC data source alias. Optional, if it is not configured, logic_db
is used as the schemaName by default, this parameter can help the configuration
shared between JDBC driver and Proxy
mode:
type: # Memory
```
@@ -16,7 +16,7 @@ mode:
### Standalone mode
```yaml
schema:
- name: # JDBC data source alias, this parameter can help the configuration
shared between JDBC driver and Proxy
+ name: # JDBC data source alias. Optional, if it is not configured, logic_db
is used as the schemaName by default, this parameter can help the configuration
shared between JDBC driver and Proxy
mode:
type: # Standalone
repository:
@@ -29,7 +29,7 @@ mode:
### Cluster mode
```yaml
schema:
- name: # JDBC data source alias, this parameter can help the configuration
shared between JDBC driver and Proxy
+ name: # JDBC data source alias. Optional, if it is not configured, logic_db
is used as the schemaName by default, this parameter can help the configuration
shared between JDBC driver and Proxy
mode:
type: # Cluster
repository: