dubbo.git
10 months agoupdate 3.0.2.1 release dubbo-3.0.2.1
Albumen Kevin [Thu, 19 Aug 2021 11:29:06 +0000 (19:29 +0800)] 
update 3.0.2.1 release

10 months agoCompact with dubbo-all without farbic-io (#8546)
Albumen Kevin [Thu, 19 Aug 2021 11:00:55 +0000 (19:00 +0800)] 
Compact with dubbo-all without farbic-io (#8546)

10 months agofix NPE on serialization checking when request timed out (#8547)
ken.lj [Thu, 19 Aug 2021 10:49:39 +0000 (18:49 +0800)] 
fix NPE on serialization checking when request timed out (#8547)

10 months agoFix nacos group inviable in consumer side (#8533)
Albumen Kevin [Thu, 19 Aug 2021 09:40:25 +0000 (17:40 +0800)] 
Fix nacos group inviable in consumer side (#8533)

* Fix nacos group inviable in consumer side

* remove getGroup method

10 months agoCompact with adaptive extensions when ApplicationModel is null (#8454)
Albumen Kevin [Mon, 9 Aug 2021 06:40:31 +0000 (14:40 +0800)] 
Compact with adaptive extensions when ApplicationModel is null (#8454)

10 months agoupgrade hessian-lite version (#8452)
Albumen Kevin [Mon, 9 Aug 2021 04:45:39 +0000 (12:45 +0800)] 
upgrade hessian-lite version (#8452)

10 months agoRefactor Codec check, default deny (#8449)
Albumen Kevin [Mon, 9 Aug 2021 03:46:57 +0000 (11:46 +0800)] 
Refactor Codec check, default deny (#8449)

* Refactor Codec check, default deny

* fix ut

* fix ut

* fix ut

* fix ut

10 months agoAdd volatile modifier to some variables (#8443)
灼华 [Sun, 8 Aug 2021 14:22:13 +0000 (22:22 +0800)] 
Add volatile modifier to some variables (#8443)

10 months agoRefactor service change listener. (#8404)
赵延 [Sun, 8 Aug 2021 14:19:19 +0000 (22:19 +0800)] 
Refactor service change listener. (#8404)

* refactor service change listener.

* destroyMetadataServiceProxy remove second param ServiceDiscovery.

* revert getAddresses param consumerURL

10 months agofixbug: Unit test often time out (#8439)
Xiong, Pin [Sun, 8 Aug 2021 14:18:07 +0000 (09:18 -0500)] 
fixbug: Unit test often time out (#8439)

1. Make sure zookeeper is shutdown after all testcases finished
2. Remove unused import
3. Update unnecessary multiple zookeeper instances to single zookeeper instance
4. Define SingleRegistryCenter and MultipleRegistryCenter

10 months agofix delete mesh rule npx (#8435)
haoyann [Sat, 7 Aug 2021 14:31:15 +0000 (22:31 +0800)] 
fix delete mesh rule npx (#8435)

10 months agoCompact with filed change declaration override for Javaassist (#8434)
Albumen Kevin [Fri, 6 Aug 2021 10:36:10 +0000 (18:36 +0800)] 
Compact with filed change declaration override for Javaassist (#8434)

* Compact with filed change declaration override for Javaassist

* skip final field

10 months agotest: Add testcases for checking Injvm protocol in multiple registry center (#8418)
Xiong, Pin [Fri, 6 Aug 2021 04:49:09 +0000 (23:49 -0500)] 
test: Add testcases for checking Injvm protocol in multiple registry center (#8418)

1. Refactor the previous source code for checking Injvm protocol in single registry center
2. Verify the exported services through the custom ServiceListener in multiple registry center
3. Verify the exported exporters through the custom ExporterListener in multiple registry center
4. Verify the filter chain through the custom Filter in multiple registry center

10 months agofix #8378 parameter convert error for 3.0 (#8414)
lmj [Fri, 6 Aug 2021 04:48:16 +0000 (12:48 +0800)] 
fix #8378 parameter convert error for 3.0 (#8414)

10 months agoRemove unused modifiable param (#8411)
灼华 [Fri, 6 Aug 2021 04:47:29 +0000 (12:47 +0800)] 
Remove unused modifiable param (#8411)

* Remove unused modifiable param

* FIX ut

10 months ago[3.0] Ensure generated config id is unique, checking existed config (#8322)
Gong Dewei [Fri, 6 Aug 2021 04:46:45 +0000 (12:46 +0800)] 
[3.0] Ensure generated config id is unique, checking existed config (#8322)

* ensure generated config id is unique, checking existed config

* Improve generating config-center/metadata-report config from registry

* override existed config with same id

10 months ago[3.0]Support SSL (#8116)
huazhongming [Fri, 6 Aug 2021 04:45:11 +0000 (12:45 +0800)] 
[3.0]Support SSL (#8116)

* support ssl

* fix

* integrate netty4 ssl

* fix first handler

* fix

* fix

* remove dep

11 months ago`org.apache.dubbo.*` add serialization whitelist (#8423)
haoyann [Thu, 5 Aug 2021 11:04:18 +0000 (19:04 +0800)] 
`org.apache.dubbo.*` add serialization whitelist (#8423)

11 months ago[3.0] dubbo bootstrap start re-entry, export/refer new services (#8409)
Gong Dewei [Thu, 5 Aug 2021 11:03:44 +0000 (19:03 +0800)] 
[3.0] dubbo bootstrap start re-entry, export/refer new services (#8409)

* dubbo bootstrap start re-entry, export/refer new services

* avoid re-entry start method multiple times in same thread

11 months agomove count down to final part to avoid meaningless waiting when exception throw ...
tonymarz [Thu, 5 Aug 2021 06:05:58 +0000 (14:05 +0800)] 
move count down to final part to avoid meaningless waiting when exception throw (#8406)

* currency call,lost reset

* move count down to final part to avoid meaningless waiting

Co-authored-by: fred.h <fred.h@binance.com>
11 months agoAdd unit test for BitList (#8415)
灼华 [Thu, 5 Aug 2021 06:05:15 +0000 (14:05 +0800)] 
Add unit test for BitList (#8415)

* Add unit test for BitList

* FIX UT

11 months agoAdd Kubernetes Mesh Rule Support (#8350)
Albumen Kevin [Wed, 4 Aug 2021 10:46:39 +0000 (18:46 +0800)] 
Add Kubernetes Mesh Rule Support (#8350)

* Add Kubernetes Mesh Rule Support

* pretty comment

* fix ut

11 months ago[3.0] Upgrade hessian lite version (#8386)
Albumen Kevin [Wed, 4 Aug 2021 10:46:25 +0000 (18:46 +0800)] 
[3.0] Upgrade hessian lite version (#8386)

* Upgrade hessian lite version

* fix RuntimeException

* fix RuntimeException

* support list

11 months agofix error when register dubbo bootstrap application listener in hsf consumer bean...
Gong Dewei [Tue, 3 Aug 2021 15:44:23 +0000 (23:44 +0800)] 
fix error when register dubbo bootstrap application listener in hsf consumer bean (#8410)

11 months ago[3.0] improve config bean initialization compatible with spring 3.x/4.1.x (#8407)
Gong Dewei [Tue, 3 Aug 2021 13:57:24 +0000 (21:57 +0800)] 
[3.0] improve config bean initialization compatible with spring 3.x/4.1.x (#8407)

* improve config bean initialization compatible with spring 3.x/4.1.x

* remove unused imports

* remove unused imports

11 months agotest: Add testcases for checking the process of exporting Injvm protocol (#8395)
Xiong, Pin [Tue, 3 Aug 2021 12:23:51 +0000 (07:23 -0500)] 
test: Add testcases for checking the process of exporting Injvm protocol (#8395)

1. Verify the exported services through the custom ServiceListener
2. Verify the exported exporters through the custom ExporterListener
3. Verify the filter chain through the custom Filter

11 months agoconfigcenter ban accessLogKey and FileRouterFactory key (#8388)
haoyann [Tue, 3 Aug 2021 12:21:35 +0000 (20:21 +0800)] 
configcenter ban accessLogKey and FileRouterFactory key (#8388)

11 months agoClean shared state pollution to avoid flaky tests. (#8401)
Yang Chen [Tue, 3 Aug 2021 06:37:15 +0000 (14:37 +0800)] 
Clean shared state pollution to avoid flaky tests. (#8401)

Fix a flaky test.

Clean shared state pollution to avoid flaky tests.

11 months agoresolve idea warning no beans of type found (#8396)
Wu Zhiguo [Tue, 3 Aug 2021 04:01:25 +0000 (12:01 +0800)] 
resolve idea warning no beans of type found (#8396)

11 months agoFix Metadata Service Info param filter not work (#8402)
Albumen Kevin [Tue, 3 Aug 2021 03:23:47 +0000 (11:23 +0800)] 
Fix Metadata Service Info param filter not work (#8402)

11 months agobugfix: Throw RpcException when NacosException occurred (#8382)
Xiong, Pin [Mon, 2 Aug 2021 03:50:44 +0000 (22:50 -0500)] 
bugfix: Throw RpcException when NacosException occurred (#8382)

1. Make the exception more explicit
2. Threw RepException instead of logging

11 months agoadd the lost @Override annotation of Config. (#8384)
brotherlu-xcq [Sun, 1 Aug 2021 03:01:07 +0000 (11:01 +0800)] 
add the lost @Override annotation of Config. (#8384)

11 months agoFix service parameter fetch order (#8385)
Albumen Kevin [Sun, 1 Aug 2021 02:59:31 +0000 (10:59 +0800)] 
Fix service parameter fetch order (#8385)

11 months agoFix ServiceInfo contains runtime params (#8376)
Albumen Kevin [Sun, 1 Aug 2021 01:50:49 +0000 (09:50 +0800)] 
Fix ServiceInfo contains runtime params (#8376)

11 months ago[3.0] Remove parse placeholder in beanName logic (#8368)
Wu Zhiguo [Fri, 30 Jul 2021 06:42:14 +0000 (14:42 +0800)] 
[3.0] Remove parse placeholder in beanName logic (#8368)

11 months agoCompatible with nacos grouping via group (#8320)
肖恒 [Fri, 30 Jul 2021 02:34:21 +0000 (10:34 +0800)] 
Compatible with nacos grouping via group (#8320)

* Compatible with nacos grouping via group

* move nacos.group to dubbo.registry.nacos module

11 months agochange mesh rule group to config default value (#8330)
haoyann [Fri, 30 Jul 2021 02:16:17 +0000 (10:16 +0800)] 
change mesh rule group to config default value (#8330)

11 months agoUpdate codecov branch
Albumen Kevin [Thu, 29 Jul 2021 07:46:36 +0000 (15:46 +0800)] 
Update codecov branch

11 months agotest: Add testcase to check exported services (#8355)
Xiong, Pin [Thu, 29 Jul 2021 07:42:54 +0000 (02:42 -0500)] 
test: Add testcase to check exported services (#8355)

1. Use SPI to load ServiceListener
2. Check if MetadataService exported successfully
3. Check if ServiceConfig exported successfully

11 months agosupport disable shutdown hook (#8369)
Gong Dewei [Thu, 29 Jul 2021 07:15:04 +0000 (15:15 +0800)] 
support disable shutdown hook (#8369)

11 months agoAdd the lost annotation of the Subclass of Protocol. (#8352)
brotherlu-xcq [Tue, 27 Jul 2021 03:14:27 +0000 (11:14 +0800)] 
Add the lost annotation of the Subclass of Protocol. (#8352)

* Add the lost annotation of the Subclass of Protocol.

* rollback the class generate in native.

11 months agoDependencies Upgrade (#8351)
Albumen Kevin [Mon, 26 Jul 2021 01:57:30 +0000 (09:57 +0800)] 
Dependencies Upgrade (#8351)

* Dependencies Upgrade

* fix ut

* update nacos version

* remove eclipse-collections dependency

* fix compile error

* revert 401c56e6

* exclude guava

* fix test compile

11 months agomake initialize synchronized (#8349)
Albumen Kevin [Mon, 26 Jul 2021 01:56:19 +0000 (09:56 +0800)] 
make initialize synchronized (#8349)

11 months ago[3.0]Nacos notify `ServiceInstancesChangedEvent` (#8345)
haoyann [Sat, 24 Jul 2021 14:00:26 +0000 (22:00 +0800)] 
[3.0]Nacos notify `ServiceInstancesChangedEvent` (#8345)

* Nacos notify ServiceInstancesChangedEvent

* use log println error

11 months agoRefactor compiler to generate new format stubs. (#8343)
ken.lj [Fri, 23 Jul 2021 09:47:09 +0000 (17:47 +0800)] 
Refactor compiler to generate new format stubs. (#8343)

11 months agocurrency call,lost reset (#8328)
tonymarz [Fri, 23 Jul 2021 02:58:11 +0000 (10:58 +0800)] 
currency call,lost reset (#8328)

Co-authored-by: fred.h <fred.h@binance.com>
11 months agoAdjust the modifier of DynamicParamTable#init method (#8332)
灼华 [Fri, 23 Jul 2021 02:35:55 +0000 (21:35 -0500)] 
Adjust the modifier of DynamicParamTable#init method (#8332)

* Adjust the modifier of DynamicParamTable#init method

* Put the call to the getParameters() method outside the loop

11 months agoRemove logger output when init & Fix Enum inaccessible cause NPE (#8336)
Albumen Kevin [Fri, 23 Jul 2021 02:32:46 +0000 (10:32 +0800)] 
Remove logger output when init & Fix Enum inaccessible cause NPE (#8336)

11 months agoMake first 10 calls notify not delay (#8337)
Albumen Kevin [Thu, 22 Jul 2021 09:40:47 +0000 (17:40 +0800)] 
Make first 10 calls notify not delay (#8337)

11 months agotest: Add integration testcases in consumer side (#8309)
Xiong, Pin [Wed, 21 Jul 2021 07:58:35 +0000 (02:58 -0500)] 
test: Add integration testcases in consumer side (#8309)

11 months agosupport native image (#8234)
张志勇 [Wed, 21 Jul 2021 02:43:19 +0000 (10:43 +0800)] 
support native image (#8234)

* support native image

* add annotations regarding native image

11 months agofix service discovery not work on bootstrap & fix address pollution (#8315)
Albumen Kevin [Wed, 21 Jul 2021 02:41:18 +0000 (10:41 +0800)] 
fix service discovery not work on bootstrap & fix address pollution (#8315)

* fix service discovery not work on bootstrap & fix address pollution

* fix invoker leakage when urlChanged

11 months agoUse TreeSet to ensure ServiceNames order (#8326)
Albumen Kevin [Wed, 21 Jul 2021 02:41:08 +0000 (10:41 +0800)] 
Use TreeSet to ensure ServiceNames order (#8326)

11 months agoFix Config id Override when both using API and Spring (#8321)
Albumen Kevin [Tue, 20 Jul 2021 06:03:01 +0000 (14:03 +0800)] 
Fix Config id Override when both using API and Spring (#8321)

11 months agoOptimize calculation of capacity in URLParam (#8319)
灼华 [Tue, 20 Jul 2021 05:21:32 +0000 (00:21 -0500)] 
Optimize calculation of capacity in URLParam (#8319)

11 months agosupport dubbo.registry.parameters.item3=value3 configuration properties (#8308)
xiaoheng1 [Tue, 20 Jul 2021 03:22:03 +0000 (11:22 +0800)] 
support  dubbo.registry.parameters.item3=value3 configuration properties (#8308)

11 months agoadd provider configuration override disable option (#8314)
Albumen Kevin [Mon, 19 Jul 2021 07:24:35 +0000 (15:24 +0800)] 
add provider configuration override disable option (#8314)

11 months agoTransfer qos interface to BaseCommand (#8175)
Honghan Zhu [Mon, 19 Jul 2021 06:50:42 +0000 (14:50 +0800)] 
Transfer qos interface to BaseCommand (#8175)

11 months agomerge 2.7 metadata annotations definition to 3.0 (#8305)
老夫正年轻 [Mon, 19 Jul 2021 04:54:09 +0000 (12:54 +0800)] 
merge 2.7 metadata annotations definition to 3.0 (#8305)

Co-authored-by: kalman03 <kalman03@qq.com>
11 months agooptimize unstandard code (#8272)
JdjzV [Mon, 19 Jul 2021 04:46:00 +0000 (12:46 +0800)] 
optimize unstandard code (#8272)

* optimize some unstandardized code

* fix ut

Co-authored-by: djz段竞哲 <jzduan@trip.com>
11 months ago[3.0] Improve async export / refer (#8186)
Wu Zhiguo [Mon, 19 Jul 2021 04:44:13 +0000 (12:44 +0800)] 
[3.0] Improve async export / refer (#8186)

* separate export and refer executor

* add export / refer background

* default thread num 10

* start a thread only when export/refer background

11 months agoFix metadata equals and instance listener (#8275)
ken.lj [Fri, 16 Jul 2021 11:40:15 +0000 (19:40 +0800)] 
Fix metadata equals and instance listener (#8275)

11 months agotest: Add integration testcase for testing ReferenceConfig and RegistryProtocol ...
Xiong, Pin [Fri, 16 Jul 2021 02:18:23 +0000 (21:18 -0500)] 
test: Add integration testcase for testing ReferenceConfig and RegistryProtocol (#8302)

11 months ago[3.0] Lock-free ConfigManager and improve config checking (#8289)
Gong Dewei [Fri, 16 Jul 2021 02:17:58 +0000 (10:17 +0800)] 
[3.0] Lock-free ConfigManager and improve config checking (#8289)

* Improve config equals() and toString() performance

* Lock-free ConfigManager through ConcurrentHashMap, improve reference config checking

11 months ago[3.0] Improve dynamic configuration initialization (#8294)
Gong Dewei [Fri, 16 Jul 2021 02:17:45 +0000 (10:17 +0800)] 
[3.0] Improve dynamic configuration initialization (#8294)

* Improve dynamic configuration initialization

* remove unused imports

11 months ago[3.0] Add Dynamic Configuration Override Support For ServiceDiscovery (#8300)
Albumen Kevin [Fri, 16 Jul 2021 02:17:25 +0000 (10:17 +0800)] 
[3.0] Add Dynamic Configuration Override Support For ServiceDiscovery (#8300)

* add consumer side config override support

* Add Lock for Metadata update

* update cache

* update comment

* Add need re-export support

* change configuration to env property

11 months agotest: Design integration testcase of the whole process for provider service exposure...
Xiong, Pin [Thu, 15 Jul 2021 11:06:26 +0000 (06:06 -0500)] 
test: Design integration testcase of the whole process for provider service exposure (#8296)

1. Refactor the previous design for integration testcase
2. Support single and multiple registry center
3. Optimize the zookeeper server instance and make sure there is only one instance

11 months agofix org.apache.dubbo.common.url.component.URLAddress#parse method to judge the isPath...
xiaoheng1 [Thu, 15 Jul 2021 10:52:41 +0000 (18:52 +0800)] 
fix org.apache.dubbo.common.url.component.URLAddress#parse method to judge the isPathAddress problem #8285 (#8286)

11 months agoRemove some local only parameters (#8291)
Albumen Kevin [Wed, 14 Jul 2021 09:25:20 +0000 (17:25 +0800)] 
Remove some local only parameters (#8291)

11 months ago[3.0] p2p invoke support wildcard url match. (#8247)
ZakiFan [Tue, 13 Jul 2021 14:48:40 +0000 (22:48 +0800)] 
[3.0] p2p invoke support wildcard url match. (#8247)

* p2p invoke support wildcard url match.

* add license

* add more testcases.

Co-authored-by: Stefan <zjfan@trip.com>
11 months agoCompatible for curator5. (#8263)
赵延 [Tue, 13 Jul 2021 14:47:25 +0000 (22:47 +0800)] 
Compatible for curator5. (#8263)

* compatible for curator5.

* compatible for curator5.

* fix ut.

* dependency fix.

* for compatible, dubbo-sample CompatibleRegistry use setMethod.

* ut fix.

* use curator as the default ZookeeperTransporter.

* ut fix.

* code clean. make ZookeeperTransporter inject at constructor.

11 months agoadd Endpoint default constructor. (#8277)
sh1yu [Tue, 13 Jul 2021 11:29:26 +0000 (19:29 +0800)] 
add Endpoint default constructor. (#8277)

Co-authored-by: sypeng <sypeng@iflytek.com>
11 months agoReplace with ring for registry notification & suppress property checker (#8282)
Albumen Kevin [Tue, 13 Jul 2021 08:33:35 +0000 (16:33 +0800)] 
Replace with ring for registry notification & suppress property checker (#8282)

* Replace with ring for registry notification & suppress property checker

* FIX UT

11 months agoadd TelnetHandlerAdapterTest to branch 3.0 (#8267)
dgz [Tue, 13 Jul 2021 07:31:23 +0000 (15:31 +0800)] 
add TelnetHandlerAdapterTest to branch 3.0 (#8267)

11 months agoAdd integration testcase for testing RegistryProtocol and ServiceDiscoveryRegistry...
Xiong, Pin [Tue, 13 Jul 2021 06:25:25 +0000 (01:25 -0500)] 
Add integration testcase for testing RegistryProtocol and ServiceDiscoveryRegistry (#8278)

Checks if ServiceDiscoveryRegistry works well using reflection

11 months agoFix Activated Extensions order (#8248)
Albumen Kevin [Tue, 13 Jul 2021 06:24:00 +0000 (14:24 +0800)] 
Fix Activated Extensions order (#8248)

* Fix Activated Extensions order

* recovery activate extensions order

* Fix NPE

* pretty code

* fix compiling error

* remove warn meg

11 months agoFix NPE when parse migration rule error happen (#8280)
Albumen Kevin [Tue, 13 Jul 2021 03:30:33 +0000 (11:30 +0800)] 
Fix NPE when parse migration rule error happen (#8280)

11 months agofix #8244 getServiceKey throw npe. (#8265)
xiaoheng1 [Mon, 12 Jul 2021 04:03:19 +0000 (12:03 +0800)] 
fix #8244 getServiceKey throw npe. (#8265)

11 months agoenhance metadata report config. (#8269)
赵延 [Mon, 12 Jul 2021 02:16:53 +0000 (10:16 +0800)] 
enhance metadata report config. (#8269)

11 months agoThrow the IllegalArgumentException if the address is empty to avoid NPE. (#8208)
blake.qiu [Mon, 12 Jul 2021 02:14:45 +0000 (10:14 +0800)] 
Throw the IllegalArgumentException if the address is empty to avoid NPE. (#8208)

* Throw the IllegalArgumentException if the address is empty to avoid NPE.

* Fix the unit test of parseURL and parseURLS

* Fixed the line indentation caused by the last commit

Co-authored-by: blake.qiu <blake.qiu@ly.com>
11 months agoAdd integration testcase for testing ServiceConfig and RegistryProtocol (#8246)
Xiong, Pin [Mon, 12 Jul 2021 01:58:25 +0000 (20:58 -0500)] 
Add integration testcase for testing ServiceConfig and RegistryProtocol (#8246)

* Add integration testcase for testing ServiceConfig and RegistryProtocol

1. define an integration framework
2. test RegistoryProtocol with dubbo protocol

* perf: Set INSTANCE as null after shutdow

11 months agoNot shuwdown ExecutorService when DefaultFuture. closeChannel() (#8189)
张远征hd [Sun, 11 Jul 2021 13:25:58 +0000 (21:25 +0800)] 
Not shuwdown ExecutorService when DefaultFuture. closeChannel() (#8189)

* fix 8172 for 3

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

* add UT

11 months agoremove hard code about port in URLBuilderTest and ProtocolConfigTest (#8252)
huijingxu [Sun, 11 Jul 2021 13:18:22 +0000 (21:18 +0800)] 
remove hard code about port in URLBuilderTest and ProtocolConfigTest (#8252)

Co-authored-by: xuhuijing <huijingxu@Ctrip.com>
11 months agoOptimize code in ServiceConfig.doExportUrlsFor1Protocol. (#8262)
JasmineJ1230 [Sun, 11 Jul 2021 13:15:56 +0000 (21:15 +0800)] 
Optimize code in ServiceConfig.doExportUrlsFor1Protocol. (#8262)

Co-authored-by: Annoyer <247221925@qq.com>
11 months agoRemove redundant 'get' action after 'computeIFAbsent', (#8260)
JasmineJ1230 [Sun, 11 Jul 2021 13:13:39 +0000 (21:13 +0800)] 
Remove redundant 'get' action after 'computeIFAbsent', (#8260)

Co-authored-by: Annoyer <247221925@qq.com>
11 months agoAdd test case for MethodDescriptor (#8236)
xiaoheng1 [Sun, 11 Jul 2021 13:12:34 +0000 (21:12 +0800)] 
Add test case for MethodDescriptor (#8236)

* fix #8235 add test case for MethodDescriptor

* add test scope

11 months ago[3.0] improve duplicated config checking and add tests for reference annotation....
Gong Dewei [Sun, 11 Jul 2021 13:08:00 +0000 (21:08 +0800)] 
[3.0] improve duplicated config checking and add tests for reference annotation. (#8253)

* Add tests for reference annotation

* Improve duplicated config checking

* extract config "dubbo.config.ignore-duplicated-interface"

11 months ago[3.0] Improve dubbo config beans and bootstrap initialization (#8168)
Gong Dewei [Sat, 10 Jul 2021 04:14:33 +0000 (12:14 +0800)] 
[3.0] Improve dubbo config beans and bootstrap initialization (#8168)

* Improve dubbo bootstrap initialization

* Initialize dubbo config beans before spring singleton beans

* add RAT

* Remove @PostConstruct method from AbstractConfig, register config beans in DubboConfigBeanInitializer

* fix tests

11 months agoService delay export config ignore metadata service (#8243)
Wu Zhiguo [Sat, 10 Jul 2021 04:13:13 +0000 (12:13 +0800)] 
Service delay export config ignore metadata service (#8243)

* service delay export config ignore metadata service

* service delay export config ignore metadata service

11 months agodon't trust the response from nacos server. (#8230)
赵延 [Fri, 9 Jul 2021 04:08:50 +0000 (12:08 +0800)] 
don't trust the response from nacos server. (#8230)

11 months agoFix ConfigCenterConfig.setAddress (#8242)
Gong Dewei [Fri, 9 Jul 2021 04:06:13 +0000 (12:06 +0800)] 
Fix ConfigCenterConfig.setAddress (#8242)

* fix ConfigCenterConfig.setAddress #8237

* add tests

11 months agoFix the problem that in the Triple protocol, an error will be reported immediately...
xiaoheng1 [Fri, 9 Jul 2021 02:00:08 +0000 (10:00 +0800)] 
Fix the problem that in the Triple protocol, an error will be reported immediately when the service is exposed (#8126)

* fix #8124 Fix the problem that in the Triple protocol, an error will be reported immediately when the service is exposed

* Wait for the channel to become available

* use CompletableFuture to optimize code

* use const object.

* remove initPromise.awaitUninterruptibly

* add test case for connectSync method.

* When the channel is unavailable, reset the connectedFuture

11 months agoRemove DubboLifecycleComponent (#8232)
Gong Dewei [Thu, 8 Jul 2021 14:13:23 +0000 (22:13 +0800)] 
Remove DubboLifecycleComponent (#8232)

11 months agoAdd test case for GrpcProtocol (#8228)
xiaoheng1 [Thu, 8 Jul 2021 14:10:36 +0000 (22:10 +0800)] 
Add test case for GrpcProtocol (#8228)

11 months agoOptimize CompletableFuture get (#8223)
Montos [Thu, 8 Jul 2021 14:09:09 +0000 (22:09 +0800)] 
Optimize CompletableFuture get (#8223)

11 months agoOptimize access permissions of variables (#8219)
Xiong, Pin [Thu, 8 Jul 2021 14:07:52 +0000 (09:07 -0500)] 
Optimize access permissions of variables (#8219)

11 months ago[3.0] verify method config, extract ConfigKeys (#8173)
Gong Dewei [Thu, 8 Jul 2021 14:06:43 +0000 (22:06 +0800)] 
[3.0] verify method config, extract ConfigKeys (#8173)

* verify method config, extract ConfigKeys

* Support ignore invalid method config

* fix methods NPE

11 months agoissues 8194 fix better (#8215)
fangliji [Thu, 8 Jul 2021 14:06:03 +0000 (22:06 +0800)] 
issues 8194 fix  better  (#8215)

* issues8197 if url is null continue

* issues8194 if orderedPropertiesProvider is null continue

* issues8194 mabe fix here can reduce NPE

* issues8194 maybe fix here can reduce NPE

Co-authored-by: liji.fang <liji.fang@ly.com>
11 months ago[3.0] Improve property placeholder resolving of reference bean (#8187)
Gong Dewei [Thu, 8 Jul 2021 14:04:43 +0000 (22:04 +0800)] 
[3.0] Improve property placeholder resolving of reference bean (#8187)

* Improve property placeholder resolving of config bean

* Fix tests

* register ReferenceAnnotationBeanPostProcessor as BeanPostProcessor early, improve reference key and reference name mapping

* get ReferenceAnnotationBeanPostProcessor from beanFactory, fix tests

* polish code

* Improve tests

11 months agoGRPC is compiled in default order (#8200)
Stack_XiaoMin [Thu, 8 Jul 2021 14:01:40 +0000 (22:01 +0800)] 
GRPC is compiled in default order (#8200)

Co-authored-by: tiangua <tiangua@gaoding.com>