add ConfigChangeClusterSyncRequestHandlerTest

This commit is contained in:
hujun3 2022-02-22 20:22:49 +08:00
parent f8e2e87b58
commit 1805793261
3 changed files with 9 additions and 13 deletions

View File

@ -44,10 +44,6 @@
<groupId>${project.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>nacos-cmdb</artifactId> <artifactId>nacos-cmdb</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -13,5 +13,5 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
server.port=8081 server.port=8080
server.servlet.context-path=/ server.servlet.context-path=/

View File

@ -29,15 +29,15 @@ server.servlet.contextPath=/nacos
#*************** Config Module Related Configurations ***************# #*************** Config Module Related Configurations ***************#
### If use MySQL as datasource: ### If use MySQL as datasource:
spring.datasource.platform=mysql # spring.datasource.platform=mysql
### Count of DB: ### Count of DB:
db.num=1 # db.num=1
## Connect URL of DB: ### 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.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.user.0=nacos
db.password.0=123456 # db.password.0=nacos
#*************** Naming Module Related Configurations ***************# #*************** Naming Module Related Configurations ***************#
### Data dispatch task execution period in milliseconds: ### Data dispatch task execution period in milliseconds:
@ -162,7 +162,7 @@ nacos.istio.mcp.server.enabled=false
### MemberLookup ### MemberLookup
### Addressing pattern category, If set, the priority is highest ### 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 ## 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 # 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 ## for AddressServerMemberLookup
@ -171,7 +171,7 @@ nacos.core.member.lookup.type=address-server
## Server domain name address of [address-server] mode ## Server domain name address of [address-server] mode
# address.server.domain=jmenv.tbsite.net # address.server.domain=jmenv.tbsite.net
## Server port of [address-server] mode ## Server port of [address-server] mode
address.server.port=8081 # address.server.port=8080
## Request address of [address-server] mode ## Request address of [address-server] mode
# address.server.url=/nacos/serverlist # address.server.url=/nacos/serverlist