This is an automated email from the ASF dual-hosted git repository.

zhangliang 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 c604ed0  Fix: fix the package in document (#6929)
c604ed0 is described below

commit c604ed0cd54546ad6391f5aa7af82ae7d2b6b5db
Author: 孙念君 Sun Nianjun <[email protected]>
AuthorDate: Wed Aug 19 17:16:53 2020 +0800

    Fix: fix the package in document (#6929)
---
 docs/document/content/user-manual/shardingsphere-scaling/usage.cn.md | 2 +-
 docs/document/content/user-manual/shardingsphere-scaling/usage.en.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/docs/document/content/user-manual/shardingsphere-scaling/usage.cn.md 
b/docs/document/content/user-manual/shardingsphere-scaling/usage.cn.md
index 1407028..aae4c31 100644
--- a/docs/document/content/user-manual/shardingsphere-scaling/usage.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-scaling/usage.cn.md
@@ -72,7 +72,7 @@ curl -X POST \
   -H 'content-type: application/json' \
   -d '{
    "ruleConfiguration": {
-      "sourceDatasource": "ds_0: !!YamlDataSourceConfiguration\n  
dataSourceClassName: com.zaxxer.hikari.HikariDataSource\n  props:\n    jdbcUrl: 
jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false\n    username: 
root\n    password: '\''123456'\''\n    connectionTimeout: 30000\n    
idleTimeout: 60000\n    maxLifetime: 1800000\n    maxPoolSize: 50\n    
minPoolSize: 1\n    maintenanceIntervalMilliseconds: 30000\n    readOnly: 
false\n",
+      "sourceDatasource": "ds_0: 
!!org.apache.shardingsphere.orchestration.core.common.yaml.config.YamlDataSourceConfiguration\n
  dataSourceClassName: com.zaxxer.hikari.HikariDataSource\n  props:\n    
jdbcUrl: jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false\n    
username: root\n    password: '\''123456'\''\n    connectionTimeout: 30000\n    
idleTimeout: 60000\n    maxLifetime: 1800000\n    maxPoolSize: 50\n    
minPoolSize: 1\n    maintenanceIntervalMilliseconds: 30000\n  [...]
       "sourceRule": "defaultDatabaseStrategy:\n  inline:\n    
algorithmExpression: ds_${user_id % 2}\n    shardingColumn: user_id\ntables:\n  
t1:\n    actualDataNodes: ds_0.t1\n    keyGenerateStrategy:\n      column: 
order_id\n      type: SNOWFLAKE\n    logicTable: t1\n    tableStrategy:\n      
inline:\n        algorithmExpression: t1\n        shardingColumn: order_id\n  
t2:\n    actualDataNodes: ds_0.t2\n    keyGenerateStrategy:\n      column: 
order_item_id\n      type: SNOWFLAKE\n    l [...]
       "destinationDataSources": {
          "name": "dt_0",
diff --git 
a/docs/document/content/user-manual/shardingsphere-scaling/usage.en.md 
b/docs/document/content/user-manual/shardingsphere-scaling/usage.en.md
index 9e420af..0d17612 100644
--- a/docs/document/content/user-manual/shardingsphere-scaling/usage.en.md
+++ b/docs/document/content/user-manual/shardingsphere-scaling/usage.en.md
@@ -72,7 +72,7 @@ curl -X POST \
   -H 'content-type: application/json' \
   -d '{
    "ruleConfiguration": {
-      "sourceDatasource": "ds_0: 
!!org.apache.shardingsphere.orchestration.yaml.config.YamlDataSourceConfiguration\n
  dataSourceClassName: com.zaxxer.hikari.HikariDataSource\n  props:\n    
jdbcUrl: jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false\n    
username: root\n    password: '\''123456'\''\n    connectionTimeout: 30000\n    
idleTimeout: 60000\n    maxLifetime: 1800000\n    maxPoolSize: 50\n    
minPoolSize: 1\n    maintenanceIntervalMilliseconds: 30000\n    readOnly: [...]
+      "sourceDatasource": "ds_0: 
!!org.apache.shardingsphere.orchestration.core.common.yaml.config.YamlDataSourceConfiguration\n
  dataSourceClassName: com.zaxxer.hikari.HikariDataSource\n  props:\n    
jdbcUrl: jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useSSL=false\n    
username: root\n    password: '\''123456'\''\n    connectionTimeout: 30000\n    
idleTimeout: 60000\n    maxLifetime: 1800000\n    maxPoolSize: 50\n    
minPoolSize: 1\n    maintenanceIntervalMilliseconds: 30000\n  [...]
       "sourceRule": "defaultDatabaseStrategy:\n  inline:\n    
algorithmExpression: ds_${user_id % 2}\n    shardingColumn: user_id\ntables:\n  
t1:\n    actualDataNodes: ds_0.t1\n    keyGenerateStrategy:\n      column: 
order_id\n      type: SNOWFLAKE\n    logicTable: t1\n    tableStrategy:\n      
inline:\n        algorithmExpression: t1\n        shardingColumn: order_id\n  
t2:\n    actualDataNodes: ds_0.t2\n    keyGenerateStrategy:\n      column: 
order_item_id\n      type: SNOWFLAKE\n    l [...]
       "destinationDataSources": {
          "name": "dt_0",

Reply via email to