张远征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
xiaoheng1 [Fri, 30 Jul 2021 16:24:04 +0000 (00:24 +0800)]
update pom
xiaoheng1 [Fri, 30 Jul 2021 14:21:29 +0000 (22:21 +0800)]
fix bug
xiaoheng1 [Fri, 30 Jul 2021 13:06:26 +0000 (21:06 +0800)]
Fix the test case of HessianProtocol does not pass on some machines.
ken.lj [Tue, 27 Jul 2021 12:21:21 +0000 (20:21 +0800)]
throw exception on path+version not found when decoding request (#8357)
xiaoheng1 [Tue, 27 Jul 2021 10:24:54 +0000 (18:24 +0800)]
fix migrationRule bug (#8358)
zrlw [Tue, 27 Jul 2021 08:11:53 +0000 (16:11 +0800)]
change alibaba_spring_context_support_version to 1.0.11 (#8217)
赵延 [Tue, 27 Jul 2021 05:55:35 +0000 (13:55 +0800)]
fix instance change event name format problem. (#8346)
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)
lmj [Fri, 23 Jul 2021 02:54:09 +0000 (10:54 +0800)]
optimize ShortestResponseLoadBalance active param (#8318)
赵延 [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.
ken.lj [Tue, 13 Jul 2021 07:31:57 +0000 (15:31 +0800)]
Set specific serializer for native hessian and hessian rpc protocol (#8238)
赵延 [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.
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>
赵延 [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)
ken.lj [Fri, 9 Jul 2021 03:00:05 +0000 (11:00 +0800)]
disable telnet by default and fix ut, reset resources (#8239)
赵延 [Fri, 2 Jul 2021 05:32:49 +0000 (13:32 +0800)]
use service name mapping key to avoid logic conflict. (#8184)
lmj [Wed, 30 Jun 2021 03:09:11 +0000 (11:09 +0800)]
Add a default value to accessKeyId (#8136)
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 *
向技术致敬的码农 [Mon, 28 Jun 2021 11:02:49 +0000 (19:02 +0800)]
Delay export server should print stack trace if there are exception occur. (#8125)
老夫正年轻 [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>
Gong Dewei [Thu, 24 Jun 2021 08:02:17 +0000 (16:02 +0800)]
Tests transaction of callback method #8098 (#8120)
灼华 [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)
Gong Dewei [Wed, 23 Jun 2021 02:46:36 +0000 (10:46 +0800)]
Add tests for reference tag attribute (#8114)
zhox [Mon, 21 Jun 2021 02:32:34 +0000 (10:32 +0800)]
improve the code of URLStrParser.java (#8085)
zhox [Mon, 21 Jun 2021 02:31:22 +0000 (10:31 +0800)]
remove redundant class: \common\utils\ClassHelper.java (#8084)
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>
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>
Albumen Kevin [Fri, 18 Jun 2021 03:24:11 +0000 (11:24 +0800)]
Remove needless toString convert (#8092)
张志勇 [Fri, 18 Jun 2021 03:13:24 +0000 (11:13 +0800)]
optimize generic filter (#8067)
optimize generic filter
Gong Dewei [Wed, 16 Jun 2021 12:07:58 +0000 (20:07 +0800)]
Ignore invalid MetadataReportConfig (#8068)
xiaoheng1 [Tue, 15 Jun 2021 09:48:48 +0000 (17:48 +0800)]
Optimize StatusTelnetHandler code and extract constants (#8041)
灼华 [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
xiaoheng1 [Tue, 15 Jun 2021 09:42:52 +0000 (17:42 +0800)]
fix multi-registry bug (#8034)
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
灼华 [Tue, 15 Jun 2021 09:32:44 +0000 (04:32 -0500)]
Add the file parameter to MetadataReportBuilder (#8031)
Albumen Kevin [Fri, 11 Jun 2021 09:40:51 +0000 (17:40 +0800)]
upgrade to 2.7.13-SNAPSHOT
Albumen Kevin [Fri, 11 Jun 2021 09:39:43 +0000 (17:39 +0800)]
Merge branch '2.7.12-release' into apache-master
xiaoheng1 [Thu, 10 Jun 2021 16:38:51 +0000 (00:38 +0800)]
fix #8022 Optimize the ThreadPoolStatusCheckerTest test case (#8023)
fixes #8022
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
Roshi [Thu, 10 Jun 2021 15:45:49 +0000 (23:45 +0800)]
增加redisRegistry consumer侧的服务探活逻辑 (#7929)
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>
Albumen Kevin [Wed, 9 Jun 2021 03:41:13 +0000 (11:41 +0800)]
Fix duplicated import (#8015)
灼华 [Tue, 8 Jun 2021 16:08:23 +0000 (11:08 -0500)]
Add unit test for common module (#8000)
ken.lj [Tue, 8 Jun 2021 10:20:38 +0000 (18:20 +0800)]
Fix spring spi extension keeps printing warn log during starting. (#6144)
Xiong, Pin [Tue, 8 Jun 2021 09:20:01 +0000 (04:20 -0500)]
feat: Add testcase for DubboService#parameters to verify issue#3072 (#8001)
xiaoheng1 [Tue, 8 Jun 2021 08:31:56 +0000 (16:31 +0800)]
Optimize DubboProtocol code and extract constants (#8004)
fixes #8003
灼华 [Tue, 8 Jun 2021 08:30:59 +0000 (03:30 -0500)]
Optimize URL#addParameters method to reuse existing methods (#8005)
灼华 [Tue, 8 Jun 2021 08:23:41 +0000 (03:23 -0500)]
Add test case for URL (#8006)
Albumen Kevin [Tue, 8 Jun 2021 03:14:23 +0000 (11:14 +0800)]
Fix ut for AbstractConfigTest
Albumen Kevin [Tue, 8 Jun 2021 02:03:03 +0000 (10:03 +0800)]
Merge remote-tracking branch 'apache/master' into 2.7.12-release
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
Albumen Kevin [Mon, 7 Jun 2021 12:36:24 +0000 (20:36 +0800)]
prepare 2.7.12 release
xiaoheng1 [Mon, 7 Jun 2021 07:35:58 +0000 (15:35 +0800)]
Add test case for ExecutorRepository (#7994)
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
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>
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
passer [Mon, 7 Jun 2021 06:50:32 +0000 (14:50 +0800)]
Add unit test for ZoneAwareClusterInterceptor (#7974)
passer [Mon, 7 Jun 2021 06:49:22 +0000 (14:49 +0800)]
Add unit test for ConsumerContextClusterInterceptor(#7972)
ken.lj [Mon, 7 Jun 2021 06:46:25 +0000 (14:46 +0800)]
upgrade nacos to 1.4.2 (#7996)
huazhongming [Mon, 7 Jun 2021 06:45:17 +0000 (14:45 +0800)]
Keep the ProviderURLMergeProcessor API unchanged and change the configuration method. (#7998)
灼华 [Mon, 7 Jun 2021 06:36:21 +0000 (01:36 -0500)]
Add InfraAdapterTest (#7984)
灼华 [Sun, 6 Jun 2021 04:15:44 +0000 (23:15 -0500)]
add unit test for ScheduledCompletableFuture (#7963)
灼华 [Fri, 4 Jun 2021 08:45:14 +0000 (03:45 -0500)]
Add generics to avoid forced conversion (#7964)
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
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
灼华 [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)
灼华 [Thu, 3 Jun 2021 09:52:40 +0000 (17:52 +0800)]
Adjust constant name (#7958)
passer [Thu, 3 Jun 2021 09:24:55 +0000 (17:24 +0800)]
logs are stored using a Set replace with Queue (#7956)
灼华 [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
灼华 [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
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)
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
passer [Tue, 1 Jun 2021 15:00:38 +0000 (23:00 +0800)]
Replace list with set in ExtensionLoader (#7926)
灼华 [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
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
灼华 [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
xiaoheng1 [Tue, 1 Jun 2021 06:27:00 +0000 (14:27 +0800)]
add override annotation (#7940)
赵延 [Mon, 31 May 2021 12:40:05 +0000 (20:40 +0800)]
ConfigCenterConfig add constructor with address param as RegistryConfig,MetadataReportConfig. (#7468)
诣极 yì jí [Mon, 31 May 2021 12:33:18 +0000 (20:33 +0800)]
fix multiple registry onEvent not triggered. (#7440)
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
赵延 [Mon, 31 May 2021 12:05:40 +0000 (20:05 +0800)]
the forbidden change to false must depend on invokerUrls isNotEmpty. (#7270)
Albumen Kevin [Mon, 31 May 2021 04:06:01 +0000 (12:06 +0800)]
Disable ZkDynamicConfigTest (#7930)
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
passer [Mon, 31 May 2021 02:22:43 +0000 (10:22 +0800)]
Add test cases for dubbo-registry-zookeeper (#7921) (#7922)
灼华 [Mon, 31 May 2021 02:21:53 +0000 (10:21 +0800)]
Extract common logic for HttpProcessHandler to optimize it (#7918)
passer [Mon, 31 May 2021 02:18:51 +0000 (10:18 +0800)]
Fix dubbo-bom (#7915)
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
灼华 [Mon, 31 May 2021 02:16:03 +0000 (10:16 +0800)]
Limit the maximum number of lines for the clear command (#7911)
灼华 [Mon, 31 May 2021 02:15:23 +0000 (10:15 +0800)]
Optimize qos server to be compatible with linux epoll (#7910)
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>
灼华 [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
灼华 [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
Albumen Kevin [Sat, 29 May 2021 09:20:26 +0000 (17:20 +0800)]
Opt ThreadNameTest check (#7905)
Ziyun Yang [Fri, 28 May 2021 10:08:35 +0000 (03:08 -0700)]
Add unit test for SslConfig (#7881)
灼华 [Fri, 28 May 2021 09:48:27 +0000 (17:48 +0800)]
Add unit test for ThreadPoolStatusChecker (#7899)
Luo Luo [Fri, 28 May 2021 09:44:54 +0000 (02:44 -0700)]
Add dubbo-configcenter-apollo RemoveListener test (#7893)
灼华 [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
灼华 [Fri, 28 May 2021 09:19:06 +0000 (17:19 +0800)]
Fix the calculation error of TimeoutCountDown#elapsedMillis method (#7880)
灼华 [Fri, 28 May 2021 09:13:17 +0000 (17:13 +0800)]
Reuse the existing method of generating ServiceKey (#7875)