brotherlu-xcq
8f6bf616d7
[ISSUE #5093 ] Add unit tests for module nacos-consistency in nacos 2.0. ( #6490 )
...
* [ISSUE #5093 ] add unit test in nacos-consistency.
* fix unit test which cannot pass ci.
* remove the unused import.
2021-07-29 10:48:12 +08:00
ZZQ的
a0208cd3cb
Replace "google.common.base.Objects" API with jdk API ( #6463 )
...
* Replace "google.common.base.Objects" API with jdk API
* use java.utils.Objects.hash()
2021-07-29 10:47:12 +08:00
ZZQ的
9beaacbc54
[Reduce dependence]>[Maps] Replace "google.common.collect.*" API with jdk API ( #6443 )
2021-07-29 10:46:22 +08:00
杨翊 SionYang
fab5ae5bf8
Upgrade to 2.0.3 ( #6488 )
...
* Upgrade to 2.0.3
* Fix Unit test problem.
* Ignore illegal unit test
2021-07-28 19:20:44 +08:00
杨翊 SionYang
7f567d19c9
remove unused class ( #6475 )
2021-07-27 19:18:41 +08:00
孙继峰
e3c9fcf2d7
[ISSUE #5095 ] Add unit test for RpcClientFactory ( #6471 )
...
* fix typo
* Add unit test for RpcClientFactory
2021-07-27 18:00:43 +08:00
杨翊 SionYang
0e5c270aeb
Add Enterprise ( #6472 )
2021-07-27 15:40:30 +08:00
ZZQ的
838a62cc4a
Replace "google.common.collect.Strings" API with jdk API ( #6464 )
2021-07-27 13:53:52 +08:00
ZZQ的
47c6706a63
[Reduce dependence]>[Lists] Replace "google.common.collect.*" API wit… ( #6404 )
...
* [Reduce dependence]>[Lists] Replace "google.common.collect.*" API with jdk API
* use elements.size to init the array length
* Replace IllegalArgumentException with NullPointerException
* Refactor CollectionUtilsTest#list()
* Add exception message
* update annotation
* update unit test method name
2021-07-27 13:47:41 +08:00
brotherlu-xcq
2b186bc3fe
[ISSUE #6367 ] Add IOReactorExceptionHandler to avoid IOReactor out of loop when meet unknown Network error. ( #6441 )
...
* Add IOExceptionHandler to handle the Exception form IOReactor.
* remove the systemProperties for create ConnectionManager.
* fix the javadoc.
2021-07-27 09:29:58 +08:00
wuwen
ab1f543b9f
improvement currentTimeMillis calc, using System.nanoTime() to measure elapsed time. ( #6366 )
2021-07-26 09:38:33 +08:00
ZZQ的
c52589fd03
[Reduce dependence]>[Iterators] Replace "google.common.collect.*" API with jdk API ( #6447 )
2021-07-26 09:29:43 +08:00
Catcher Wong
54408d49b3
improve the code quality for naming client FailoverReactor ( #6451 )
2021-07-26 09:27:49 +08:00
孙继峰
c464f7c8c0
[ISSUE #5095 ] Add unit test for TlsFileWatcher ( #6453 )
...
* Add unit test for TlsFileWatcher
* replace explicit type argument with <>
* replace anonymous Runnable with lambda
* 'catch' parameter named 'ignored' is used
* adjust log style
2021-07-26 09:26:52 +08:00
杨翊 SionYang
a5cc7178fc
[ISSUE#6403] the expired time of naming client can be configured. ( #6422 )
...
* add AbstractDynamicConfig
* Add ClientConfig
* use ClientConfig to remove expired client.
* For checkstyle
* Update application.properties
2021-07-23 14:03:46 +08:00
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