This is an automated email from the ASF dual-hosted git repository.
panjuan 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 69956fb Part of governance-spring-boot-example run failure fixed
(#11854)
69956fb is described below
commit 69956fbd5ae85c5c5581fd4e19a031b0b4d56757
Author: zhaojinchao <[email protected]>
AuthorDate: Tue Aug 17 11:40:17 2021 +0800
Part of governance-spring-boot-example run failure fixed (#11854)
* part of governance-spring-boot-example run failure fixed
* add new line
---
.../resources/application-local-zookeeper-encrypt.properties | 11 +++++------
...application-local-zookeeper-readwrite-splitting.properties | 10 +++++-----
.../resources/application-local-zookeeper-shadow.properties | 10 +++++-----
...ation-local-zookeeper-sharding-databases-tables.properties | 10 +++++-----
4 files changed, 20 insertions(+), 21 deletions(-)
diff --git
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties
index 4c383c5..b28237d 100644
---
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties
+++
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-encrypt.properties
@@ -31,9 +31,8 @@
spring.shardingsphere.rules.encrypt.tables.t_order.columns.status.encryptor-name
spring.shardingsphere.props.query.with.cipher.comlum=true
spring.shardingsphere.props.sql-show=true
-spring.shardingsphere.governance.name=demo_spring_boot_ds_encrypt
-spring.shardingsphere.governance.overwrite=true
-
-spring.shardingsphere.governance.registry-center.type=ZooKeeper
-spring.shardingsphere.governance.registry-center.server-lists=localhost:2181
-
+spring.shardingsphere.mode.type=Cluster
+spring.shardingsphere.mode.repository.type=ZooKeeper
+spring.shardingsphere.mode.repository.props.namespace=demo_spring_boot_ds_encrypt
+spring.shardingsphere.mode.repository.props.serverLists=localhost:2181
+spring.shardingsphere.mode.overwrite=true
diff --git
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-readwrite-splitting.properties
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-readwrite-splitting.properties
index 470ff03..969e4b3 100644
---
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-readwrite-splitting.properties
+++
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-readwrite-splitting.properties
@@ -40,8 +40,8 @@
spring.shardingsphere.rules.readwrite-splitting.data-sources.pr_ds.write-data-so
spring.shardingsphere.rules.readwrite-splitting.data-sources.pr_ds.read-data-source-names=read-ds-0,read-ds-1
spring.shardingsphere.rules.readwrite-splitting.data-sources.pr_ds.load-balancer-name=round_robin
-spring.shardingsphere.governance.name=demo_spring_boot_pr_ds
-spring.shardingsphere.governance.overwrite=true
-
-spring.shardingsphere.governance.registry-center.type=ZooKeeper
-spring.shardingsphere.governance.registry-center.server-lists=localhost:2181
+spring.shardingsphere.mode.type=Cluster
+spring.shardingsphere.mode.repository.type=ZooKeeper
+spring.shardingsphere.mode.repository.props.namespace=demo_spring_boot_pr_ds
+spring.shardingsphere.mode.repository.props.serverLists=localhost:2181
+spring.shardingsphere.mode.overwrite=true
diff --git
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-shadow.properties
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-shadow.properties
index 5a081ce..c0cb213 100644
---
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-shadow.properties
+++
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-shadow.properties
@@ -35,8 +35,8 @@
spring.shardingsphere.rules.shadow.shadow-data-source-names=shadow-ds
spring.shardingsphere.props.sql-show=true
-spring.shardingsphere.governance.name=demo_spring_boot_ds_shadow
-spring.shardingsphere.governance.overwrite=true
-
-spring.shardingsphere.governance.registry-center.type=ZooKeeper
-spring.shardingsphere.governance.registry-center.server-lists=localhost:2181
+spring.shardingsphere.mode.type=Cluster
+spring.shardingsphere.mode.repository.type=ZooKeeper
+spring.shardingsphere.mode.repository.props.namespace=demo_spring_boot_ds_shadow
+spring.shardingsphere.mode.repository.props.serverLists=localhost:2181
+spring.shardingsphere.mode.overwrite=true
diff --git
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties
index 87381eb..150f9e2 100644
---
a/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties
+++
b/examples/shardingsphere-jdbc-example/governance-example/governance-spring-boot-example/src/main/resources/application-local-zookeeper-sharding-databases-tables.properties
@@ -68,8 +68,8 @@
spring.shardingsphere.rules.encrypt.encryptors.status-encryptor.props.aes-key-va
spring.shardingsphere.rules.encrypt.tables.t_order.columns.status.cipher-column=status
spring.shardingsphere.rules.encrypt.tables.t_order.columns.status.encryptor-name=status-encryptor
-spring.shardingsphere.governance.name=demo_spring_boot_ds_sharding
-spring.shardingsphere.governance.overwrite=true
-
-spring.shardingsphere.governance.registry-center.type=ZooKeeper
-spring.shardingsphere.governance.registry-center.server-lists=localhost:2181
+spring.shardingsphere.mode.type=Cluster
+spring.shardingsphere.mode.repository.type=ZooKeeper
+spring.shardingsphere.mode.repository.props.namespace=demo_spring_boot_ds_sharding
+spring.shardingsphere.mode.repository.props.serverLists=localhost:2181
+spring.shardingsphere.mode.overwrite=true