Commit Graph

5002 Commits

Author SHA1 Message Date
chenyiqin
0ee724ee7f
Fix class cast error when distro sync batch service data (#11702)
* fix class cast error when distro sync batch service data

* check for logic

* simplify logic

* add ut for distro data process

* rm redundant mock
2024-02-20 10:51:51 +08:00
jimin
3c278edba9
optimize: support get java cmd from which java (#11720) 2024-02-20 10:51:16 +08:00
zhanghong
e6eb636aed
fix dark mode bugs (#11740) 2024-02-20 10:46:20 +08:00
hth
21f8065073
log improvement (#11753) 2024-02-20 10:42:58 +08:00
杨翊 SionYang
139f4f2377
Add client module ut. (#11739)
* Add client module ut.

* Fix naming ut possible failed.
2024-02-06 16:11:25 +08:00
nov.lzf
3da1240f3a
config module coverage (#11738)
* testcase fix

* checkstyle

* testcase coverage

* testcase coverage

* testcase coverage

* testcase coverage

* testcase fixed
2024-02-06 14:53:14 +08:00
李云飞
2bb93982df
[ISSUE #11655]fix invalid usage of ProporityQueue in ConfigChangePluginManger (#11668)
* [ISSUE #11655]fix invalid usage of ProporityQueue in ConfigChangePluginManager

* add UT for config change plugin

* for checkstyle

* for checkstyle
2024-02-02 15:57:21 +08:00
blake.qiu
9fcc4c0dbe
fix(11127): Fix ClientWork removeListener and addListener concurrency issue. (#11681) 2024-02-02 15:55:52 +08:00
peachisai
1b9a22c1a8
Fix when push fail the totalPush variable count cannot increase (#11704) 2024-01-31 10:27:01 +08:00
Qishang Zhong
9d473ef60c
[ISSUE #11618] Add the config of max thread count for client worker & naming polling (#11693)
* [ISSUE #11618] Add the config of max thread count for client worker & naming polling

* Fix
2024-01-31 09:43:46 +08:00
blake.qiu
8f2150892a
build(11606): Make sql-schema consistent. (#11703) 2024-01-31 09:32:19 +08:00
hth
817eb58597
[ISSUE#11695] fix PreviousConfigHistory encryption (#11707)
* fix PreviousConfigHistory encryption

* UT fix
2024-01-31 09:30:46 +08:00
Qishang Zhong
bd5caa64a6
Clean up system property after running the test case (#11711) 2024-01-31 09:30:01 +08:00
nov.lzf
849393c4a1
optimize dump all logic and optimize dump change interface (#11658)
* optimize config dump all,do not select content in page query,single query config on md5 and ts updated.

* 1.optimize config dump all,do not select content in page query,single query config on md5 and ts updated.
2. remove convertDeleteConfig and convertConfigConfig ,use standard RowMapper instead.

* remove unecessary code

* use context param instead of adding plugin method params

* bug and test fix
2024-01-19 15:26:28 +08:00
hth
9722ad8dd5
Auth check fix (#11672) 2024-01-19 15:24:18 +08:00
wuyfee
dd385294f5
Multi Language CI (#11674)
* feat: add multi language test

* fix: replace dockerhub
2024-01-19 15:23:52 +08:00
nov.lzf
5f9c848d7e
remove direct read (#11670)
* remove isDirectRead

* check style

* coverage makeup

* coverage makeup

* coverage makeup
2024-01-17 19:20:48 +08:00
Happy-26
30a5014e5d
Fixed an issue where the maximum number of anti-fragile plug-ins implemented by default in Nacos is one more than the actual number of connections. (#11636) 2024-01-17 16:19:41 +08:00
杨翊 SionYang
f5d72a3455
Revert "[ISSUES #11601]Auth check fix" (#11671) 2024-01-17 16:10:23 +08:00
hth
51fa941df7
Auth check fix (#11649) 2024-01-17 16:07:55 +08:00
Qishang Zhong
07168099db
[ISSUE #11612] Unified use of NameThreadFactory to create thread pools. (#11613) 2024-01-17 15:47:19 +08:00
hth
bdbc356ce4
fix RaftConfig is always {} (#11648) 2024-01-17 15:27:49 +08:00
chenyiqin
1943825e4d
server don't send its abilities when client don't send its abilities (#11661) 2024-01-17 15:19:36 +08:00
hth
a7d1c35f85
fix user update permission (#11603) 2024-01-11 17:16:00 +08:00
hth
207505735c
add UT for control plugin (#11611)
* add ut for control plugin

* control plugin fix LocalDiskRuleStorage mkdirs
2024-01-11 17:11:47 +08:00
hth
b4a380f15b
control plugin fix LocalDiskRuleStorage mkdirs (#11620) 2024-01-11 17:08:55 +08:00
brother-戎
84900756d1
[add unit test case] Add unit test for capacity management aspect (#11622)
* add_unit_test_capacity_management_aspect

* remove some code

* some tiny fix

* some tiny fix

* some tiny fix

* some tiny fix
2024-01-11 17:08:13 +08:00
CZJCC
c98b8c4111
修复client register事件跟clientManager addClient异步并行问题 (#11634) 2024-01-10 19:06:37 +08:00
杨翊 SionYang
f3fb60ebf3
打开config模块覆盖率 (#11628) 2024-01-10 14:37:40 +08:00
nov.lzf
c70a86820d
config module coverage (#11592)
* coverage

* coverage

* coverage up tp 80% ,fix checkstyle pmd

* coverage up tp 80% ,fix checkstyle pmd

* fix checkstyle

* optmize grpc connection push

* testcase

* grp connection coverage
2024-01-08 14:25:15 +08:00
MajorHe1
dbb1b65fcb
[ISSUE #11526] Update ServiceInfoHolder.java, add log output in processServiceInfo (#11527)
* Update ServiceInfoHolder.java, add log output in processServiceInfo

* Update ServiceInfoHolder.java, add log output in processServiceInfo
2024-01-05 17:56:08 +08:00
hth
ea94095f74
[ISSUES #9001]spi instanceIdGenerator and snowFlakeInstanceIdGenerator (#11561)
* spi instanceIdGenerator and snowFlakeInstanceIdGenerator

* Test fix

* fix InstanceId set

* Copyright fix
2024-01-05 17:53:56 +08:00
hth
2296125d41
add UT for control default plugin (#11572)
* add control default plugin Test

* Copyright fix
2024-01-05 17:48:41 +08:00
hth
8a69c9e8ac
fix default tps control plugin (#11579) 2024-01-05 17:47:59 +08:00
Karson
97104b2445
[ISSUE #11586]Remove deprecated api of spring security (#11587)
* remove deprecated config

* style fix
2024-01-05 17:02:39 +08:00
chenyiqin
6b0636dd5d
support metric for grpc server request (#11427)
* support metric for grpc server request

* change way to judge field

* optimize record
2023-12-29 14:08:50 +08:00
nov.lzf
d4e2ccda82
config module coverage up to 60% (#11560)
* fix test case

* test case coverage

* open config module testcases

* config module testcases coverage

* test case coverage up to 55%

* test case coverage up to 55%

* test case coverage up to 60%

* fix test case

* fix test case

* fix test case

* fix test case

* fix test case

* fix test case

* coverage makeup

* coverage makeup

* coverage makeup

* coverage makeup
2023-12-29 11:46:54 +08:00
blake.qiu
526227c77b
fix(#11498): fix CheckDbHealthTask. (#11500) 2023-12-28 11:37:29 +08:00
喻世文
6587029851
[ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. (#11546)
* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher.

* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. Adjusting code format.

* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. Change static code block to @Before annotation.

* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. run ci.
2023-12-27 11:08:23 +08:00
杨翊 SionYang
9e48e8cb3b
Develop client ut (#11557)
* Add UT for client module logging package.

* Add UT for client module utils package.

* Add UT for client module naming package.

* For checkstyle.

* For PMD.
2023-12-26 11:53:26 +08:00
hth
41222ee99a
service name check fix (#11553) 2023-12-26 10:46:13 +08:00
realJackSun
4d76eb7c31
Add unit tests for package com.alibaba.nacos.config.server.service.dump (#11532)
* Add unit test for DumpAllProcessor

* [#11531] Add unit tests for package com.alibaba.nacos.config.server.service.dump ———— Add unit test for DumpAllProcessor
2023-12-22 14:26:00 +08:00
毛文超
d40190ee24
[ISSUES #11499] fix address server health check error (#11508)
* [ISSUES #11499] fix address server health check error

Close #11499

* [ISSUES #11499] add some unit tests for HealthController
2023-12-19 14:25:54 +08:00
nov.lzf
ca9d55e264
fix config test case and remove useless code (#11521)
* 修复客户端cmsgc导致服务端推送积压直接内存oom问题

* 修复ut及bug

* 修复ut及bug,checkstyle

* 修复ut及bug

* 修复ut

* 修复覆盖率

* 修复测试用例

* 修复测试用例,覆盖率

* 修复测试用例,覆盖率,删除无用代码

* 修复测试用例,覆盖率,pmd&checkstyle

* fix test case
2023-12-18 13:42:28 +08:00
nov.lzf
790bb197cf
优化增量对账,减少开销 (#11248)
* 优化增量dump,减少开销

* check style fix

* pmd fix

* testcase fix

* testcase fix

* checkstyle fix
2023-12-18 13:41:27 +08:00
杨翊 SionYang
ab2ddac06f
Develop client ut (#11516)
* Add ut for client module auth package.

* Add ut for client module env package.

* Add ut for client module env package.

* For copyright

* Fix UT might failed problem.
2023-12-18 10:20:55 +08:00
zhanghong
d84a566235
fix proxy mapper bug (#11507) 2023-12-15 15:42:01 +08:00
nov.lzf
06edd123f9
check server stream ready state to avoid bytebuffer back up in flow control pending write queue. (#11514)
* 修复客户端cmsgc导致服务端推送积压直接内存oom问题

* 修复ut及bug

* 修复ut及bug,checkstyle

* 修复ut

* 修复覆盖率

* checkstyle
2023-12-15 15:40:45 +08:00
杨翊 SionYang
58803687c8
client don't judge token content invalid. (#11496) 2023-12-12 16:24:47 +08:00
杨翊 SionYang
a3420b733b
[ISSUE#11494] Fix frequently request login api when using 2.X client with username. (#11495)
* Fix frequently request login api when using 2.X client with username.

* Fix frequently request login api when using 2.X client with username.
2023-12-12 14:13:56 +08:00