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

jiangmaolin 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 2bd4668ac7a Config single rule in example template (#37810)
2bd4668ac7a is described below

commit 2bd4668ac7a006ab89d2beaaeb88628bd8469589
Author: Raigor <[email protected]>
AuthorDate: Thu Jan 22 18:53:05 2026 +0800

    Config single rule in example template (#37810)
---
 .../src/main/resources/template/resources/yaml/feature/encrypt.ftl    | 4 ++++
 .../src/main/resources/template/resources/yaml/feature/mask.ftl       | 4 ++++
 .../resources/template/resources/yaml/feature/readwrite-splitting.ftl | 4 ++++
 .../src/main/resources/template/resources/yaml/feature/shadow.ftl     | 4 ++++
 .../src/main/resources/template/resources/yaml/feature/sharding.ftl   | 2 +-
 5 files changed, 17 insertions(+), 1 deletion(-)

diff --git 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/encrypt.ftl
 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/encrypt.ftl
index fc32cc6c2c0..c0331948d5f 100644
--- 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/encrypt.ftl
+++ 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/encrypt.ftl
@@ -40,3 +40,7 @@
         digest-algorithm-name: SHA-1
     assisted_encryptor:
       type: assistedTest
+
+- !SINGLE
+  tables:
+    - "*.*"
diff --git 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/mask.ftl
 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/mask.ftl
index f6b4bfde68f..19e7107b30f 100644
--- 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/mask.ftl
+++ 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/mask.ftl
@@ -28,3 +28,7 @@
         first-n: 3
         last-m: 4
         replace-char: '*'
+
+- !SINGLE
+  tables:
+    - "*.*"
diff --git 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/readwrite-splitting.ftl
 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/readwrite-splitting.ftl
index ee5bacf86be..f9f2c74ccdb 100644
--- 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/readwrite-splitting.ftl
+++ 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/readwrite-splitting.ftl
@@ -25,3 +25,7 @@
   loadBalancers:
     round_robin:
       type: ROUND_ROBIN
+
+- !SINGLE
+  tables:
+    - "*.*"
diff --git 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/shadow.ftl
 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/shadow.ftl
index 08a32383946..05b3c60df61 100644
--- 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/shadow.ftl
+++ 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/shadow.ftl
@@ -39,3 +39,7 @@
       props:
         shadow: true
         foo: bar
+
+- !SINGLE
+  tables:
+    - "*.*"
diff --git 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/sharding.ftl
 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/sharding.ftl
index a308d9d1d37..0ab8e38e2d1 100644
--- 
a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/sharding.ftl
+++ 
b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/resources/yaml/feature/sharding.ftl
@@ -61,4 +61,4 @@
     
 - !BROADCAST
     tables:
-      - t_address
\ No newline at end of file
+      - t_address

Reply via email to