Commit Graph

3684 Commits

Author SHA1 Message Date
secbro2
8801be513d
complete the warn log (#6646)
* complete the warn log

* format and optimize the log
2021-08-16 10:11:35 +08:00
xxc
5201af9ab7
Merge pull request #6666 from alibaba/yanlinly-patch-1-1
update enterprise info
2021-08-16 10:08:00 +08:00
yanlinly
14ee386f5e
update enterprise info 2021-08-16 09:51:53 +08:00
brotherlu-xcq
27b0a0cd8a
[ISSUE #6643] Add unit tests for package com.alibaba.nacos.naming.core.v2.service. (#6644) 2021-08-13 09:47:00 +08:00
杨翊 SionYang
5388290e3f
Merge pull request #6639 from myifeng/develop
FIX #6625 When switching namespaces, search criteria do not work
2021-08-13 09:45:44 +08:00
myifeng
a5a79b96d9
Merge branch 'alibaba:develop' into develop 2021-08-12 16:07:25 +08:00
myifeng
aba34d7fb3 fix: #6625 2021-08-12 16:05:23 +08:00
myifeng
fc27e77c3a
Remove unused code; Use Camel-Case;Optimize if statement; (#6616)
* Remove unused code;

* Optimize if statement;

* Use Camel-Case
2021-08-12 09:48:50 +08:00
brotherlu-xcq
46c1f7e6df
simple the logic of input RpcClient. (#6444) 2021-08-11 13:42:38 +08:00
孙继峰
2343a4ed14
add unit test to HttpUtils (#6617) 2021-08-11 13:34:18 +08:00
secbro2
0dffe2e769
change the "initialCapacity" of HashMap (#6588)
* HashMap自动扩容因子0.75,此处默认值会自动扩容一次。

* Revert "HashMap自动扩容因子0.75,此处默认值会自动扩容一次。"

This reverts commit e7b2055e

* 修复HashMap自动扩容一次问题
2021-08-11 13:31:49 +08:00
myifeng
b2f632d34a Use Camel-Case 2021-08-10 18:20:13 +08:00
myifeng
ec1ea55536 Optimize if statement; 2021-08-10 18:19:14 +08:00
myifeng
020354e068 Remove unused code; 2021-08-10 18:17:58 +08:00
brotherlu-xcq
025bee74c9
[ISSUE #6535] throw the NacosException in 2.x to keep same with 1.x when Service doesn't exist. (#6597)
* [ISSUE #6535] throw the service not find exception in Nacos 2.x when service no exist.

* [ISSUE #6535] remove the unnecessary variable.
2021-08-10 09:41:17 +08:00
赵延
1a3c8cfb60
fix npe when connection is not established. (#6534) 2021-08-10 09:31:40 +08:00
孙继峰
4c1175acf0
add retryTimes check (#6594) 2021-08-09 10:05:42 +08:00
MajorHe1
0b15090bab
[ISSUE #6572] add client info for OperatorController metrics interface (#6576)
* [ISSUE #6572] add client info for OperatorController metrics interface

* [ISSUE #6572] move PERSISTENT_SUFFIX to ClientConstants
2021-08-09 09:52:32 +08:00
ZZQ的
d54789dbc3
Remove expired TODO (#6586)
* Remove expired TODO

* Format code
2021-08-09 09:50:11 +08:00
brotherlu-xcq
fa2d4d0eb4
[ISSUE #6551] fix the console log and the dismiss word. (#6590) 2021-08-09 09:48:45 +08:00
孙继峰
f91089eb90
[ISSUE #6595] Optimize RpcClient (#6596)
* replace explicit type argument with <>

* replace anonymous class with lambda

* remove redundant initializer

* format comment & log and fix typo

* add unit test to RpcClient::resolveServerInfo

* extend CollectionUtils::getOrDefault

* simplify RpcClient::resolveServerInfo

* remove unused variable
2021-08-09 09:42:37 +08:00
brotherlu-xcq
470b7bb37c
[ISSUE #6347] the delete his_config_info SQL modify in EmbeddedStorage. (#6574) 2021-08-06 11:10:39 +08:00
赵延
dfb926867a
when read-index read timeout, go to leader to read. (#6575) 2021-08-06 11:08:38 +08:00
孙继峰
4a134b233c
add unit test to RpcClient (#6584) 2021-08-06 11:06:30 +08:00
MajorHe1
765646db43
[ISSUE #6581] fix json deserialization error of ServiceController subscribers interface (#6582) 2021-08-06 09:46:08 +08:00
ZZQ的
ca89efb620
remove guava Iterables (#6563) 2021-08-05 09:37:08 +08:00
ZZQ的
ea864c8c5a
Remove pom dependency (#6561) 2021-08-05 09:35:49 +08:00
brotherlu-xcq
47d3afd0e4
[ISSUE #6487] [nacos-api] export the constant in the directory remote. (#6541)
* [ISSUE #6487] [nacos-api] export the constant in the directory remote.

* [ISSUE #6487] [nacos-api] export the constant in the directory exception.
2021-08-05 09:30:34 +08:00
brotherlu-xcq
831bea12b1
[ISSUE #6487] [nacos-api] export the constant in the directory naming. (#6540) 2021-08-04 14:07:28 +08:00
ZZQ的
1119d0336f
Replace "ThreadFactoryBuilder" API with jdk API and add unit test (#6532) 2021-08-04 13:56:26 +08:00
ZZQ的
995cd7a3a4
Replace "google.common.reflect.* TypeToken" API with jdk API (#6527)
* Replace "google.common.reflect.* TypeToken" API with jdk API

* update unit test
2021-08-04 13:52:40 +08:00
brotherlu-xcq
787e161fa9
[ISSUE #6543] Add unit tests for package com.alibaba.nacos.naming.core.*. (#6547)
* [ISSUE #6543] add the unit test of CatalogServiceV2Impl.

* [ISSUE #6543] add unit test of InstanceOperatorClientImpl, HealthOperatorV1ImplTest, HealthOperatorV2ImplTest.

* [ISSUE #6543] add unit test of ServiceOperatorV2Impl.
2021-08-04 09:53:21 +08:00
brotherlu-xcq
c19f8400ca
[ISSUE #6487] exprot the constant in directory config. (#6528) 2021-08-03 09:42:11 +08:00
ZZQ的
449480f68b
Refactor the cache to replace guava (#6520)
* Refactor the cache to replace guava

* Refactor CacheBuilder

* add unit test

* Format code
2021-08-03 09:30:26 +08:00
ZZQ的
c6c5cd45f1
Replace "google.common.base.Joiner" API with jdk API (#6501) 2021-08-02 10:07:08 +08:00
brotherlu-xcq
561b0e6f71
[ISSUE #6510] fix the F1 cannot full screen. (#6513) 2021-08-02 09:42:43 +08:00
Roger3581321
2ff8da4832
add final to modify the utility class (#6511) 2021-08-02 09:42:13 +08:00
ZZQ的
b0f7bfbba7
replace "google.common.base.Preconditions" API with jdk API (#6502)
* replace "google.common.base.Preconditions" API with jdk API

* delete static method import "lenitentFoment"

* add unit test
2021-07-30 16:35:46 +08:00
ZZQ的
a729001ec5
[Reduce dependence]>[Sets] Replace "google.common.collect.*" API with… (#6445)
* [Reduce dependence]>[Sets] Replace "google.common.collect.*" API with jdk API

* delete empty line separator
2021-07-30 16:32:38 +08:00
杨翊 SionYang
bd1c6d3b41
Upgrade 2.1.0-snapshot (#6505) 2021-07-29 15:53:42 +08:00
ZZQ的
8282f3d617
replace "google.common.base.Stopwatch" API with jdk API (#6500) 2021-07-29 10:56:12 +08:00
brotherlu-xcq
4dc87b4b25
[ISSUE #6296] optimize the new config page, when create the config successfully skip to list page. (#6496) 2021-07-29 10:52:10 +08:00
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