Commit Graph

3627 Commits

Author SHA1 Message Date
Zark Zheng
ece17fb223
Fix the Algorithm HmacSHA256 not available error when login(#6382) (#6409) 2021-07-23 10:41:38 +08:00
孙继峰
727446c022
[ISSUE #5095] Add unit test for SelfHostnameVerifier (#6428)
* replace the variable with a constant

* [ISSUE #5095] Add unit test for SelfHostnameVerifier
2021-07-23 10:38:33 +08:00
haoyann
26240022e1
fix yaml parse concurrent problem (#6423) 2021-07-22 11:04:15 +08:00
brotherlu-xcq
8077ce02a4
[ISSUE #5520] Add unit tests for package com.alibaba.nacos.naming.core.v2.cleaner in nacos2.0. (#6401)
* [ISSUE #5520] add unit test for EmptyServiceAutoCleaner.

* [ISSUE #5520] add unit test for EmptyServiceAutoCleanerV2.
2021-07-22 10:15:21 +08:00
wuwen
4d7ccd56b6
improvement performance (#6407) 2021-07-22 10:11:46 +08:00
brotherlu-xcq
a64f5b592b
[ISSUE #5519] Add unit tests to package com.alibaba.nacos.naming.controllers in nacos 2.0. (#6414)
* [ISSUE #5519] complete CatalogControllerTest.

* [ISSUE #5519] add unit test in controllers, not include deprecated method.

* [ISSUE #5519] fix ci issue.
2021-07-22 09:58:12 +08:00
孙继峰
7587bf7685
[ISSUE #5095] Add unit test for JacksonUtils (#6415) 2021-07-22 09:57:26 +08:00
MajorHe1
7441c3ad17
[ISSUE #6416] fix some typo in NamingGrpcRedoService (#6418) 2021-07-22 09:56:14 +08:00
GuoHyan
cd4fee4156
Revert "Update Header.js (#6352)" (#6391)
This reverts commit 0174ac948f.
2021-07-21 10:52:06 +08:00
杨翊 SionYang
fca259fd38
[ISSUE#6384] Add redo feature for nacos client naming (#6395)
* Add RedoData

* Add NamingGrpcRedoService

* Add RedoScheduledTask

* Refactor NamingGrpcClientProxy to use new redo service.

* For PMD

* Remove NamingGrpcConnectionEventListener.java
2021-07-21 10:08:10 +08:00
brotherlu-xcq
784cc82d9e
[ISSUE #6365] Implement the built-in Selector in Nacos 1.x and add unit test. (#6383)
* [ISSUE #6301] implement the CmdbSelectorContextBuilder and move the 1.x LabelSelector logic to CmdbLabelSelector and add unit test.

* [ISSUE #6301] remove the unused method.

* [ISSUE #6301] fix ci issue.
2021-07-20 10:33:58 +08:00
brotherlu-xcq
58190bdf04
fix copyright. (#6389) 2021-07-20 09:47:08 +08:00
Pixy Yuan
22393e4456
[ISSUE #6386] Stop v1 distro verification when cluster upgraded to v2. (#6387) 2021-07-19 16:42:34 +08:00
Roger3581321
29e799fd44
Update pom.xml (#6374)
updated the copyright time
2021-07-19 11:58:38 +08:00
GuoHyan
0174ac948f
Update Header.js (#6352)
优化nacos中文用户登录后主页header显示的中文账号乱码问题。
2021-07-19 10:32:45 +08:00
brotherlu-xcq
bb987d05f5
[ISSUE #6356] Define the Selector workflow and add unit test. (#6357)
* [ISSUE #6301] Define the workflow of Selector.

* [ISSUE #6301] Add unit test for SelectorManager.

* [ISSUE #6301] fix ci issue.

* [ISSUE #6301] test Selector with serial.

* [ISSUE #6301] fix javadoc.
2021-07-16 11:31:33 +08:00
ixx
c0958269b0
Fix the problem of startup error when the JAVA_HOME path contains spaces under Linux/Unix/Mac system (#6335) 2021-07-14 09:55:23 +08:00
Jacob Bao
10ef182ca7
[ISSUE alibaba#6160] Optimization of IP address acquisition method (#6320)
* [ISSUE alibaba#6160] Optimization of IP address acquisition method

* add test case and fix bug

* perform the cleanup operation after the method
2021-07-14 09:54:35 +08:00
ZZQ的
12a9bfb3c8
[ISSUE #6314] Remove common-lang3 from pom.xml (#6334) 2021-07-13 09:32:15 +08:00
杨翊 SionYang
44a1d02922
Fix instance metadata will not be removed for ip port client. (#6332) 2021-07-12 14:32:15 +08:00
hunjipo
cdc276e829
To slightly improve performance, this commit switches to StringBuilder.append(char) instead of StringBuilder.append(String) whenever we append a single character to a StringBuilder. (#6300) 2021-07-12 13:51:14 +08:00
孙继峰
f326a0c543
[ISSUE #5095] Add unit test for ClassUtils (#6327)
* fix typo

* add unit test for ClassUtils
2021-07-12 09:45:35 +08:00
brotherlu-xcq
6f826e9a55
[FOR 5094 cluster] add unit tests in nacos-core. (#6316)
* [ISSUE #5904] add ClusterRpcClientProxyTest.

* [nacos-core] [unit test] add unit test for FileConfigMemberLookupTest.
2021-07-12 09:29:31 +08:00
ZZQ的
e719432cfe
[ISSUE #6303] replace commons-lang3 (#6315) 2021-07-12 09:27:46 +08:00
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