You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2021/05/10 11:10:03 UTC

[shardingsphere] branch master updated: Change authority configuration (#10297)

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 064a8cb  Change authority configuration (#10297)
064a8cb is described below

commit 064a8cb15a2204641210213ded80bdc0af268382
Author: Juan Pan(Trista) <pa...@apache.org>
AuthorDate: Mon May 10 19:09:20 2021 +0800

    Change authority configuration (#10297)
---
 .../src/main/resources/conf/server.yaml            | 14 ++++++++-----
 .../src/main/resources/conf/server.yaml            | 23 +++++++++++-----------
 2 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/resources/conf/server.yaml b/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/resources/conf/server.yaml
index 9ddd6b6..cda98cd 100644
--- a/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/resources/conf/server.yaml
+++ b/shardingsphere-distribution/shardingsphere-proxy-distribution/src/main/resources/conf/server.yaml
@@ -20,7 +20,7 @@
 # If you want to configure governance, authorization and proxy properties, please refer to this file.
 # 
 ######################################################################################################
-#
+
 #governance:
 #  name: governance_ds
 #  registryCenter:
@@ -33,14 +33,18 @@
 #      operationTimeoutMilliseconds: 500
 #  overwrite: false
 
-#users:
-#  - root@%:root
-#  - sharding@:sharding
-
 #scaling:
 #  blockQueueSize: 10000
 #  workerThread: 40
 
+#rules:
+#  - !AUTHORITY
+#    users:
+#      - root@%:root
+#      - sharding@:sharding
+#    provider:
+#      type: NATIVE
+
 #props:
 #  max-connections-size-per-query: 1
 #  executor-size: 16  # Infinite by default.
diff --git a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/server.yaml b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/server.yaml
index af6ebc5..cda98cd 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/server.yaml
+++ b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/resources/conf/server.yaml
@@ -20,7 +20,7 @@
 # If you want to configure governance, authorization and proxy properties, please refer to this file.
 # 
 ######################################################################################################
-#
+
 #governance:
 #  name: governance_ds
 #  registryCenter:
@@ -32,15 +32,19 @@
 #      maxRetries: 3
 #      operationTimeoutMilliseconds: 500
 #  overwrite: false
-#
-#users:
-#  - root@%:root
-#  - sharding@:sharding
-#
+
 #scaling:
 #  blockQueueSize: 10000
 #  workerThread: 40
-#
+
+#rules:
+#  - !AUTHORITY
+#    users:
+#      - root@%:root
+#      - sharding@:sharding
+#    provider:
+#      type: NATIVE
+
 #props:
 #  max-connections-size-per-query: 1
 #  executor-size: 16  # Infinite by default.
@@ -56,8 +60,3 @@
 #  sql-show: false
 #  check-table-metadata-enabled: false
 #  lock-wait-timeout-milliseconds: 50000 # The maximum time to wait for a lock
-#
-#rules:
-#  - !AUTHORITY
-#    provider:
-#      type: NATIVE