Commit Graph

3572 Commits

Author SHA1 Message Date
ZZQ的
4cd6c58a95
[ISSUE #6198] BUG nacos-common>utils>StringUtils.join method NullPointerException #6198 (#6213)
* [ISSUE #6198] fix bug

* format code

* Modify Comment.Remove toString()
2021-06-30 19:13:40 +08:00
MajorHe1
5bb048cf7a
[ISSUE #6142] redo register and subscribe repeatedly if failed. get data from database if user and role info not in cache. (#6156)
* [ISSUE #6142] redo register and subscribe repeatedly if failed. get data from database if user and role info not in cache.

* [ISSUE #6142] simplify redo register and subscribe strategy, use set to record failed task.

* [ISSUE #6142] change the return value of redoRegisterEachInstance. move connected judgement to start of loop.

* [ISSUE #6142] add unit test for NamingGrpcConnectionEventListener. remove cache missed judgement of user and role.

* [ISSUE #6142] Merge origin develop branch to fix CI failure. Change thread sleep implement.
2021-06-30 17:44:07 +08:00
MajorHe1
f4cf28afba
[ISSUE #6204] Get data from database if user or role info not found in cache. (#6206) 2021-06-30 15:11:18 +08:00
杨翊 SionYang
aaacc0bb0e
Improve naming IT stability. (#6208) 2021-06-30 13:52:57 +08:00
李晓双 Li Xiao Shuang
ccd674497c
add unit test for ExternalRolePersistServiceImpl (#6193) 2021-06-30 10:26:55 +08:00
孙继峰
8dcf38f65b
[ISSUE #5095]Add unit test for VersionUtils (#6195)
* replace with try with resource

* replace with lambda

* add unit test

* inline variable
2021-06-30 10:18:29 +08:00
赵延
3fd77bc7e0
If the client already disconnect, ignore this request to avoid NPE. (#6175)
* if the client already disconnect, ignore this request to avoid npe.

* unify code with DistroClientDataProcessor.

* print warn info when client already disconnect.

* transfer client check logic to method.

* if client is not ephemeral, is illegal.
2021-06-30 10:15:06 +08:00
李晓双 Li Xiao Shuang
95892bcd24
[ISSUE #5092] Add unit tests for class EmbeddedPermissionPersistServiceImpl in nacos 2.0 (#6183)
* add unit test for EmbeddedPermissionPersistServiceImpl

* test() to test
2021-06-29 15:14:28 +08:00
李晓双 Li Xiao Shuang
0b66c540bc
add unit test for EmbeddedRolePersistServiceImpl (#6192) 2021-06-29 15:12:04 +08:00
李晓双 Li Xiao Shuang
8648642f60
[ISSUE #5092] Add unit tests for class EmbeddedUserPersistServiceImpl in nacos 2.0 (#6194)
* add unit test for EmbeddedUserPersistServiceImpl

* add unit test for EmbeddedUserPersistServiceImpl

* add unit test for EmbeddedUserPersistServiceImpl
2021-06-29 15:11:15 +08:00
ZZQ的
faca105694
[ISSUE #6169] fix cluster page internationalization (#6179) 2021-06-29 09:38:34 +08:00
ZZQ的
842c21247d
[#6178] Unified configuration page style (#6165)
* Unified configuration page style

* Unified all button style
2021-06-29 09:31:16 +08:00
李晓双 Li Xiao Shuang
ad3b62e43c
[ISSUE #5092] Add unit tests for class ExternalPermissionPersistServiceImpl in nacos 2.0 (#6184)
* add unit test for ExternalPermissionPersistServiceImpl

* add unit test for ExternalPermissionPersistServiceImpl
2021-06-28 19:22:29 +08:00
ZZQ的
e0efe71b67
[ISSES#1469] add cluster delete button (#6170) 2021-06-28 10:14:17 +08:00
brotherlu-xcq
01e3352e8e
[ISSUE #5884] add permission check to history config. (#6173) 2021-06-28 10:10:41 +08:00
shalk(xiao kun)
38e907584a
[ISSUE #5807]Add unit tests for package com.alibaba.nacos.client.utils in nacos (#6136)
* add more ut for package c.a.nacos.client.utils

* fix ParamUtilTest

* add more ut for package c.a.nacos.client.utils

* fix ParamUtilTest

* fix test

* fix ut
2021-06-28 09:55:10 +08:00
lzp0412
6cbd89eddb
Fix: use revision to determine whether the service has changed (#6164) 2021-06-25 18:24:52 +08:00
ZZQ的
ebf7c7143f
see issue #6100 (#6163) 2021-06-25 18:24:07 +08:00
shalk(xiao kun)
9e516839ed
[ISSUE #5806]Add unit tests for package com.alibaba.nacos.client.logging in nacos (#6137)
* add ut for package c.a.nacos.client.logging

* fix Log4J2NacosLoggingTest
2021-06-25 18:00:06 +08:00
brotherlu-xcq
041983269c
[FOR 5094 remote/control] add unit tests in nacos-core. (#6157)
* [unit test] [nacos-core remote] add unit tests of MonitorKeyMatcher.

* [unit test] [nacos-core remote/control] add unit tests of TestMonitorPoint and TpsRecorder.

* [unit test] [nacos-core remote/control] fix ci issue.

* [unit test] [nacos-core remote/control] fix ci issue.

* [unit test] [nacos-core remote/control] fix ci issue.

* [nacos-core] [unit test] try to fix MemberUtilTest problem

* [unit test] [nacos-core remote/control] fix not shutdown issue.

* [unit test] [nacos-core remote/control] fix ci issue in LookupFactoryTest.
2021-06-25 14:33:10 +08:00
nov.lzf
a9e7b15760
clear future on callback timeout (#6141)
* concurrent sync flag fix

* fix check style

* clear future on callback timeout bugfix

* clear future on callback timeout bugfix

* clear future on callback timeout bugfix
2021-06-23 16:39:20 +08:00
MajorHe1
fb9668a35e
[ISSUE #6132] RemoteRequestAuthFilter get error message from AccessException correctly (#6133) 2021-06-22 21:11:32 +08:00
杨翊 SionYang
f2676bc6ca
[ISSUE#6129] Add ServerConfigChangeEvent when config file changed. (#6130)
* Add ServerConfigChangeEvent when config file changed.

* Upgrade config after notify ServerConfigChangeEvent
2021-06-22 14:39:37 +08:00
Pixy Yuan
ea803a85ae
[ISSUE #6109] Using configuration to register upgrade helpers as conditional beans. (#6115) 2021-06-22 14:07:57 +08:00
杨翊 SionYang
4a474ce30a
For #6116. Refactor ClientManager and make register client and schedule checkTask is atomic. (#6118) 2021-06-22 09:49:59 +08:00
Kamran Ahmed
6e0391f4b9
Optimize the nacos client home page Chinese account gibber. (#6107) 2021-06-21 11:47:29 +08:00
杨翊 SionYang
0d3bf616e6
[ISSUE#5976] Fail CI directly if UT can't pass. (#6106)
* For #5976. fail CI directly if UT can't pass.

For #5976. fail CI directly if UT can't pass.

For #5976. fail CI directly if UT can't pass.

* For #5976. fail CI directly if UT can't pass.
2021-06-18 17:49:51 +08:00
杨翊 SionYang
7c30acc4dc
[ISSUE#5985] Fix unit test problem for nacos-core. (#6102)
* Fix #5985, Fix unit test problem for nacos-core.

* For checkstyle
2021-06-17 21:05:27 +08:00
realJackSun
c13f800c5b
[#5983] Fix unit tests in nacos-config (#5995) 2021-06-17 20:34:21 +08:00
杨翊 SionYang
ade652618e
Fix #5990, fix unit test problem. (#6101) 2021-06-17 20:28:56 +08:00
brotherlu-xcq
b97644109d
[fix-#5845] remove the unused codes (#6096) 2021-06-17 19:18:14 +08:00
孙继峰
fb3e5ad290
simplify Assert (#6095) 2021-06-17 19:17:37 +08:00
realJackSun
768bd862a0
[#6097] The DingDing QR code is invalid now (#6098) 2021-06-17 19:15:46 +08:00
杨翊 SionYang
463a29f082
Develop fix ci (#6092)
* Fix github CI

* Add github IT
2021-06-17 15:15:54 +08:00
lzp0412
1cb8c0fdd5
Merge pull request #6091 from KomachiSion/develop-fix-ci
Fix github CI
2021-06-17 11:55:51 +08:00
KomachiSion
3e2554aa5a Fix github CI 2021-06-17 11:51:56 +08:00
KomachiSion
e3a1f3c040 Fix github CI 2021-06-17 11:47:52 +08:00
杨翊 SionYang
fd18e3554b
Add github CI (#6089)
* Add github CI

* Add github CI
2021-06-17 11:34:06 +08:00
Kamran Ahmed
08f19919a0
Update readme who is using (#6082)
Fix too many commits, squash to one.
2021-06-16 17:31:38 +08:00
杨翊 SionYang
95d608a90c
Upgrade to 2.0.3-SNAPSHOT (#6075) 2021-06-16 10:39:01 +08:00
brotherlu-xcq
2dc35ab9a9
[FOR 5094 monitor] add unit tests in nacos-core. (#6076)
* [nacos-core] [unit test] add unit test in monitor directory.

* [nacos-core] [unit test] rollback unused change
2021-06-16 10:30:33 +08:00
Kamran Ahmed
08c26d6fae
Resolve dependency import path errors (#6070)
* fix #3215 bug by improve code quality for client.

* Fix line indent.

* Resolve dependency import path errors

Co-authored-by: jiele.cao <jiele.cao@sinocare.com>
2021-06-16 10:29:27 +08:00
zhox
1b18f2c3ca
[code quality][nacos-address]improve the code of ServiceManager.java (#5919)
* [code quality][nacos-address]improve the code of ServiceManager.java

* remove unused import

* 1 fix with ServiceManager.java

* 1 fix with ServiceManager.java
2021-06-16 10:24:36 +08:00
realJackSun
467154833b
[#5984] Fix unit tests in nacos-client (#5998) 2021-06-16 10:21:15 +08:00
nov.lzf
f802b223d5
concurrent sync flag fix (#6049)
* concurrent sync flag fix

* fix check style
2021-06-16 10:18:31 +08:00
andotorg
1c85051e0b
add ldap print error log (#6068) 2021-06-15 20:16:38 +08:00
Kamran Ahmed
4df0cd0c7c
fix #3215 bug by improve code quality for client. (#6050)
* fix #3215 bug by improve code quality for client.

* Fix line indent.

Co-authored-by: jiele.cao <jiele.cao@sinocare.com>
2021-06-15 14:01:18 +08:00
杨翊 SionYang
6ca9c25a68
Fix Unit test in nacos naming module (#6031) 2021-06-15 14:00:17 +08:00
brotherlu-xcq
b23756faaf
[FOR 5094 storage] add unit tests in nacos-core. (#6043)
* [Unit tests] [storage] add unit tests.

* add License
2021-06-15 13:55:52 +08:00
brotherlu-xcq
e74560de1c
[FOR 5094 utils] add unit tests in nacos-core. (#6037)
* [Unit tests] [RemoteUtils] add unit tests.

* [Unit tests] [StringPool] add unit tests.

* [Unit tests] [OverrideParameterRequestWrapper] add unit tests.

* [Unit tests] [WebUtils] add unit tests.

* [Unit tests] [ClassUtils] add unit tests.
2021-06-15 13:55:17 +08:00