dubbo.git
12 months ago[Dubbo-8172]Not shuwdown ExecutorService when DefaultFuture. closeChannel() (#8188) dubbo-2.7.13
张远征hd [Sun, 1 Aug 2021 02:45:59 +0000 (10:45 +0800)] 
[Dubbo-8172]Not shuwdown ExecutorService when DefaultFuture. closeChannel() (#8188)

* fix 8172

消费者端ExecutorService在运行期间不应该shutdown

* add UT

12 months agoupdate pom
xiaoheng1 [Fri, 30 Jul 2021 16:24:04 +0000 (00:24 +0800)] 
update pom

12 months agofix bug
xiaoheng1 [Fri, 30 Jul 2021 14:21:29 +0000 (22:21 +0800)] 
fix bug

12 months agoFix the test case of HessianProtocol does not pass on some machines.
xiaoheng1 [Fri, 30 Jul 2021 13:06:26 +0000 (21:06 +0800)] 
Fix the test case of HessianProtocol does not pass on some machines.

12 months agothrow exception on path+version not found when decoding request (#8357)
ken.lj [Tue, 27 Jul 2021 12:21:21 +0000 (20:21 +0800)] 
throw exception on path+version not found when decoding request (#8357)

12 months agofix migrationRule bug (#8358)
xiaoheng1 [Tue, 27 Jul 2021 10:24:54 +0000 (18:24 +0800)] 
fix migrationRule bug (#8358)

12 months agochange alibaba_spring_context_support_version to 1.0.11 (#8217)
zrlw [Tue, 27 Jul 2021 08:11:53 +0000 (16:11 +0800)] 
change alibaba_spring_context_support_version to 1.0.11 (#8217)

12 months agofix instance change event name format problem. (#8346)
赵延 [Tue, 27 Jul 2021 05:55:35 +0000 (13:55 +0800)] 
fix instance change event name format problem. (#8346)

12 months agofix String.format lack of arg which is from BroadcastClusterInvoker link #8341 (...
xiaoheng1 [Tue, 27 Jul 2021 03:11:11 +0000 (11:11 +0800)] 
fix String.format lack of arg which is from BroadcastClusterInvoker link #8341 (#8348)

12 months agooptimize ShortestResponseLoadBalance active param (#8318)
lmj [Fri, 23 Jul 2021 02:54:09 +0000 (10:54 +0800)] 
optimize ShortestResponseLoadBalance active param (#8318)

13 months agoCompatible with curator5 (#8264)
赵延 [Tue, 13 Jul 2021 14:47:42 +0000 (22:47 +0800)] 
Compatible with curator5  (#8264)

* compatible for curator5.

* dependency fix.

* fix ut.

* for compatible.

* ut fix.

* dependency fix.

* ut fix.

* remove useless import.

* ZookeeperTransporter remove adaptive mechanism.

* code clean. make ZookeeperTransporter inject at constructor.

13 months agoSet specific serializer for native hessian and hessian rpc protocol (#8238)
ken.lj [Tue, 13 Jul 2021 07:31:57 +0000 (15:31 +0800)] 
Set specific serializer for native hessian and hessian rpc protocol (#8238)

13 months agoEnhance metadata report config. (#8268)
赵延 [Mon, 12 Jul 2021 02:16:28 +0000 (10:16 +0800)] 
Enhance metadata report config. (#8268)

* 1.metadata-report-config support protocol and port.
2.make ConfigCenterConfig setAddress be same with RegistryConfig.

* revert provider-demo-xml xml config.

13 months agoUt telnet handler adapter test (#8258)
dgz [Sun, 11 Jul 2021 14:39:33 +0000 (22:39 +0800)] 
Ut telnet handler adapter test (#8258)

* add TelnetHandlerAdapterTest

* add ASF license header

Co-authored-by: pg <gpeng@trip.com>
13 months agofor compatible nacos server lower version, we should check the response from nacos...
赵延 [Sun, 11 Jul 2021 13:26:41 +0000 (21:26 +0800)] 
for compatible nacos server lower version, we should check the response from nacos server is null. (#8229)

13 months agodisable telnet by default and fix ut, reset resources (#8239)
ken.lj [Fri, 9 Jul 2021 03:00:05 +0000 (11:00 +0800)] 
disable telnet by default  and fix ut, reset resources (#8239)

13 months agouse service name mapping key to avoid logic conflict. (#8184)
赵延 [Fri, 2 Jul 2021 05:32:49 +0000 (13:32 +0800)] 
use service name mapping key to avoid logic conflict. (#8184)

13 months agoAdd a default value to accessKeyId (#8136)
lmj [Wed, 30 Jun 2021 03:09:11 +0000 (11:09 +0800)] 
Add a default value to accessKeyId (#8136)

13 months agogeneric serialization decode need use readObject() (#8141)
Owen.Cai [Mon, 28 Jun 2021 11:27:55 +0000 (19:27 +0800)] 
generic serialization decode need use readObject() (#8141)

* generic serialization decode need use readObject()

* fix import *

13 months agoDelay export server should print stack trace if there are exception occur. (#8125) 8148/head
向技术致敬的码农 [Mon, 28 Jun 2021 11:02:49 +0000 (19:02 +0800)] 
Delay export server should print stack trace if there are exception occur. (#8125)

13 months agoannotation cannt be serializable,so change to String (#7908)
老夫正年轻 [Thu, 24 Jun 2021 08:06:42 +0000 (16:06 +0800)] 
annotation cannt be serializable,so change to String (#7908)

* annotation cannt be serializable,so change to String

* delete unuse import

* fix checkstyle

* codestyle fix

Co-authored-by: kalman03 <kalman03@qq.com>
13 months agoTests transaction of callback method #8098 (#8120)
Gong Dewei [Thu, 24 Jun 2021 08:02:17 +0000 (16:02 +0800)] 
Tests transaction of callback method #8098 (#8120)

13 months agoFix the issue that the ReferenceConfigCache#destroy method does not call proxy.$destr...
灼华 [Thu, 24 Jun 2021 07:51:39 +0000 (02:51 -0500)] 
Fix the issue that the ReferenceConfigCache#destroy method does not call proxy.$destroy() (#8065)

13 months agoAdd tests for reference tag attribute (#8114)
Gong Dewei [Wed, 23 Jun 2021 02:46:36 +0000 (10:46 +0800)] 
Add tests for reference tag attribute (#8114)

13 months agoimprove the code of URLStrParser.java (#8085)
zhox [Mon, 21 Jun 2021 02:32:34 +0000 (10:32 +0800)] 
improve the code of URLStrParser.java (#8085)

13 months agoremove redundant class: \common\utils\ClassHelper.java (#8084)
zhox [Mon, 21 Jun 2021 02:31:22 +0000 (10:31 +0800)] 
remove redundant class: \common\utils\ClassHelper.java (#8084)

13 months agoEventPublishingServiceDiscovery add error log (#8066)
Roshi [Mon, 21 Jun 2021 02:16:56 +0000 (10:16 +0800)] 
EventPublishingServiceDiscovery add error log (#8066)

* add error log

* commit

Co-authored-by: roshilikang <roshilikang@didiglobal.com>
13 months agoadd cache for scan result. (#7477) (#8057)
pazi [Mon, 21 Jun 2021 02:11:30 +0000 (10:11 +0800)] 
add cache for scan result. (#7477) (#8057)

* issue: Component scan two times for @Service

* add cache for scan result. (#7477)

* remove redundant comments.

Co-authored-by: zhang.jie <zhangjie@pascall.xyz>
Co-authored-by: zhang.jie <zhangjie@rivamed.cn>
13 months agoRemove needless toString convert (#8092)
Albumen Kevin [Fri, 18 Jun 2021 03:24:11 +0000 (11:24 +0800)] 
Remove needless toString convert (#8092)

13 months agooptimize generic filter (#8067)
张志勇 [Fri, 18 Jun 2021 03:13:24 +0000 (11:13 +0800)] 
optimize generic filter (#8067)

optimize generic filter

14 months agoIgnore invalid MetadataReportConfig (#8068)
Gong Dewei [Wed, 16 Jun 2021 12:07:58 +0000 (20:07 +0800)] 
Ignore invalid MetadataReportConfig (#8068)

14 months agoOptimize StatusTelnetHandler code and extract constants (#8041)
xiaoheng1 [Tue, 15 Jun 2021 09:48:48 +0000 (17:48 +0800)] 
Optimize StatusTelnetHandler code and extract constants (#8041)

14 months agoRemove redundant code in ServiceConfig#checkAndUpdateSubConfigs method (#8036)
灼华 [Tue, 15 Jun 2021 09:46:50 +0000 (04:46 -0500)] 
Remove redundant code in ServiceConfig#checkAndUpdateSubConfigs method (#8036)

* Remove redundant code in ServiceConfig#checkAndUpdateSubConfigs method

* Remove unused import

14 months agofix multi-registry bug (#8034)
xiaoheng1 [Tue, 15 Jun 2021 09:42:52 +0000 (17:42 +0800)] 
fix multi-registry bug (#8034)

14 months ago[Dubbo-6720] fix bug same interface unexport and export fail. also support hotload...
Owen.Cai [Tue, 15 Jun 2021 09:41:01 +0000 (17:41 +0800)] 
[Dubbo-6720] fix bug same interface unexport and export fail. also support hotload service (#6720)

* delegate exportmap & support hotload

* add header

* delete unused import & change test code

* delete unused import

* check codestyle

* endline format

* add code

* add res code exporters func

* DelegateExporterMap referencing a map

* fix test  DelegateExporterMap interface change

14 months agoAdd the file parameter to MetadataReportBuilder (#8031)
灼华 [Tue, 15 Jun 2021 09:32:44 +0000 (04:32 -0500)] 
Add the file parameter to MetadataReportBuilder (#8031)

14 months agoupgrade to 2.7.13-SNAPSHOT
Albumen Kevin [Fri, 11 Jun 2021 09:40:51 +0000 (17:40 +0800)] 
upgrade to 2.7.13-SNAPSHOT

14 months agoMerge branch '2.7.12-release' into apache-master
Albumen Kevin [Fri, 11 Jun 2021 09:39:43 +0000 (17:39 +0800)] 
Merge branch '2.7.12-release' into apache-master

14 months agofix #8022 Optimize the ThreadPoolStatusCheckerTest test case (#8023)
xiaoheng1 [Thu, 10 Jun 2021 16:38:51 +0000 (00:38 +0800)] 
fix #8022 Optimize the ThreadPoolStatusCheckerTest test case (#8023)

fixes #8022

14 months agoFix urls may be null, and NullPointerException will be thrown in ConfigValidationUtil...
skyguard1 [Thu, 10 Jun 2021 16:06:18 +0000 (00:06 +0800)] 
Fix urls may be null, and NullPointerException will be thrown in ConfigValidationUtils (#8020) (#8021)

Fixes #8020

14 months ago增加redisRegistry consumer侧的服务探活逻辑 (#7929)
Roshi [Thu, 10 Jun 2021 15:45:49 +0000 (23:45 +0800)] 
增加redisRegistry consumer侧的服务探活逻辑 (#7929)

14 months agosupport <dubbo:annotation> element tag in xml when using legacy namespace. (#7995)
xiaoduanayu [Wed, 9 Jun 2021 10:41:33 +0000 (18:41 +0800)] 
support <dubbo:annotation> element tag in xml when using legacy namespace. (#7995)

Co-authored-by: debo <chenjc@wedoctor.com>
14 months agoFix duplicated import (#8015)
Albumen Kevin [Wed, 9 Jun 2021 03:41:13 +0000 (11:41 +0800)] 
Fix duplicated import (#8015)

14 months agoAdd unit test for common module (#8000)
灼华 [Tue, 8 Jun 2021 16:08:23 +0000 (11:08 -0500)] 
Add unit test for common module (#8000)

14 months agoFix spring spi extension keeps printing warn log during starting. (#6144)
ken.lj [Tue, 8 Jun 2021 10:20:38 +0000 (18:20 +0800)] 
Fix spring spi extension keeps printing warn log during starting. (#6144)

14 months agofeat: Add testcase for DubboService#parameters to verify issue#3072 (#8001)
Xiong, Pin [Tue, 8 Jun 2021 09:20:01 +0000 (04:20 -0500)] 
feat: Add testcase for DubboService#parameters to verify issue#3072 (#8001)

14 months agoOptimize DubboProtocol code and extract constants (#8004)
xiaoheng1 [Tue, 8 Jun 2021 08:31:56 +0000 (16:31 +0800)] 
Optimize DubboProtocol code and extract constants (#8004)

fixes  #8003

14 months agoOptimize URL#addParameters method to reuse existing methods (#8005)
灼华 [Tue, 8 Jun 2021 08:30:59 +0000 (03:30 -0500)] 
Optimize URL#addParameters method to reuse existing methods (#8005)

14 months agoAdd test case for URL (#8006)
灼华 [Tue, 8 Jun 2021 08:23:41 +0000 (03:23 -0500)] 
Add test case for URL (#8006)

14 months agoFix ut for AbstractConfigTest dubbo-2.7.12
Albumen Kevin [Tue, 8 Jun 2021 03:14:23 +0000 (11:14 +0800)] 
Fix ut for AbstractConfigTest

14 months agoMerge remote-tracking branch 'apache/master' into 2.7.12-release
Albumen Kevin [Tue, 8 Jun 2021 02:03:03 +0000 (10:03 +0800)] 
Merge remote-tracking branch 'apache/master' into 2.7.12-release

14 months agoDe-duplicate the filter returned by the getActivateExtension method (#7600)
xiaoheng1 [Tue, 8 Jun 2021 02:02:41 +0000 (10:02 +0800)] 
De-duplicate the filter returned by the getActivateExtension method (#7600)

* fix #7587 De-duplicate the filter returned by the getActivateExtension method

* add log.

* modify log.

* merge master

14 months agoprepare 2.7.12 release
Albumen Kevin [Mon, 7 Jun 2021 12:36:24 +0000 (20:36 +0800)] 
prepare 2.7.12 release

14 months agoAdd test case for ExecutorRepository (#7994)
xiaoheng1 [Mon, 7 Jun 2021 07:35:58 +0000 (15:35 +0800)] 
Add test case for ExecutorRepository (#7994)

14 months agofix: Support Lazy annotation issue#829 (#7981)
Xiong, Pin [Mon, 7 Jun 2021 07:26:35 +0000 (02:26 -0500)] 
fix: Support Lazy annotation issue#829 (#7981)

1. support Lazy Annotation for both @DubboService and @DubboReference
2. add testcase to check default-lazy-init and lazy-init in XML
3. add testcase to check Lazy annotation

14 months ago[LFUCache]Add frequency of key and delete the empty cache queue (#7967)
maizi [Mon, 7 Jun 2021 07:16:23 +0000 (15:16 +0800)] 
[LFUCache]Add frequency of key and delete the empty cache queue (#7967)

* 1.Change the freqTable from Array to TreeMap
2.Add a timeout field to determine if an empty queue can be deleted

* 1.Change the freqTable from Array to TreeMap
2.Add a timeout field to determine if an empty queue can be deleted
3.Add a method to get frequency of the key

* 1.Change the freqTable from Array to TreeMap
2.Add a timeout field to determine if an empty queue can be deleted
3.Add a method to get frequency of the key

* remove unused imports

Co-authored-by: liwenliang <liwenliang@weidian.com>
14 months ago[ISSUE #7943]Handle illegal characters uniformly (#7970)
haoyann [Mon, 7 Jun 2021 07:05:21 +0000 (15:05 +0800)] 
[ISSUE #7943]Handle illegal characters uniformly (#7970)

* handle illegal characters uniformly

* keep `handleInnerSymbol` is private

* remove unused import

14 months agoAdd unit test for ZoneAwareClusterInterceptor (#7974)
passer [Mon, 7 Jun 2021 06:50:32 +0000 (14:50 +0800)] 
Add unit test for ZoneAwareClusterInterceptor (#7974)

14 months agoAdd unit test for ConsumerContextClusterInterceptor(#7972)
passer [Mon, 7 Jun 2021 06:49:22 +0000 (14:49 +0800)] 
Add unit test for ConsumerContextClusterInterceptor(#7972)

14 months agoupgrade nacos to 1.4.2 (#7996)
ken.lj [Mon, 7 Jun 2021 06:46:25 +0000 (14:46 +0800)] 
upgrade nacos to 1.4.2 (#7996)

14 months agoKeep the ProviderURLMergeProcessor API unchanged and change the configuration method...
huazhongming [Mon, 7 Jun 2021 06:45:17 +0000 (14:45 +0800)] 
Keep the ProviderURLMergeProcessor API unchanged and change the configuration method. (#7998)

14 months agoAdd InfraAdapterTest (#7984)
灼华 [Mon, 7 Jun 2021 06:36:21 +0000 (01:36 -0500)] 
Add InfraAdapterTest (#7984)

14 months agoadd unit test for ScheduledCompletableFuture (#7963)
灼华 [Sun, 6 Jun 2021 04:15:44 +0000 (23:15 -0500)] 
add unit test for ScheduledCompletableFuture (#7963)

14 months agoAdd generics to avoid forced conversion (#7964)
灼华 [Fri, 4 Jun 2021 08:45:14 +0000 (03:45 -0500)] 
Add generics to avoid forced conversion (#7964)

14 months agoFix license (#7977)
Albumen Kevin [Fri, 4 Jun 2021 05:45:01 +0000 (13:45 +0800)] 
Fix license (#7977)

* Fix thrift ASF license header

* add .mvn ignore

* add ASF header

* remove protobuf notice

14 months agoadd test case for DubboProtocol (#7917)
xiaoheng1 [Thu, 3 Jun 2021 10:57:01 +0000 (18:57 +0800)] 
add test case for DubboProtocol (#7917)

* fix #7916 add test case for DubboProtocol

* add log

* add log

* add log

* bugfix

14 months agoFix the bug that calling the unregisterServiceInstance method in the DubboBootstrap...
灼华 [Thu, 3 Jun 2021 09:54:02 +0000 (17:54 +0800)] 
Fix the bug that calling the unregisterServiceInstance method in the DubboBootstrap#destroy method does not work (#7965)

14 months agoAdjust constant name (#7958)
灼华 [Thu, 3 Jun 2021 09:52:40 +0000 (17:52 +0800)] 
Adjust constant name (#7958)

14 months agologs are stored using a Set replace with Queue (#7956)
passer [Thu, 3 Jun 2021 09:24:55 +0000 (17:24 +0800)] 
logs are stored using a Set replace with Queue (#7956)

14 months agoFill conditionKeys collections when necessary (#7462)
灼华 [Thu, 3 Jun 2021 09:13:41 +0000 (17:13 +0800)] 
Fill conditionKeys collections when necessary (#7462)

* fill conditionKeys collections when necessary

* Use set container to handle multiple tildeKey situations

14 months agoUse constants instead of literals (#7962)
灼华 [Thu, 3 Jun 2021 08:54:04 +0000 (16:54 +0800)] 
Use constants instead of literals (#7962)

* Use constants instead of literals

* Remove unused variables

* Remove unnecessary modifiers

* Use constants instead of literals

14 months agoConsider the status of forbidden when checking that the registry is available (#7946)
Haichao [Thu, 3 Jun 2021 08:46:55 +0000 (16:46 +0800)] 
Consider the status of forbidden when checking that the registry is available (#7946)

14 months agoDubboProtocol#INSTANCE should not be initialized in the constructor (#7951)
xiaoheng1 [Wed, 2 Jun 2021 15:21:14 +0000 (23:21 +0800)] 
DubboProtocol#INSTANCE should not be initialized in the constructor (#7951)

* fix #7949 DubboProtocol#INSTANCE should not be initialized in the constructor

* bugfix

* Add clear system environment variable logic

14 months agoReplace list with set in ExtensionLoader (#7926)
passer [Tue, 1 Jun 2021 15:00:38 +0000 (23:00 +0800)] 
Replace list with set in ExtensionLoader (#7926)

14 months agoAdd unit test for PublishMetadata, Version command (#7906)
灼华 [Tue, 1 Jun 2021 14:54:46 +0000 (22:54 +0800)] 
Add unit test for PublishMetadata, Version command (#7906)

* Add unit test for Ready,PublishMetadata,Version command

* Add clear mechanism in unit test

* Fix unit test

* Fix unit test

* Fix unit test

* Fix unit test npe

* Fix unit test

* Fix unit test

* Debug ut

* Fix ut

* Debug ut

* Debug ut

* Debug ut

* Debug ut

* Debug ut

* Revert

* Debug ut

* Debug ut

* Remove ReadyTest

14 months agoFix DubboProtocol is not directly used externally (#7924)
xiaoheng1 [Tue, 1 Jun 2021 14:53:29 +0000 (22:53 +0800)] 
Fix DubboProtocol is not directly used externally (#7924)

* fix #7923 Fix DubboProtocol is not directly used externally

* add cleanup when destroy

* bugfix

* add invoker.destroy

14 months agoCache the parsed result of the HelpCommand and HelpTelnetHandler (#7919)
灼华 [Tue, 1 Jun 2021 14:51:49 +0000 (22:51 +0800)] 
Cache the parsed result of the HelpCommand and HelpTelnetHandler (#7919)

* Cache the parsed result of the HelpCommand and HelpTelnetHandler

* Modify the map type to WeakHashMap

14 months agoadd override annotation (#7940)
xiaoheng1 [Tue, 1 Jun 2021 06:27:00 +0000 (14:27 +0800)] 
add override annotation (#7940)

14 months agoConfigCenterConfig add constructor with address param as RegistryConfig,MetadataRepor...
赵延 [Mon, 31 May 2021 12:40:05 +0000 (20:40 +0800)] 
ConfigCenterConfig add constructor with address param as RegistryConfig,MetadataReportConfig. (#7468)

14 months agofix multiple registry onEvent not triggered. (#7440)
诣极 yì jí [Mon, 31 May 2021 12:33:18 +0000 (20:33 +0800)] 
fix multiple registry onEvent not triggered. (#7440)

14 months agoApplication-granular service registration and discovery are compatible with api calli...
xiaoheng1 [Mon, 31 May 2021 12:09:32 +0000 (20:09 +0800)] 
Application-granular service registration and discovery are compatible with api calling methods (#7369)

* solve #7364 Application-granular service registration and discovery are compatible with api calling methods

* add override annotation

* Add non-empty check

14 months agothe forbidden change to false must depend on invokerUrls isNotEmpty. (#7270)
赵延 [Mon, 31 May 2021 12:05:40 +0000 (20:05 +0800)] 
the forbidden change to false must depend on invokerUrls isNotEmpty. (#7270)

14 months agoDisable ZkDynamicConfigTest (#7930)
Albumen Kevin [Mon, 31 May 2021 04:06:01 +0000 (12:06 +0800)] 
Disable ZkDynamicConfigTest (#7930)

14 months agossl support ciphers&protocols (#7740)
Owen.Cai [Mon, 31 May 2021 02:42:51 +0000 (10:42 +0800)] 
ssl support ciphers&protocols (#7740)

* ssl support ciphers&protocals

* fix spell bug

* spell error

* add test

* fix import *

* add ASF license

* delete no need

14 months agoAdd test cases for dubbo-registry-zookeeper (#7921) (#7922)
passer [Mon, 31 May 2021 02:22:43 +0000 (10:22 +0800)] 
Add test cases for dubbo-registry-zookeeper (#7921) (#7922)

14 months agoExtract common logic for HttpProcessHandler to optimize it (#7918)
灼华 [Mon, 31 May 2021 02:21:53 +0000 (10:21 +0800)] 
Extract common logic for HttpProcessHandler to optimize it (#7918)

14 months agoFix dubbo-bom (#7915)
passer [Mon, 31 May 2021 02:18:51 +0000 (10:18 +0800)] 
Fix dubbo-bom (#7915)

14 months agoAdd test case for ServerStatusChecker (#7889)
xiaoheng1 [Mon, 31 May 2021 02:17:24 +0000 (10:17 +0800)] 
Add test case for ServerStatusChecker (#7889)

* fix #7888 add test case for ServerStatusChecker

* use available port

* modify getAvailablePort

* fix testGetAvailablePort test case.

* modify min_port=1

* make getAvailablePort Sync

* use random port as init value

* bugfix

* Use bitset to optimize code

* remote unused import

* remove unused import

* bugfix

* bugfix

* add log

* bugfix

* bugfix

14 months agoLimit the maximum number of lines for the clear command (#7911)
灼华 [Mon, 31 May 2021 02:16:03 +0000 (10:16 +0800)] 
Limit the maximum number of lines for the clear command (#7911)

14 months agoOptimize qos server to be compatible with linux epoll (#7910)
灼华 [Mon, 31 May 2021 02:15:23 +0000 (10:15 +0800)] 
Optimize qos server to be compatible with linux epoll (#7910)

14 months agoimprove the code that RegistryDirectory.java#destroyUnusedInvokers an… (#7902)
zhox [Mon, 31 May 2021 02:12:35 +0000 (10:12 +0800)] 
improve the code that RegistryDirectory.java#destroyUnusedInvokers an… (#7902)

* improve the code that RegistryDirectory.java#destroyUnusedInvokers and RegistryDirectory.java#toMergeInvokerList

* 1 fix with RegistryDirectory.java: remove unused imports

Co-authored-by: zhongxiong.zeng <zhongxiong.zeng@za.group>
14 months agoFix some bugs in publishMetadata command (#7903)
灼华 [Mon, 31 May 2021 02:06:30 +0000 (10:06 +0800)] 
Fix some bugs in publishMetadata command (#7903)

* Fix the bug that publishMetadata cmd does not work

* Adjust the delay schedule and time unit

1.Delay scheduling should be used instead of scheduled scheduling
2.The delay unit should be seconds, not milliseconds

14 months agoFix the problem that it does not work when using telnet for online/offline (#7901)
灼华 [Mon, 31 May 2021 02:04:34 +0000 (10:04 +0800)] 
Fix the problem that it does not work when using telnet for online/offline (#7901)

* Fix the problem that it does not work when using telnet for online/offline

* Add some examples to readyCommand

* Fix unit test

14 months agoOpt ThreadNameTest check (#7905)
Albumen Kevin [Sat, 29 May 2021 09:20:26 +0000 (17:20 +0800)] 
Opt ThreadNameTest check (#7905)

14 months agoAdd unit test for SslConfig (#7881)
Ziyun Yang [Fri, 28 May 2021 10:08:35 +0000 (03:08 -0700)] 
Add unit test for SslConfig (#7881)

14 months agoAdd unit test for ThreadPoolStatusChecker (#7899)
灼华 [Fri, 28 May 2021 09:48:27 +0000 (17:48 +0800)] 
Add unit test for ThreadPoolStatusChecker (#7899)

14 months agoAdd dubbo-configcenter-apollo RemoveListener test (#7893)
Luo Luo [Fri, 28 May 2021 09:44:54 +0000 (02:44 -0700)] 
Add dubbo-configcenter-apollo RemoveListener test (#7893)

14 months agoOptimize the registryAsConfigCenter/MetadataCenter method to return directly when...
灼华 [Fri, 28 May 2021 09:29:50 +0000 (17:29 +0800)] 
Optimize the registryAsConfigCenter/MetadataCenter method to return directly when the id exists in configManger (#7887)

* Optimize the registryAsConfigCenter method to return directly when the id exists in configManger

* Optimize the registryAsMetadataCenter method to return directly when the id exists in configManger

14 months agoFix the calculation error of TimeoutCountDown#elapsedMillis method (#7880)
灼华 [Fri, 28 May 2021 09:19:06 +0000 (17:19 +0800)] 
Fix the calculation error of TimeoutCountDown#elapsedMillis method (#7880)

14 months agoReuse the existing method of generating ServiceKey (#7875)
灼华 [Fri, 28 May 2021 09:13:17 +0000 (17:13 +0800)] 
Reuse the existing method of generating ServiceKey (#7875)