This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang 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 699be7874e8 Update Document (#28221)
699be7874e8 is described below
commit 699be7874e8599dec0321c7048ad1015582aa175
Author: LaingKe <[email protected]>
AuthorDate: Sat Aug 26 16:02:55 2023 +0800
Update Document (#28221)
* Document: Add description to get YAML config file
Add description for currently all the way to get YAML config file in
Configure Spring Boot Properties
Signed-off-by: laingke <[email protected]>
* Document: Fix typo
Signed-off-by: laingke <[email protected]>
* Document: Remove \u200D char
Signed-off-by: laingke <[email protected]>
* Document: Remove \u200D char
Signed-off-by: laingke <[email protected]>
---------
Signed-off-by: laingke <[email protected]>
---
README.md | 2 +-
README_ZH.md | 2 +-
distribution/agent/src/main/release-docs/README.txt | 2 +-
.../yaml-config/jdbc-driver/spring-boot/_index.cn.md | 2 ++
.../yaml-config/jdbc-driver/spring-boot/_index.en.md | 2 ++
5 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index cfdf4add359..aae761982eb 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ So far, ShardingSphere has been used by over [10,000 projects
on GitHub](https:/
For full documentation & more details, visit:
[Docs](https://shardingsphere.apache.org/document/current/en/overview/)
-### CONTRIBUTION🚀🧑💻
+### CONTRIBUTION🚀🧑💻
<hr>
diff --git a/README_ZH.md b/README_ZH.md
index d4408006f6b..6e3b1247509 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -48,7 +48,7 @@ ShardingSphere 已于 2020 年 4 月 16 日成为 [Apache 软件基金会](https
更多信息请参考:[https://shardingsphere.apache.org/document/current/cn/overview/](https://shardingsphere.apache.org/document/current/cn/overview/)
-### 参与贡献🚀🧑💻
+### 参与贡献🚀🧑💻
<hr>
diff --git a/distribution/agent/src/main/release-docs/README.txt
b/distribution/agent/src/main/release-docs/README.txt
index ac17466e43a..99c47867db3 100644
--- a/distribution/agent/src/main/release-docs/README.txt
+++ b/distribution/agent/src/main/release-docs/README.txt
@@ -1,7 +1,7 @@
Welcome to Apache ShardingSphere Agent
===============================================================================
-Apache ShardingSphere Agent is used to collect relevant monitoring data
generated when Apache ShardingSphere is running, including Loggin, Metrics, and
Tracing.
+Apache ShardingSphere Agent is used to collect relevant monitoring data
generated when Apache ShardingSphere is running, including Logging, Metrics,
and Tracing.
- `Logging` The log can be easily expanded through the agent to provide more
information for analyzing the system running status.
- `Metrics` System statistical indicators are collected through probes for
display by third-party applications.
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.cn.md
b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.cn.md
index 443b945b954..d820bf7349f 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.cn.md
@@ -29,6 +29,8 @@
spring.datasource.driver-class-name=org.apache.shardingsphere.driver.ShardingSph
spring.datasource.url=jdbc:shardingsphere:classpath:xxx.yaml
```
+`spring.datasource.url` 中的 YAML 配置文件当前支持通过三种方式获取,绝对路径 `absolutepath:`、Apollo
配置中心 `apollo:` 以及 CLASSPATH `classpath:`,具体可参考
`org.apache.shardingsphere.driver.jdbc.core.driver.ShardingSphereURLProvider`
的实现。
+
### 使用数据源
直接使用该数据源;或者将 ShardingSphereDataSource 配置在 JPA、Hibernate、MyBatis 等 ORM 框架中配合使用。
diff --git
a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.en.md
b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.en.md
index 2520d84a48f..f605dcc5032 100644
---
a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.en.md
+++
b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/jdbc-driver/spring-boot/_index.en.md
@@ -29,6 +29,8 @@
spring.datasource.driver-class-name=org.apache.shardingsphere.driver.ShardingSph
spring.datasource.url=jdbc:shardingsphere:classpath:xxx.yaml
```
+The YAML configuration file in 'spring.datasource.url' currently support in
three ways, the absolute path 'absolutepath:', Apollo configuration center
'apollo:', and CLASSPATH 'classpath:', which can be referred to
`org.apache.shardingsphere.driver.jdbc.core.driver.ShardingSphereURLProvider`'s
implementation for details.
+
### Use Data Source
Use this data source directly; or configure ShardingSphereDataSource to be
used in conjunction with ORM frameworks such as JPA, Hibernate, and MyBatis.