ZZQ的
721061a4db
[ISSUE #6302 ] replace common-lang3 ( #6313 )
2021-07-12 09:27:03 +08:00
ZZQ的
98e1e72ed9
[issue #6284 ][naming module] replace *commons.lang3*.*Utils to com.al… ( #6291 )
...
* [issue #6284 ][naming module] replace *commons.lang3*.*Utils to com.alibaba.nacos.common.utils.*Utils
* add StringUtils.split() function
* Replace NumberUtils.isNumber() -> NumberUtils.isDigits()
2021-07-12 09:16:57 +08:00
brotherlu-xcq
81e2f43e4b
[FOR 5094 controller] add unit tests in nacos-core. ( #6307 )
...
* [nacos-core] [unit test] add unit test for CoreOpsControllerTest, NacosClusterControllerTest.
* [ISSUE #5904 ] add ServerLoaderControllerTest.
2021-07-08 15:19:52 +08:00
ZZQ的
b9e388bff9
[core module] replace *commons.lang3*.*Utils to com.alibaba.nacos.com… ( #6288 )
...
* [core module] replace *commons.lang3*.*Utils to com.alibaba.nacos.common.utils.*Utils
* Use StringUtils replace jdk String method.
* Fix error logic.
2021-07-08 15:13:34 +08:00
孙继峰
26caf8e97a
[ISSUE #5095 ] Add unit test for ConvertUtils ( #6269 )
...
* 100% cover ConvertUtils
* delete dead code
* simplify code
2021-07-08 15:09:38 +08:00
杨翊 SionYang
5e545c8d37
[ISSUE#6272] Refactor Instance builder to build and handler request from http. ( #6298 )
...
* Add InstanceBuilder and IdGenerator
* Add new builder for http request and client beat
* Use new builder to build api instance.
* Modified according review comment.
2021-07-07 17:01:40 +08:00
brotherlu-xcq
71f170a7a5
[FOR 5094 auth] add unit tests in nacos-core. ( #6290 )
...
* [ISSUE #5904 ] add ParamRequestConditionTest.
* [ISSUE #5904 ] add AuthConfigTest and AuthFilterTest.
* [ISSUE #5904 ] add RemoteRequestAuthFilterTest.
* [ISSUE #5904 ] fix ci problem.
* [ISSUE #5904 ] add PathRequestConditionTest.
2021-07-07 10:20:14 +08:00
ZZQ的
3d3f4e5a80
[ISSUE#6283]istio module replace *commons.lang3*.*Utils to com.alibaba.nacos.common.utils.*Utils ( #6289 )
2021-07-07 10:19:46 +08:00
shalk(xiao kun)
c973566db9
[ISSUE #6188 ]add ut for com.alibaba.nacos.naming.cluster ( #6279 )
...
* add ut for com.alibaba.nacos.naming.cluster
* fix ut
2021-07-07 10:02:01 +08:00
shalk(xiao kun)
9698bbcb47
fix LICENSE by https://www.apache.org/licenses/LICENSE-2.0.txt ( #6277 )
...
* fix LICENSE by https://www.apache.org/licenses/LICENSE-2.0.txt
* Update LICENSE
2021-07-07 10:00:29 +08:00
ZZQ的
a82a5359d6
[ISSUE #6256 ] [config module] replace "*commons.lang3*.*Utils" to "co… ( #6265 )
...
* [ISSUE #6256 ] [config module] replace "*commons.lang3*.*Utils" to "com.alibaba.nacos.common.utils.*Utils"
* fix error logic
2021-07-07 09:57:31 +08:00
brotherlu-xcq
e2fc2e44a0
[FOR 5094 remote] add unit tests in nacos-core. ( #6262 )
...
* [ISSUE #5904 ] add unit tests for ClientConnectionEventListenerRegistryTest and ConnectionManagerTest.
* [ISSUE #5904 ] add unit tests for left class.
* [nacos-core] [unit test] change the uuid.
* [ISSUE #5904 ] fix the wrong assert.
2021-07-06 10:06:55 +08:00
mask
414e2fa272
[ISSUE #6280 ] Fix word spell error. ( #6281 )
2021-07-06 09:42:54 +08:00
ZZQ的
3d000cf878
[ISSUE #6266 ] [console module] replace "*commons.lang3*.*Utils" to "com.alibaba.nacos.common.utils.*Utils" ( #6267 )
2021-07-05 17:07:25 +08:00
ZZQ的
3e67058362
[ISSUE #6252 ] replace *commons.lang3*.*Utils to com.alibaba.nacos.common.utils.*Utils ( #6259 )
2021-07-05 10:08:09 +08:00
mask
5aab4266eb
[ISSUE #6216 ] Unify SQL naming style. ( #6239 )
...
* [ISSUE #6216 ] Unify SQL naming style.
* [ISSUE #6216 ] Unify SQL naming style.
* [ISSUE #6216 ] Unify SQL naming style.
2021-07-05 09:53:16 +08:00
ZZQ的
e25d415056
[ISSUE #6253 ] [auth module] replace "*commons.lang3*.*Utils" to "com.alibaba.nacos.common.utils.*Utils" ( #6260 )
2021-07-05 08:57:35 +08:00
孙继峰
97abc6dd72
[ISSUE #5095 ] Add unit test for CollectionUtils ( #6251 )
2021-07-02 17:55:52 +08:00
ZZQ的
afb512b476
[ISSUE #6240 ] Add TypeUtils/TypeUtilsTest ( #6247 )
2021-07-02 17:55:15 +08:00
ZZQ的
2d40c5225b
[ISSUE #6241 ] Add DateFormatUtils、DateFormatUtilsTest ( #6245 )
...
* [ISSUE #6241 ] Add DateFormatUtils、DateFormatUtilsTest
* Format code
2021-07-02 17:53:19 +08:00
ZZQ的
119a193ba9
[ISSUE #6228 ] Add RandomUtils/RandomUtilsTest ( #6243 )
...
* [ISSUE #6228 ] Add RandomUtils/RandomUtilsTest
* [ISSUE #6228 ] Canonical code
2021-07-02 17:52:41 +08:00
brotherlu-xcq
e8812e5845
[FOR 5094 remote/core] add unit tests in nacos-core. ( #6234 )
...
* [ISSUE #5904 ] add unit test for directory remote/core.
* [ISSUE #5904 ] remove the all parameter constructor.
2021-07-02 17:47:04 +08:00
ZZQ的
888f50b5e4
Add NumberUtils、NumberUtilsTest;Modify NumberUtil dependency ( #6227 )
...
* Add NumberUtils、NumberUtilsTest;Modify NumberUtil dependency
* delete "isNumber" function
* [ISSUE #6221 ] Canonical code
2021-07-02 17:46:32 +08:00
brotherlu-xcq
89af6a97ae
[FOR 5094 remote/grpc] add unit tests in nacos-core. ( #6226 )
...
* [ISSUE #5904 ] add grpc directory unit tests.
* [ISSUE #5904 ] add grpc directory unit tests, for GrpcRequestAcceptor.java.
* [ISSUE #5904 ] fix ci problem.
* [ISSUE #5904 ] remove the all parameter constructor and add test scope for grpc-testing.
2021-07-02 17:45:45 +08:00
杨翊 SionYang
5c375afe81
Add SPI for ClientBeatExtensionHandler ( #6250 )
2021-07-02 17:17:24 +08:00
李晓双 Li Xiao Shuang
4f0900b0aa
[ISSUE #5092 ] Add unit tests for class ExternalUserPersistServiceImpl in nacos 2.0 ( #6237 )
...
* add unit test for ExternalUserPersistServiceImpl
* add unit test for ExternalUserPersistServiceImpl
2021-07-02 09:59:22 +08:00
ZZQ的
5fa6441099
[ISSUE #6216 ]All SQL keywords are modified to uppercase ( #6233 )
...
* [ISSUE #6216 ]All SQL keywords are modified to uppercase
* "count(0)" replace to "count(*)"
* All SQL keywords are modified to uppercase
2021-07-02 09:57:50 +08:00
ZZQ的
80078ae8ee
[ISSUE#3102] nacos-common module ArrayUtils、StringUtils ( #6211 )
...
* add ArrayUtils and TestClass
* modified StringUtils for remove common-lang3
* add Comment for StringUtils, Completion unit test
* fix variable name error and erro test
* Optimize the code.
* Edit author
2021-07-01 14:28:49 +08:00
孙继峰
16734cdec9
[ISSUE #5095 ] Add unit test for InternetAddressUtil ( #6222 )
...
* add unit test to InternetAddressUtil
* inline variable
* simplify assert
2021-07-01 11:33:21 +08:00
孙继峰
f36556657f
[ISSUE #6197 ] Use java.util.Objects instead of com.alibaba.nacos.common.utils.Objects ( #6218 )
2021-07-01 11:32:34 +08:00
杨翊 SionYang
eb2644fd37
Add SPI for upgrade checker. ( #6217 )
...
* Add SPI for upgrade checker.
* For checkstyle
2021-07-01 11:20:41 +08:00
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