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 7fb8ed0 Change underscore to horizontal line (#13970)
7fb8ed0 is described below
commit 7fb8ed036ca6217922232704b51be807d1cd744e
Author: zhaojinchao <[email protected]>
AuthorDate: Tue Dec 7 18:46:52 2021 +0800
Change underscore to horizontal line (#13970)
* change underscore to horizontal line
* update
---
.../META-INF/sharding-readwrite-splitting-range.yaml | 10 +++++-----
.../resources/META-INF/sharding-readwrite-splitting.yaml | 12 ++++++------
.../main/resources/META-INF/zookeeper/local/encrypt.yaml | 4 ++--
.../zookeeper/local/sharding-databases-tables.yaml | 12 ++++++------
.../src/main/resources/META-INF/encrypt-databases.yaml | 4 ++--
.../src/main/resources/META-INF/sharding-databases.yaml | 4 ++--
.../src/main/resources/META-INF/shadow-encrypt.yaml | 4 ++--
.../main/resources/META-INF/sharding-auto-tables.yaml | 8 ++++----
.../resources/META-INF/sharding-databases-range.yaml | 6 +++---
.../META-INF/sharding-databases-tables-range.yaml | 14 +++++++-------
.../resources/META-INF/sharding-databases-tables.yaml | 16 ++++++++--------
.../src/main/resources/META-INF/sharding-databases.yaml | 4 ++--
.../resources/META-INF/sharding-hint-databases-only.yaml | 4 ++--
.../META-INF/sharding-hint-databases-tables.yaml | 10 +++++-----
.../main/resources/META-INF/sharding-tables-range.yaml | 8 ++++----
.../src/main/resources/META-INF/sharding-tables.yaml | 12 ++++++------
.../META-INF/sharding-databases-tables-postgresql.yaml | 8 ++++----
.../resources/META-INF/sharding-databases-tables.yaml | 8 ++++----
.../resources/META-INF/sharding-databases-tables.yaml | 8 ++++----
.../resources/META-INF/sharding-databases-tables.yaml | 8 ++++----
.../resources/META-INF/sharding-databases-tables.yaml | 8 ++++----
21 files changed, 86 insertions(+), 86 deletions(-)
diff --git
a/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting-range.yaml
b/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting-range.yaml
index 524e56a..f9c4f42 100644
---
a/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting-range.yaml
+++
b/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting-range.yaml
@@ -66,7 +66,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -75,7 +75,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: order_item_id
keyGeneratorName: snowflake
@@ -86,12 +86,12 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: standard_test_db
+ shardingAlgorithmName: standard-test-db
shardingAlgorithms:
- standard_test_db:
+ standard-test-db:
type: STANDARD_TEST_DB
- standard_test_tbl:
+ standard-test-tbl:
type: STANDARD_TEST_TBL
keyGenerators:
diff --git
a/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting.yaml
b/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting.yaml
index 8ecc954..2bd5543 100644
---
a/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting.yaml
+++
b/examples/shardingsphere-jdbc-example/mixed-feature-example/sharding-readwrite-splitting-example/sharding-readwrite-splitting-raw-jdbc-example/src/main/resources/META-INF/sharding-readwrite-splitting.yaml
@@ -66,7 +66,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_inline
+ shardingAlgorithmName: t-order-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -75,7 +75,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_item_inline
+ shardingAlgorithmName: t-order-item-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -86,18 +86,18 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- t_order_inline:
+ t-order-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
- t_order_item_inline:
+ t-order-item-inline:
type: INLINE
props:
algorithm-expression: t_order_item_${order_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml
index cde7e09..cfe3131 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/encrypt.yaml
@@ -39,9 +39,9 @@ rules:
columns:
status:
cipherColumn: status
- encryptorName: status_encryptor
+ encryptorName: status-encryptor
encryptors:
- status_encryptor:
+ status-encryptor:
type: AES
props:
aes-key-value: 123456abc
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml
index 6ab0653..dadfed5 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/cluster-mode-example/cluster-mode-raw-jdbc-example/src/main/resources/META-INF/zookeeper/local/sharding-databases-tables.yaml
@@ -48,7 +48,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_inline
+ shardingAlgorithmName: t-order-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -57,7 +57,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_item_inline
+ shardingAlgorithmName: t-order-item-inline
bindingTables:
- t_order,t_order_item
broadcastTables:
@@ -66,20 +66,20 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- t_order_inline:
+ t-order-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
- t_order_item_inline:
+ t-order-item-inline:
type: INLINE
props:
algorithm-expression: t_order_item_${order_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml
index 5cececa..422c2f6 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/encrypt-example/encrypt-raw-jdbc-example/src/main/resources/META-INF/encrypt-databases.yaml
@@ -31,13 +31,13 @@ rules:
user_name:
plainColumn: user_name_plain
cipherColumn: user_name
- encryptorName: name_encryptor
+ encryptorName: name-encryptor
pwd:
cipherColumn: pwd
assistedQueryColumn: assisted_query_pwd
encryptorName: pwd_encryptor
encryptors:
- name_encryptor:
+ name-encryptor:
type: AES
props:
aes-key-value: 123456abc
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/extension-example/custom-sharding-algortihm-example/class-based-sharding-algorithm-example/src/main/resources/META-INF/sharding-databases.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/extension-example/custom-sharding-algortihm-example/class-based-sharding-algorithm-example/src/main/resources/META-INF/sharding-databases.yaml
index 3804eb5..92c7796 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/extension-example/custom-sharding-algortihm-example/class-based-sharding-algorithm-example/src/main/resources/META-INF/sharding-databases.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/extension-example/custom-sharding-algortihm-example/class-based-sharding-algorithm-example/src/main/resources/META-INF/sharding-databases.yaml
@@ -49,12 +49,12 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_classbased
+ shardingAlgorithmName: database-classbased
defaultTableStrategy:
none:
shardingAlgorithms:
- database_classbased:
+ database-classbased:
type: CLASS_BASED
props:
strategy: standard
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-encrypt.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-encrypt.yaml
index a7bff6e..408b260 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-encrypt.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/shadow-example/shadow-raw-jdbc-example/src/main/resources/META-INF/shadow-encrypt.yaml
@@ -41,13 +41,13 @@ rules:
pwd:
cipherColumn: pwd
assistedQueryColumn: assisted_query_pwd
- encryptorName: pwd_encryptor
+ encryptorName: pwd-encryptor
encryptors:
name_encryptor:
type: AES
props:
aes-key-value: 123456abc
- pwd_encryptor:
+ pwd-encryptor:
type: assistedTest
- !SHADOW
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-auto-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-auto-tables.yaml
index e884362..09db970 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-auto-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-auto-tables.yaml
@@ -37,7 +37,7 @@ rules:
shardingStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: auto_mod
+ shardingAlgorithmName: auto-mod
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -46,7 +46,7 @@ rules:
shardingStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: auto_mod
+ shardingAlgorithmName: auto-mod
keyGenerateStrategy:
column: order_item_id
keyGeneratorName: snowflake
@@ -54,13 +54,13 @@ rules:
actualDataSources: ds_0,ds_1
shardingStrategy:
standard:
- shardingAlgorithmName: auto_mod
+ shardingAlgorithmName: auto-mod
keyGenerateStrategy:
column: account_id
keyGeneratorName: snowflake
defaultShardingColumn: account_id
shardingAlgorithms:
- auto_mod:
+ auto-mod:
type: MOD
props:
sharding-count: 4
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml
index 1df9b09..80c14d5 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-range.yaml
@@ -58,13 +58,13 @@ rules:
- t_address
defaultDatabaseStrategy:
standard:
- shardingAlgorithmName: standard_test_db
+ shardingAlgorithmName: standard-test-db
defaultTableStrategy:
none:
defaultShardingColumn: user_id
-
+
shardingAlgorithms:
- standard_test_db:
+ standard-test-db:
type: STANDARD_TEST_DB
keyGenerators:
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml
index da71775..d4fc4f5 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-range.yaml
@@ -37,7 +37,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -46,7 +46,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: order_item_id
keyGeneratorName: snowflake
@@ -54,7 +54,7 @@ rules:
actualDataNodes: ds_${0..1}.t_account_${0..1}
tableStrategy:
standard:
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: account_id
keyGeneratorName: snowflake
@@ -66,14 +66,14 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: standard_test_db
+ shardingAlgorithmName: standard-test-db
defaultTableStrategy:
none:
-
+
shardingAlgorithms:
- standard_test_db:
+ standard-test-db:
type: STANDARD_TEST_DB
- standard_test_tbl:
+ standard-test-tbl:
type: STANDARD_TEST_TBL
keyGenerators:
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
index 55178ad..d9d4c25 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
@@ -37,7 +37,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_inline
+ shardingAlgorithmName: t-order-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -46,7 +46,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_item_inline
+ shardingAlgorithmName: t_order-item-inline
keyGenerateStrategy:
column: order_item_id
keyGeneratorName: snowflake
@@ -54,7 +54,7 @@ rules:
actualDataNodes: ds_${0..1}.t_account_${0..1}
tableStrategy:
standard:
- shardingAlgorithmName: t_account_inline
+ shardingAlgorithmName: t-account-inline
keyGenerateStrategy:
column: account_id
keyGeneratorName: snowflake
@@ -66,24 +66,24 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- t_order_inline:
+ t-order-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
- t_order_item_inline:
+ t_order-item-inline:
type: INLINE
props:
algorithm-expression: t_order_item_${order_id % 2}
- t_account_inline:
+ t-account-inline:
type: INLINE
props:
algorithm-expression: t_account_${account_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml
index fb0f202..8684ca0 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-databases.yaml
@@ -60,12 +60,12 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-only.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-only.yaml
index 082ff15..2505c47 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-only.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-only.yaml
@@ -43,12 +43,12 @@ rules:
defaultDatabaseStrategy:
hint:
- shardingAlgorithmName: hint_test
+ shardingAlgorithmName: hint-test
defaultTableStrategy:
none:
shardingAlgorithms:
- hint_test:
+ hint-test:
type: HINT_TEST
props:
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-tables.yaml
index d527514..eaeb6a6 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-hint-databases-tables.yaml
@@ -36,10 +36,10 @@ rules:
actualDataNodes: ds_${0..1}.t_order_${0..1}
databaseStrategy:
hint:
- shardingAlgorithmName: hint_test
+ shardingAlgorithmName: hint-test
tableStrategy:
hint:
- shardingAlgorithmName: hint_test
+ shardingAlgorithmName: hint-test
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -53,14 +53,14 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- hint_test:
+ hint-test:
type: HINT_TEST
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml
index 7240996..9b4c03b 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables-range.yaml
@@ -31,7 +31,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -40,7 +40,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: order_item_id
keyGeneratorName: snowflake
@@ -48,7 +48,7 @@ rules:
actualDataNodes: ds.t_account_${0..1}
tableStrategy:
standard:
- shardingAlgorithmName: standard_test_tbl
+ shardingAlgorithmName: standard-test-tbl
keyGenerateStrategy:
column: account_id
keyGeneratorName: snowflake
@@ -59,7 +59,7 @@ rules:
- t_address
shardingAlgorithms:
- standard_test_tbl:
+ standard-test-tbl:
type: STANDARD_TEST_TBL
keyGenerators:
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml
index 543586f..db81ffa 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-raw-jdbc-example/src/main/resources/META-INF/sharding-tables.yaml
@@ -31,7 +31,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_inline
+ shardingAlgorithmName: t-order-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -40,7 +40,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: t_order_item_inline
+ shardingAlgorithmName: t-order-item-inline
keyGenerateStrategy:
column: order_item_id
keyGeneratorName: snowflake
@@ -48,7 +48,7 @@ rules:
actualDataNodes: ds.t_account_${0..1}
tableStrategy:
standard:
- shardingAlgorithmName: t_account_inline
+ shardingAlgorithmName: t-account-inline
keyGenerateStrategy:
column: account_id
keyGeneratorName: snowflake
@@ -59,15 +59,15 @@ rules:
- t_address
shardingAlgorithms:
- t_order_inline:
+ t-order-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
- t_order_item_inline:
+ t-order-item-inline:
type: INLINE
props:
algorithm-expression: t_order_item_${order_id % 2}
- t_account_inline:
+ t-account-inline:
type: INLINE
props:
algorithm-expression: t_account_${account_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml
index dc8237f..d95d7eb 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables-postgresql.yaml
@@ -35,7 +35,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: table_inline
+ shardingAlgorithmName: table-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -43,16 +43,16 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- table_inline:
+ table-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
index fdf2a7c..2d2e0dc 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-atomikos-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
@@ -39,23 +39,23 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: table_inline
+ shardingAlgorithmName: table-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- table_inline:
+ table-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
index 64ebc74..c386f2a 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-bitronix-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
@@ -39,7 +39,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: table_inline
+ shardingAlgorithmName: table-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -47,16 +47,16 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- table_inline:
+ table-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
index 2c12f81..954abb9 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-2pc-xa-narayana-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
@@ -39,7 +39,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: table_inline
+ shardingAlgorithmName: table-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -47,16 +47,16 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- table_inline:
+ table-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}
diff --git
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
index 391428f..ff11ab1 100644
---
a/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
+++
b/examples/shardingsphere-jdbc-example/single-feature-example/transaction-example/transaction-base-seata-raw-jdbc-example/src/main/resources/META-INF/sharding-databases-tables.yaml
@@ -37,7 +37,7 @@ rules:
tableStrategy:
standard:
shardingColumn: order_id
- shardingAlgorithmName: table_inline
+ shardingAlgorithmName: table-inline
keyGenerateStrategy:
column: order_id
keyGeneratorName: snowflake
@@ -45,16 +45,16 @@ rules:
defaultDatabaseStrategy:
standard:
shardingColumn: user_id
- shardingAlgorithmName: database_inline
+ shardingAlgorithmName: database-inline
defaultTableStrategy:
none:
shardingAlgorithms:
- database_inline:
+ database-inline:
type: INLINE
props:
algorithm-expression: ds_${user_id % 2}
- table_inline:
+ table-inline:
type: INLINE
props:
algorithm-expression: t_order_${order_id % 2}