You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by wu...@apache.org on 2022/10/25 07:15:27 UTC

[shardingsphere-elasticjob-ui] branch master updated: Update application.properties in distributions (#169)

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

wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new a7c2253  Update application.properties in distributions (#169)
a7c2253 is described below

commit a7c2253cf475474bfc8f19105250060888cd9b88
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Tue Oct 25 15:15:21 2022 +0800

    Update application.properties in distributions (#169)
---
 .../src/main/resources/application.properties                    | 6 ++----
 .../src/main/resources/application.properties                    | 9 +++++----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-cloud-ui-bin-distribution/src/main/resources/application.properties b/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-cloud-ui-bin-distribution/src/main/resources/application.properties
index a372eca..df13cdf 100644
--- a/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-cloud-ui-bin-distribution/src/main/resources/application.properties
+++ b/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-cloud-ui-bin-distribution/src/main/resources/application.properties
@@ -17,10 +17,8 @@
 
 server.port=8088
 
-auth.root_username=root
-auth.root_password=root
-auth.guest_username=guest
-auth.guest_password=guest
+auth.username=root
+auth.password=root
 auth.token_expires_after_seconds=3600
 
 # ElasticJob-Cloud's zookeeper address
diff --git a/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-lite-ui-bin-distribution/src/main/resources/application.properties b/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-lite-ui-bin-distribution/src/main/resources/application.properties
index 6d4651a..e2177b2 100644
--- a/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-lite-ui-bin-distribution/src/main/resources/application.properties
+++ b/shardingsphere-elasticjob-ui-distribution/shardingsphere-elasticjob-lite-ui-bin-distribution/src/main/resources/application.properties
@@ -17,10 +17,8 @@
 
 server.port=8088
 
-auth.root_username=root
-auth.root_password=root
-auth.guest_username=guest
-auth.guest_password=guest
+auth.username=root
+auth.password=root
 auth.token_expires_after_seconds=3600
 
 spring.datasource.default.driver-class-name=org.h2.Driver
@@ -28,3 +26,6 @@ spring.datasource.default.url=jdbc:h2:mem:
 spring.datasource.default.username=sa
 spring.datasource.default.password=
 spring.jpa.show-sql=false
+
+## Uncomment the following property to allow adding DataSource dynamically.
+# dynamic.datasource.allowed-driver-classes={'org.h2.Driver','org.postgresql.Driver'}