dubbo.git
9 months agoupdate version to 2.7.14 dubbo-2.7.14
horizonzy [Tue, 14 Sep 2021 19:27:20 +0000 (03:27 +0800)] 
update version to 2.7.14

9 months agoUse MapUtils instead of AttachmentsAdapter (#8772)
yizhenqiang [Tue, 14 Sep 2021 04:40:39 +0000 (12:40 +0800)] 
Use MapUtils instead of AttachmentsAdapter (#8772)

* Use MapUtils instead of AttachmentsAdapter

9 months ago[master] DefaultFuture turn off logging optimization for Channel(issue #8695) (#8778)
candy [Sun, 12 Sep 2021 16:04:27 +0000 (00:04 +0800)] 
[master] DefaultFuture turn off logging optimization for Channel(issue #8695) (#8778)

9 months ago[2.7] Update Hessian Lite Version (#8780)
Albumen Kevin [Sun, 12 Sep 2021 13:25:03 +0000 (21:25 +0800)] 
[2.7] Update Hessian Lite Version (#8780)

9 months agofix destroy NullPointerException and doOverrideIfNecessary (#8683)
zrlw [Sun, 12 Sep 2021 12:35:10 +0000 (20:35 +0800)] 
fix destroy NullPointerException and doOverrideIfNecessary (#8683)

IllegalStateException

9 months agoclose client immediately when destroy unused invoker (#8756)
zrlw [Sun, 12 Sep 2021 12:09:24 +0000 (20:09 +0800)] 
close client immediately when destroy unused invoker (#8756)

9 months agofix issue-8726 on master: improve code readability (#8749)
changfu [Sun, 12 Sep 2021 12:07:07 +0000 (20:07 +0800)] 
fix issue-8726 on master: improve code readability (#8749)

9 months agofix issue-8715 on master: failback retries=0 should only invoke once (#8743)
changfu [Sat, 11 Sep 2021 13:40:49 +0000 (21:40 +0800)] 
fix issue-8715 on master: failback retries=0 should only invoke once (#8743)

9 months agofix random assertions (#8702)
zrlw [Wed, 8 Sep 2021 06:04:08 +0000 (14:04 +0800)] 
fix random assertions (#8702)

9 months ago[master] Simplify and unify local address getting method (#8679)
zrlw [Wed, 8 Sep 2021 04:40:03 +0000 (12:40 +0800)] 
[master] Simplify and unify local address getting method (#8679)

* simplify and unify local address getting method

* simplify getIpByConfig()

9 months ago2.7.13 fix add serialize check switch (#8648)
Owen.Cai [Wed, 8 Sep 2021 03:29:30 +0000 (11:29 +0800)] 
2.7.13 fix add serialize check switch (#8648)

* add code

* use config to read config for SerializeClassChecker

9 months ago[master] fix ignored interface name matches method (#8629)
zrlw [Wed, 8 Sep 2021 02:43:56 +0000 (10:43 +0800)] 
[master] fix ignored interface name matches method (#8629)

* set literal pattern string for ignored given interface name tests

* add equals method for ignored given interface name comparison

* catch exception of ignored interface name matches method

* mock static method of final class NetworkInterface by Mockito

* improve test case of ignored given interface name with meta characters

* correct comment of ignoreNetworkInterface matches exception

10 months agofix issue-8387 on master (#8624)
changfu [Fri, 3 Sep 2021 13:50:38 +0000 (21:50 +0800)] 
fix issue-8387 on master (#8624)

10 months agoon branch 2.7.x, fix issue #8611, use HTTPS (#8632)
Wang Chengming [Fri, 3 Sep 2021 10:02:13 +0000 (18:02 +0800)] 
on branch 2.7.x, fix issue #8611, use HTTPS (#8632)

10 months agoFix on branch master, consumer invoke timeout cause NPE. (#8587)
Bazooka [Wed, 25 Aug 2021 10:38:06 +0000 (18:38 +0800)] 
Fix on branch master, consumer invoke timeout cause NPE. (#8587)

* Fix on branch master, consumer invoke timeout cause NPE.

* use Camel-Case rule

10 months agoFix mock:true configuration. (#8554)
changfu [Mon, 23 Aug 2021 05:44:18 +0000 (13:44 +0800)] 
Fix mock:true configuration. (#8554)

* fix issue8516

* add license to file

10 months agoadd code (#8537)
Owen.Cai [Mon, 23 Aug 2021 05:20:29 +0000 (13:20 +0800)] 
add code (#8537)

10 months agoFix the issue of taking the zone parameter value in ZoneAwareClusterInvoker (#8521)
灼华 [Mon, 23 Aug 2021 05:07:19 +0000 (13:07 +0800)] 
Fix the issue of taking the zone parameter value in ZoneAwareClusterInvoker (#8521)

10 months agofix #8378 parameter convert error (#8379)
lmj [Sun, 15 Aug 2021 14:18:00 +0000 (22:18 +0800)] 
fix #8378 parameter convert error (#8379)

10 months agorefactor MethodConfig by using mocking object created by Mockito (#8446)
wx930910 [Sun, 15 Aug 2021 09:45:24 +0000 (05:45 -0400)] 
refactor MethodConfig by using mocking object created by Mockito (#8446)

10 months agosolve the curator 5.0.0 testingServer npe.
dongdongyang [Fri, 13 Aug 2021 07:47:23 +0000 (15:47 +0800)] 
solve the curator 5.0.0 testingServer npe.

solve the curator 5.0.0 testingServer npe.

10 months agoUpgrade dependencies (#8391)
haoyann [Fri, 6 Aug 2021 15:20:07 +0000 (23:20 +0800)] 
Upgrade dependencies (#8391)

* upgrade netty、httpclient、zookeeper、tomcat、jetty、apollo、commons-io

* fix ci upgrade netty4_ssl_version

* revert zookeeper version

10 months agoupdate pom (#8429)
肖恒 [Thu, 5 Aug 2021 15:09:32 +0000 (23:09 +0800)] 
update pom (#8429)

11 months ago[2.7] Add Dynamic Configuration Override Support For ServiceDiscovery (#8389)
Albumen Kevin [Tue, 3 Aug 2021 07:39:58 +0000 (15:39 +0800)] 
[2.7] Add Dynamic Configuration Override Support For ServiceDiscovery (#8389)

11 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

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

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

11 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.

11 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)

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

11 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)

11 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)

11 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)

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

11 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.

11 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)

11 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.

11 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>
11 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)

11 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)

12 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)

12 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)

12 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 *

12 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)

12 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>
12 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)

12 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)

12 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)

12 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)

12 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)

12 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>
12 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>
12 months agoRemove needless toString convert (#8092)
Albumen Kevin [Fri, 18 Jun 2021 03:24:11 +0000 (11:24 +0800)] 
Remove needless toString convert (#8092)

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

optimize generic filter

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

12 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)

12 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

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

12 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

12 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)

12 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

12 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

12 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

12 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

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

12 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>
12 months agoFix duplicated import (#8015)
Albumen Kevin [Wed, 9 Jun 2021 03:41:13 +0000 (11:41 +0800)] 
Fix duplicated import (#8015)

12 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)

12 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)

12 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)

12 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

12 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)

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

12 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

12 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

12 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

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

12 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)

12 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

12 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>
12 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

12 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)

12 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)

12 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)

12 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)

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

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

13 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)

13 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

13 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

13 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)

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

13 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)

13 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

13 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

13 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)

13 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

13 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)

13 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

13 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