Commit Graph

3507 Commits

Author SHA1 Message Date
李晓双 Li Xiao Shuang
6c20d35af8
add unit test for PersistentConsistencyServiceDelegateImpl (#5491)
* add unit test for PersistentConsistencyServiceDelegateImpl

* add unit test for PersistentConsistencyServiceDelegateImpl

* add unit test for PersistentConsistencyServiceDelegateImpl
2021-04-27 10:12:02 +08:00
brothelul
72e5da6baf
[ISSUE #4770] Beta publish: change the way of select betaIps, from input to select (#5493)
* change the way of select betaIps, from input to select

* solve the conflict and change the Select from mutiple to tag
2021-04-27 09:41:51 +08:00
Robert LU
f336283a18
[ISSUE #5367]SPI IConfigFilter (#5474) 2021-04-26 15:49:25 +08:00
brothelul
81c1e53ac6
fix the tag remove error. (#5457) 2021-04-26 13:46:30 +08:00
杨翊 SionYang
71a0037f50
Refactor Distro Config as singleton and replace GlobalConfig (#5486)
* Refactor Distro Config as singleton and replace GlobalConfig

* Use configed timeout for distro sync and verify

* Fix IT error.
2021-04-25 16:50:10 +08:00
杨翊 SionYang
267d67190b
Some enhancement for logs and ability. (#5482) 2021-04-25 13:08:24 +08:00
孙继峰
da3a1ea796
[ISSUE #5380] Use assert instead of System.out (#5472)
* use assert instead of System.out

* move test case, there is no file named ParamCheckUtil.java
2021-04-25 10:03:28 +08:00
JackSun-Developer
ee8f636db1
[#5467] com.alibaba.nacos.naming.consistency.DelegateConsistencyServiceImpl lacks a lot of Unit Tests. (#5468) 2021-04-23 19:14:37 +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
brothelul
6c270cb3ac
[ISSUE #5078] set default pageSize to 10000 for getting all the subscribers in other server node. (#5424)
* hardcode to get all the subscribers by set the pageSize to 10000

* change the default pageSize from 10000 to 1000

* change the param of getSubscriber to support the pageNo and pageSize
2021-04-23 09:52:04 +08:00
xiaoheng1
b1e78b6f6d
Optimize the ConfigType.isValidType method (#5434)
* fix #5432 Optimize the ConfigType.isValidType method

* code format
2021-04-23 09:48:45 +08:00
杨翊 SionYang
30304f0b3a
For #5171, Fix naming IT case (#5450) 2021-04-22 16:40:22 +08:00
Pixy Yuan
758b8b3942
[ISSUE #5442] change state to UP when received status form old version server (#5445)
* [ISSUE #5442] change state to UP when received status form old version server

* [ISSUE #5442] Optimize server status received logic
2021-04-22 16:39:19 +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
Cherish 蔡
e0fe828542
[ISSUE #5437]: change dump-task taskKey (#5440)
* feat(fix-#5437): change dump-task taskKey

* feat(fix-#5437): Handle CI issues and add doc comments.
2021-04-22 11:27:08 +08:00
MajorHe1
0a4f7f5e75
[ISSUE #5361] check isUseGrpcFeatures() when subscribe service using GRPC (#5411)
* [ISSUE #5361] check isUseGrpcFeatures() when subscribe service using GRPC

* [ISSUE #5361] add a GrpcRequestFilter to check isUseGrpcFeatures() when using GRPC protocol

* [ISSUE #5361] add a judgement whether request instance of AbstractNamingRequest

* [ISSUE #5361] reformat code using nacos-code-style-for-idea.xml
2021-04-22 10:12:57 +08:00
杨翊 SionYang
a95236acda
For #5171, Fix some naming IT case (#5436) 2021-04-21 19:26:14 +08:00
Robert LU
024f73866a
[ISSUE #5429]fix spi (#5429) 2021-04-21 13:44:24 +08:00
赵延
291a969e7d
fix error log mismatch {}. (#5426) 2021-04-21 09:38:50 +08:00
赵延
b746b47100
when peer is null, set isOpenService = false directly. (#5428) 2021-04-21 09:33:30 +08:00
杨翊 SionYang
4c1b879d00
For #5419, Fix Nacos 2.0 client auth may invalid for non public namespace. (#5422) 2021-04-20 19:29:59 +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
杨翊 SionYang
afed87ee30
Fix config IT for nacos2 (#5421) 2021-04-20 18:16:30 +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
3a4c8efb14
For #5404, Fix frequently udp push for client 1.X (#5413) 2021-04-20 09:57:14 +08:00
孙继峰
3ce1cbab8b
fix #5390 (#5391) 2021-04-19 10:56:43 +08:00
JackSun-Developer
36a4a84474
[#5393] The class core.distributed.raft.JRaftProtocol lacks a lot of Unit Tests. (#5395) 2021-04-19 10:41:37 +08:00
brothelul
d27c5a9260
Add the explain of running NamingExample (#5382)
* Add the explain of running NamingExample

* change the explain of running NamingExample
2021-04-19 09:32:21 +08:00
JackSun-Developer
5b770a0306
[#5353] The class core.distributed.raft.JRaftServer lacks a lot of Unit Tests. (#5394) 2021-04-19 09:30:58 +08:00
JackSun-Developer
2b29315889
[#5353] The class core.distributed.raft.JRaftServer lacks a lot of Unit Tests. (#5396) 2021-04-19 09:29:52 +08:00
JackSun-Developer
121750ee33
[#5393] The class core.distributed.raft.JRaftProtocol lacks a lot of Unit Tests. (#5398) 2021-04-19 09:29:02 +08:00
杨翊 SionYang
73eea9c0bb
Use ThreadUtil and EnvUtil replace Runtime.availableProcessor (#5388) 2021-04-16 17:32:14 +08:00
xiaoheng1
acb02f6bf3
[ISSUE #5370]Modify the Chinese comments in MD5Utils to English (#5371)
* fix #5370 Modify the Chinese comments in MD5Utils to English

* code format
2021-04-16 11:00:11 +08:00
haoyann
394230309d
[ISSUE #4602]add new version config export feat (#5345)
* add new version config export feat

* add new export button

* fix ci

* fix magical value

* add YamlParserConstructor
parse config reduce loop

* fix ci
2021-04-16 10:39:55 +08:00
MajorHe1
ec2528f475
[ISSUE #5361] check isUseGrpcFeatures() when register instance using GRPC protocol (#5365)
* [ISSUE #5361] check isUseGrpcFeatures() when register instance using GRPC protocol

* [ISSUE #5361] change hint message when register instance failed using GRPC
2021-04-16 10:34:58 +08:00
Ryan Cheung
9cd025a114
[#5308]word spell error in comments (#5313)
* fix the spelling error

* fix the spelling error
2021-04-14 11:00:59 +08:00
JackSun-Developer
02ebe0190e
[#5350] In version 1.4.1, modify the Server is Down prompt to the specific reason for the machine failure and send it to the user (#5360) 2021-04-14 10:02:49 +08:00
杨翊 SionYang
f1a0c8b603
Merge pull request #5356 from KomachiSion/feature_support_grpc_core
Synchornize codes from develop branch
2021-04-13 14:46:06 +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
杨翊 SionYang
e689c1a3a1
Remove blocked thread for Protocol metadata (#5354) 2021-04-13 14:12:19 +08:00
Lisheng Zheng
876791da13
fix(istio): should respond all kinds of collections for istio's request (#5312) 2021-04-13 09:30:22 +08:00
TouchZZZ
4b4d21d54f
support ldap login (#5225) 2021-04-12 10:09:16 +08:00
ShawnSiao
f22b93cac3
fix #5234 (#5266) 2021-04-12 10:04:24 +08:00
Jisfeng
d9dff86f7a
fix subscriber app unknown (#5324) 2021-04-12 10:01:19 +08:00
iaoongin
f8702238f4
Fix. The mouse hovers over the margin in a pointer state and cannot be clicked (#5332) 2021-04-12 10:00:19 +08:00
cutiechi
7a1e78e836
[ISSUE#5253] Fix missing identity header error (#5309)
* Fix missing identity header error

* Format code

* Remove unnecessary change
2021-04-09 10:46:54 +08:00
haoyann
b542de727c
Subscriber list servername add required (#5310) 2021-04-09 10:45:25 +08:00