Commit Graph

677 Commits

Author SHA1 Message Date
xiaoheng1
ee621be74a
fix #5826 Optimize SecurityProxy code (#5828) 2021-05-25 09:36:07 +08:00
杨翊 SionYang
3d8b2c0b17
For #5831, Remove the sets in connection event lister (#5832) 2021-05-24 20:38:34 +08:00
liaozan
f5f03ac552
fix ConfigRequest.getType (#5760)
* Update ConfigRequest.java

* Update ConfigRequestTest.java
2021-05-18 09:32:57 +08:00
plusmancn
0cf05943c6
feat: support of specifying NAMING_CACHE_REGISTRY_DIR property (Nacos V2) (#5758) 2021-05-17 20:21:05 +08:00
KomachiSion
cf5a171ac5 Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
# Conflicts:
#	NOTICE
#	api/pom.xml
#	common/src/main/java/com/alibaba/nacos/common/notify/DefaultPublisher.java
#	config/src/main/java/com/alibaba/nacos/config/server/service/LongPollingService.java
#	naming/src/test/java/com/alibaba/nacos/naming/consistency/persistent/impl/NamingSnapshotOperationTest.java
#	naming/src/test/java/com/alibaba/nacos/naming/core/DomainsManagerTest.java
#	naming/src/test/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTaskTest.java
#	pom.xml
#	test/src/test/java/com/alibaba/nacos/test/core/JacksonUtils.java
2021-05-14 11:04:52 +08:00
shalk(xiao kun)
c8ad434ba9
[ISSUE #5155] Add unit tests for package com.alibaba.nacos.client.naming.remote in nacos 2.0 (#5679)
* wip: add NacosNamingMaintainServiceTest

* wip

* add  NacosNamingServiceTest
2021-05-12 14:44:59 +08:00
xiaoheng1
42ab4b0d71
Optimize ConfigRequest and ConfigResponse code, extract common constants (#5548)
* fix 5547 Optimize ConfigRequest and ConfigResponse code, extract common constants

* modify Contants to ConfigConstants

* add summary javadoc
2021-05-10 10:49:56 +08:00
孙继峰
818d37b71c
delete duplicated dependency (#5622) 2021-05-10 10:43:58 +08:00
xiaoheng1
9fb0ec3b79
fix #5536 add configFilterChain test case (#5539) 2021-04-30 17:39:58 +08:00
xiaoheng1
56d3f3cc74
fix #5527 Optimize ParamUtil code and extract constants (#5528) 2021-04-29 19:10:42 +08:00
shalk(xiao kun)
ef15888658
[ISSUE #5153] Add unit tests for package com.alibaba.nacos.client.naming.remote in nacos 2.0 (#5518) 2021-04-29 18:58:34 +08:00
KomachiSion
ba676e01b8 Shade guava class after guava upgrade 2021-04-27 20:52:45 +08:00
KomachiSion
6609b14d53 Fix CI 2021-04-27 18:56:48 +08:00
KomachiSion
2847373fd0 Solve conflict 2021-04-27 16:19:56 +08:00
KomachiSion
92da848375 Merge remote-tracking branch 'upstream/develop' into merge-1.X-to-2.0
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	client/src/main/java/com/alibaba/nacos/client/naming/core/PushReceiver.java
#	console/src/main/resources/static/css/main.css
#	console/src/main/resources/static/js/main.js
#	naming/src/main/java/com/alibaba/nacos/naming/core/SubscribeManager.java
#	naming/src/test/java/com/alibaba/nacos/naming/core/SubscribeManagerTest.java
#	test/src/test/java/com/alibaba/nacos/test/BaseTest.java
2021-04-27 15:57:24 +08:00
Robert LU
f336283a18
[ISSUE #5367]SPI IConfigFilter (#5474) 2021-04-26 15:49:25 +08:00
杨翊 SionYang
267d67190b
Some enhancement for logs and ability. (#5482) 2021-04-25 13:08:24 +08:00
brothelul
2f82f070fe
[ISSUE #5190]remove the unnecessary catch in the login method (#5456)
* remove the unnecessary catch in the login method

* catch the throwable error when login and print the message
2021-04-23 19:12:52 +08:00
杨翊 SionYang
6c064bfe41
For #5171, Fix all IT case (#5464) 2021-04-23 18:36:02 +08:00
张志勇
103e671d90
Support specified naming UDP push port for client (#5439)
* Nacos client within docker container could not receive service changes via udp

* change code style
2021-04-22 15:10:04 +08:00
Robert LU
024f73866a
[ISSUE #5429]fix spi (#5429) 2021-04-21 13:44:24 +08:00
Robert LU
df681900f0
[ISSUE #5367]SPI IConfigFilter (#5369)
Co-authored-by: lidaoyang <lidaoyang@hotmail.com>

Co-authored-by: lidaoyang <lidaoyang@hotmail.com>
2021-04-20 19:14:48 +08:00
brothelul
5e455af2a2
add the InterruptedException catch (#5416) 2021-04-20 16:39:29 +08:00
haoyann
f217246c48
[ISSUE #5291]Enhancement BeatTask always execute (#5410)
* enhancement BeatTask always execute

* revert useless modify
2021-04-20 10:36:36 +08:00
杨翊 SionYang
73eea9c0bb
Use ThreadUtil and EnvUtil replace Runtime.availableProcessor (#5388) 2021-04-16 17:32:14 +08:00
KomachiSion
77990982ef Solve Conflict 2021-04-13 14:44:21 +08:00
KomachiSion
51cc2b1b4b Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	client/src/test/java/com/alibaba/nacos/client/config/common/GroupKeyTest.java
#	common/src/test/resources/META-INF/services/com.alibaba.nacos.common.spi.SpiTestInterface
#	config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigServletInner.java
#	console/src/main/resources/static/css/main.css
#	console/src/main/resources/static/js/main.js
#	istio/src/main/java/com/alibaba/nacos/istio/mcp/NacosMcpService.java
#	naming/src/main/java/com/alibaba/nacos/naming/controllers/ApiController.java
#	naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
#	naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java
2021-04-13 14:28:30 +08:00
Wu Zhiguo
9bcb901174
Fix some typo (#5260)
* fix some typo

* rollback some comment format
2021-04-03 12:57:57 +08:00
shalk(xiao kun)
51a3cf9fe7
clean some inner method is never used (#5125) 2021-03-31 13:59:25 +08:00
shalk(xiao kun)
41b08c8b53
fix publishConfig lost type (#5186) 2021-03-31 13:48:26 +08:00
shalk(xiao kun)
975985ecc4
[ISSUE #5151] add ut for package c.a.nacos.client.naming.core (#5193)
* add ut for package c.a.nacos.client.naming.core

* fix

* fix shutdown

* fix import
2021-03-30 10:17:56 +08:00
shalk(xiao kun)
85c7d4e518
add ut for c.a.nacos.client.naming.utils in nacos 2.0 (#5230) 2021-03-30 10:16:09 +08:00
shalk(xiao kun)
712774f31b
remove unused utils; use threadlocalrandom from jdk since 1.7 (#5231) 2021-03-30 10:15:06 +08:00
shalk(xiao kun)
6d500c92ab
check group and dataId in groupKey (#5100) 2021-03-29 15:23:55 +08:00
shalk(xiao kun)
ebc64d2042
add ut for c.a.nacos.client.naming.event in nacos 2.0 (#5192) 2021-03-29 10:48:06 +08:00
杨翊 SionYang
46c9a96ec5
Fix #5178, Fix NPE when init server list failed. (#5188) 2021-03-26 09:36:20 +08:00
shalk(xiao kun)
2798aa90a1
add ut for c.a.nacos.client.naming.cache in nacos 2.0 (#5165) 2021-03-23 09:23:47 +08:00
shalk(xiao kun)
dee919ace9
add ut for package c.a.nacos.client.naming.backups (#5157) 2021-03-22 09:54:27 +08:00
shalk(xiao kun)
9afdd430bb
add ut for package c.a.nacos.client.naming.beat (#5156) 2021-03-22 09:53:50 +08:00
KomachiSion
5c7c108b65 Solve conflict 2021-03-18 13:38:07 +08:00
KomachiSion
6cda5ad55a Merge remote-tracking branch 'upstream/develop' into develop-merge-to-2.0
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
#	client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
#	client/src/test/java/com/alibaba/nacos/client/config/impl/YmlChangeParserTest.java
#	common/src/main/java/com/alibaba/nacos/common/http/param/Header.java
#	common/src/main/java/com/alibaba/nacos/common/utils/ConcurrentHashSet.java
#	config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
#	console/src/main/resources/static/js/main.js
#	core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java
#	core/src/main/java/com/alibaba/nacos/core/utils/Loggers.java
#	naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java
#	naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckReactor.java
#	pom.xml
2021-03-18 12:08:45 +08:00
shalk(xiao kun)
d8e54453a6
add ut for c.a.nacos.client.config (#5118) 2021-03-17 09:35:25 +08:00
shalk(xiao kun)
5b99b7d4eb
[ISSUE #5034] add ut for package com.alibaba.nacos.client.config.http (#5048)
* add ut for package com.alibaba.nacos.client.config.http

* remove ut doc

* remove http request case
2021-03-15 09:49:53 +08:00
shalk(xiao kun)
6d8440fd11
add ut for package com.alibaba.nacos.client.config.impl (#5104) 2021-03-15 09:28:30 +08:00
shalk(xiao kun)
711afc7bac
[ISSUE #5037]add ut for package com.alibaba.nacos.client.config.utils (#5050)
* add ut for package com.alibaba.nacos.client.config.utils

* fix ut checkstyle
2021-03-11 19:51:26 +08:00
shalk(xiao kun)
3a89725e28
[ISSUE #5036]add ut for com.alibaba.nacos.client.config.listener (#5049)
* add ut for com.alibaba.nacos.client.config.listener

* remove ut doc
2021-03-11 19:49:43 +08:00
shalk(xiao kun)
e7803d1c44
[ISSUE #5032] add ut for package com.alibaba.nacos.client.config.filter (#5046)
* add ut for package com.alibaba.nacos.client.config.filter

* remove ut doc
2021-03-11 19:43:51 +08:00
shalk(xiao kun)
3dd7915aa6
fix MetricsHttpAgent metrics twice (#5029) 2021-03-10 11:24:03 +08:00
nov.lzf
5247548e86
shade client and using remote ip from header (#5068)
* shade client

* shade client

* fix default cluster port

* rollback client ip

* using remote ip from header

* using remote ip from header

* using remote ip from header
2021-03-10 11:18:37 +08:00
shalk(xiao kun)
015a114822
add ut for package com.alibaba.nacos.client.config.common (#5045) 2021-03-09 18:05:27 +08:00