From 1805793261cc14510fb75d7dc8521d01e7e51965 Mon Sep 17 00:00:00 2001 From: hujun3 <510830970@qq.com> Date: Tue, 22 Feb 2022 20:22:49 +0800 Subject: [PATCH] add ConfigChangeClusterSyncRequestHandlerTest --- address/pom.xml | 4 ---- .../src/main/resources/application.properties | 2 +- .../src/main/resources/application.properties | 16 ++++++++-------- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/address/pom.xml b/address/pom.xml index 1bb23ded4..004dca0a3 100644 --- a/address/pom.xml +++ b/address/pom.xml @@ -44,10 +44,6 @@ ${project.groupId} nacos-cmdb - - org.springframework.boot - spring-boot-starter-security - diff --git a/address/src/main/resources/application.properties b/address/src/main/resources/application.properties index 770d169a1..b0b2c55fc 100644 --- a/address/src/main/resources/application.properties +++ b/address/src/main/resources/application.properties @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. # -server.port=8081 +server.port=8080 server.servlet.context-path=/ diff --git a/console/src/main/resources/application.properties b/console/src/main/resources/application.properties index 929dac4eb..ed3054bef 100644 --- a/console/src/main/resources/application.properties +++ b/console/src/main/resources/application.properties @@ -29,15 +29,15 @@ server.servlet.contextPath=/nacos #*************** Config Module Related Configurations ***************# ### If use MySQL as datasource: -spring.datasource.platform=mysql +# spring.datasource.platform=mysql ### Count of DB: -db.num=1 +# db.num=1 -## Connect URL of DB: -db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC -db.user.0=root -db.password.0=123456 +### Connect URL of DB: +# db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC +# db.user.0=nacos +# db.password.0=nacos #*************** Naming Module Related Configurations ***************# ### Data dispatch task execution period in milliseconds: @@ -162,7 +162,7 @@ nacos.istio.mcp.server.enabled=false ### MemberLookup ### Addressing pattern category, If set, the priority is highest -nacos.core.member.lookup.type=address-server +# nacos.core.member.lookup.type=[file,address-server] ## Set the cluster list with a configuration file or command-line argument # nacos.member.list=192.168.16.101:8847?raft_port=8807,192.168.16.101?raft_port=8808,192.168.16.101:8849?raft_port=8809 ## for AddressServerMemberLookup @@ -171,7 +171,7 @@ nacos.core.member.lookup.type=address-server ## Server domain name address of [address-server] mode # address.server.domain=jmenv.tbsite.net ## Server port of [address-server] mode -address.server.port=8081 +# address.server.port=8080 ## Request address of [address-server] mode # address.server.url=/nacos/serverlist