Commit Graph

4192 Commits

Author SHA1 Message Date
Huang YunKun b5201053d1
[CI] add source and javadoc jar to snapshot 2020-03-06 18:43:28 +08:00
Lei Jiang 4307c2b2fa
Add test cases for NacosMetadataReport (#5776)
* Add more test case for NacosMetadataReport

* Modify codes

* Modify comments

* Add more test case and modify codes

* Modify codes
2020-03-06 15:35:07 +08:00
Huang YunKun 7b92414ef3
extracting duplicate code in CountTelnetHandler (#5824) 2020-03-05 21:01:28 +08:00
Haiyang cb5c5763cc
call onThrowable when RPC call fail (#5828)
fixes  #5827
2020-03-04 16:29:56 +08:00
ken.lj e72b3b20d7
fix destroyAll called twice. (#5819)
fix #5813
2020-03-02 17:33:13 +08:00
ken.lj 5576991be3
Revert "[Dubbo-5813]prevent destroyAll method of DubboShutdownHook being invoked twice when using Spring (#5814)" (#5818)
This reverts commit 5194791f13.
2020-03-02 16:25:39 +08:00
ken.lj 0ee5acdaac copyright 2018-2020 2020-03-02 13:45:38 +08:00
tswstarplanet 5194791f13
[Dubbo-5813]prevent destroyAll method of DubboShutdownHook being invoked twice when using Spring (#5814)
* fix issue 5813, prevent destroyAll method of DubboShutdownHook being invoke twice when using Spring

* fix issue 5813
2020-03-01 23:49:05 +08:00
zechao zheng cd55cd78ca
add a switch to turn off cache URLs locally (#5804) 2020-03-01 18:20:22 +08:00
LiosWong 35e80b0c35
fix: Duplicate condition in 'if' statement inspection (#5802) 2020-02-29 18:33:20 +08:00
ken.lj ca288152a0
fix config-center configured in dubbo.properties does not work. (#5811)
fixes #5777
2020-02-28 19:50:06 +08:00
ken.lj 2a7b5d1dd2
fix metadata config does not take effect (#5809) 2020-02-28 19:09:00 +08:00
ken.lj 47ee52d122
Filter refactor, keep all callback methods inside Filter.Listener (#5731) 2020-02-28 18:10:43 +08:00
LiosWong 54b0d7e3f4
Remove duplicate dependency from [dubbo-bom] and [dubbo-demo-xml-consumer] (#5799) 2020-02-28 16:53:26 +08:00
ken.lj c783e55ec9
mrege 2.7.5-release into master branch (#5642) 2020-02-28 16:50:52 +08:00
ken.lj 0d88487fe0
GenericException compatible with 2.6.x or lower version (#5800)
fixes #4675
2020-02-28 16:32:00 +08:00
Mercy Ma 03133818ad
[Feature] To support the application choose the preferred network interface (#5801)
* Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh

* Polish /apache/dubbo#5297 : Only one of the multiple registration centers using nacos can register

* Polish /apache/dubbo#5442 : VERSION_KEY和GROUP_KEY为空时,注册到NACOS的服务名与alibaba实现不一致,导致无法消费

* Polish /apache/dubbo#5442 : Merge upstream/master

* Polish /apache/dubbo##5239 : Mock字段注入异常

* Polish /apache/dubbo##5239 : Mock字段注入异常

* Polish /apache/dubbo#5770 : Removing the interinal JDK API from FileSystemDynamicConfiguration

* Polish /apache/dubbo#5771 : [Enhancement] Refactor the APT test-cases implementation of dubbo-metadata-processor in Java 9+

* Bugfix for the test-cases

* Polish /apache/dubbo#5779 : Rename the local variables

* Add FieldUtils

* Polish /apache/dubbo#5795 : [Feature] To support the application choose the preferred network interface

* Polish /apache/dubbo#5442 : VERSION_KEY和GROUP_KEY为空时,注册到NACOS的服务名与alibaba实现不一致,导致无法消费
2020-02-28 16:12:23 +08:00
ken.lj 048fadf2c0
Distinguish getUrl and getConsumerUrl from Directory. (#5775)
* distinguish getUrl and getConsumerUrl from Directory
2020-02-27 10:43:18 +08:00
huazhongming 0f4e60dca3
[Dubbo-4697] Fix PojoUtils support localdatetime,lcaldate,localtime (#5783) 2020-02-26 00:58:34 -06:00
LiosWong 3d329736f9
fix: spelling incorrect (#5749) 2020-02-25 23:54:53 -06:00
ken.lj 195b074698
enhance configuration api (#5774) 2020-02-25 12:29:45 +08:00
Haiyang cca798c086
add hessian stream API (#5780) 2020-02-24 11:56:10 +08:00
Mercy Ma 56f1c1861b
2.7.6 Refactor + Enhancement (#5772)
* Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh

* Polish /apache/dubbo#5297 : Only one of the multiple registration centers using nacos can register

* Polish /apache/dubbo#5442 : VERSION_KEY和GROUP_KEY为空时,注册到NACOS的服务名与alibaba实现不一致,导致无法消费

* Polish /apache/dubbo#5442 : Merge upstream/master

* Polish /apache/dubbo##5239 : Mock字段注入异常

* Polish /apache/dubbo##5239 : Mock字段注入异常

* Polish /apache/dubbo#5770 : Removing the interinal JDK API from FileSystemDynamicConfiguration

* Polish /apache/dubbo#5771 : [Enhancement] Refactor the APT test-cases implementation of dubbo-metadata-processor in Java 9+

* Bugfix for the test-cases
2020-02-21 19:56:32 +08:00
ken.lj 12d99d686f
Refactor, configuration override does not work properly. (#5709) 2020-02-20 15:00:26 +08:00
Mercy Ma ff14005475
Polish #5442 (#5760)
* Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh

* Polish /apache/dubbo#5297 : Only one of the multiple registration centers using nacos can register

* Polish /apache/dubbo#5442 : VERSION_KEY和GROUP_KEY为空时,注册到NACOS的服务名与alibaba实现不一致,导致无法消费

* Polish /apache/dubbo#5442 : Merge upstream/master

* Polish /apache/dubbo##5239 : Mock字段注入异常

* Polish /apache/dubbo##5239 : Mock字段注入异常
2020-02-20 11:46:14 +08:00
张志勇 0e30d76495
nacos_registry_bugfix (#5212)
Co-authored-by: Xin Wang <xin.victorwang@gmail.com>
2020-02-19 16:02:24 +08:00
Mercy Ma eda947a8df
[#5297] Only one of the multiple registration centers using nacos can register (#5756)
* Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh

* Polish /apache/dubbo#5297 : Only one of the multiple registration centers using nacos can register
2020-02-19 14:30:33 +08:00
Mercy Ma f4af3ded4b
Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh (#5753) 2020-02-18 12:36:55 +08:00
Mercy Ma 7b0ae127a9
2.7.6 REST Metadata (#5738)
* Polish /apache/dubbo#4687 : Remove the duplicated test code in dubbo-config-spring

* Polish /apache/dubbo#4674 & /apache/dubbo#4470

* Polish /apache/dubbo#5093 : Revert the previous commit

* Polish apache/dubbo#5093 : [Feature] Dubbo Services generate the metadata of REST services

* Polish apache/dubbo#5306 : [Migration] Upgrade the @since tags in Javadoc migration cloud native to master

* Polish apache/dubbo#5306 : [Migration] Upgrade the @since tags in Javadoc migration cloud native to master

* Polish apache/dubbo#5309 : [ISSURE] The beans of Dubbo's Config can't be found on the ReferenceBean's initialization

* Polish apache/dubbo#5312 : Resolve the demos' issues of zookeeper and nacos

* Polish apache/dubbo#5313 : [Migration] migrate the code in common module from cloud-native branch to master

* Polish apache/dubbo#5316 : [Refactor] Replace @EnableDubboConfigBinding Using spring-context-support

* Polish apache/dubbo#5317 : [Refactor] Refactor ReferenceAnnotationBeanPostProcessor using Alibaba spring-context-suuport API

* Polish apache/dubbo#5321 : Remove BeanFactoryUtils

* Polish apache/dubbo#5321 : Remove AnnotatedBeanDefinitionRegistryUtils

* Polish apache/dubbo#5321 : Remove AnnotationUtils

* Polish apache/dubbo#5321 : Remove ClassUtils

* Polish apache/dubbo#5321 : Remove BeanRegistrar

* Polish apache/dubbo#5321 : Remove ObjectUtils

* Polish apache/dubbo#5321 : Remove PropertySourcesUtils

* Polish apache/dubbo#5325 : [Migration] To migrate dubbo-metadata-api from cloud-native branch

* Polish apache/dubbo#5326 : [Migration] To migrate dubbo-metadata-processor from cloud-native branch

* Polish apache/dubbo#5329 : [Feature] To add the default metadata into ServiceInstance

* Polish apache/dubbo#5339 : [Refactor] Refactor the DynamicConfiguration interface

* Polish bugfix

* Fixes test cases

* Merge remote-tracking branch 'upstream/master' into cloud-native-2.7.5

# Conflicts:
#	dubbo-configcenter/dubbo-configcenter-zookeeper/src/test/java/org/apache/dubbo/configcenter/support/zookeeper/ZookeeperDynamicConfigurationTest.java
#	dubbo-metadata/dubbo-metadata-api/src/test/java/org/apache/dubbo/metadata/DynamicConfigurationServiceNameMappingTest.java

* Merge remote-tracking branch 'upstream/master' into cloud-native-2.7.5

# Conflicts:
#	dubbo-configcenter/dubbo-configcenter-zookeeper/src/test/java/org/apache/dubbo/configcenter/support/zookeeper/ZookeeperDynamicConfigurationTest.java
#	dubbo-metadata/dubbo-metadata-api/src/test/java/org/apache/dubbo/metadata/DynamicConfigurationServiceNameMappingTest.java

* Polish /apache/dubbo#5721 : [Enhancement] Setting the default IDs for Dubbo's Config Beans

* Polish /apache/dubbo#5729 : [Optimization] To remove EnableDubboConfigBinding and EnableDubboConfigBindings

* Polish /apache/dubbo#5594 : [Feature] Add the resolver of ServiceRestMetadata based on Java Reflection

* Polish /apache/dubbo#5736 : [Feature] Introducing Conversion features

* Polish /apache/dubbo#5737 : [Feature] Introducing "dubbo-metadata-processor" module

* Polish /apache/dubbo#5594 : Change the Metadata implementation

* Polish /apache/dubbo#5594 : Fixed test cases

* Polish /apache/dubbo#5594 : Fixed test cases

* Polish /apache/dubbo#5594 : Fixed test cases

* Polish /apache/dubbo#5594 : Fixed test cases

* Polish /apache/dubbo#5594 : Fixed test cases

* Polish /apache/dubbo#5594 : Fixed test cases

* Polish /apache/dubbo#5594 : Fixed test cases

* Polish /apache/dubbo#5594 : Fixed test cases
2020-02-17 20:15:43 +08:00
tangcent d30ca86395
fix typo `CHARECTER` -> `CHARACTER` (#5744) 2020-02-15 21:37:44 +08:00
ken.lj 2031110c35 fix misuse, call getConsumerUrl 2020-02-13 21:38:46 +08:00
Mercy Ma b99b383718
[Optimization] To remove EnableDubboConfigBinding and EnableDubboConfigBindings (#5730)
* Polish /apache/dubbo#5721 : [Enhancement] Setting the default IDs for Dubbo's Config Beans

* Polish /apache/dubbo#5729 : [Optimization] To remove EnableDubboConfigBinding and EnableDubboConfigBindings
2020-02-11 13:12:03 +08:00
Mercy Ma 60e72bf5c9
Polish /apache/dubbo#5721 : [Enhancement] Setting the default IDs for Dubbo's Config Beans (#5725) 2020-02-10 20:13:03 +08:00
Kleber Tarcísio cd509a3b0c refactoring to remove feature envy. (#5559) 2020-02-10 16:22:09 +08:00
qinliujie c9f12ca177 MessageOnlyChannelHandler class should be consistent with the writing of the ExecutionChannelHandler class. (#5724)
fix #5256
2020-02-10 16:10:08 +08:00
weixing1204 5a62b55814
add Sentinel support for RedisRegistry(#5622) 2020-02-09 18:07:58 +08:00
withthewind c3d57008dd enhance the java doc of dubbo-rpc module. (#5566)
fix #3001
2020-02-09 13:44:34 +08:00
withthewind cf0af06c9d
Fix document comments in code blocks to multi-line comments (#5573) 2020-02-09 13:42:01 +08:00
ken.lj c29bb653e0
Fixes multi-registry subscription loadbalance strategy does not work properly. (#5686)
* refactor directory to make cluster and invoker load balance work

* add weight property in dubbo.xsd

* distinguish usage of getUrl and getConsumerUrl

* fix directory related UT

* fix ut
2020-02-09 13:33:27 +08:00
withthewind f4d97c5ae9 enhance the java doc of dubbo-common module. (#5575) 2020-02-09 13:20:11 +08:00
withthewind cb7d9f5ca0
enhance the java doc of dubbo-common module. (#5578) 2020-02-09 13:14:57 +08:00
GungnirLaevatain 74e2d6814a
remove duplicate code (#5577) 2020-02-09 13:14:40 +08:00
LiosWong 5b4816dfa6 fix:Remove unused variable parameters in AbstractProxyInvoker (#5651) 2020-02-09 12:56:11 +08:00
Mark 6d1afb4407
Fix RpcContext.asyncCall return when throw RpcException (#5607)
Fix #5606
2020-02-09 12:53:15 +08:00
AndyXu 89e1b94f10
Fix SelectTelnetHandler.telnet IndexOutOfBoundsException 2020-02-08 20:39:16 +08:00
Huang YunKun 882a8c430f
[Dubbo-4991] Fix zk client create logic (#5139)
fix #4991
2020-02-07 17:40:49 +08:00
Mercy Ma 95bd350cae
Polish /apache/dubbo#5446 : With @Reference, Aop does not work (#5717)
* Polish /apache/dubbo#5446 : With @Reference, Aop does not work

* Polish /apache/dubbo#5718 : [Infrastructure] Uprade com.alibaba.spring:spring-context-support 1.0.6

* Polish /apache/dubbo#5446 : With @Reference, Aop does not work
2020-02-07 12:19:35 +08:00
Kun Song 66131d2d9c
Remove duplicate dependency from dubbo-config-spring (#5716) 2020-02-06 21:44:17 +08:00
GungnirLaevatain 027c5a6c2d
inject reference bean from spring instead of ref object (#5454) 2020-02-06 17:16:33 +08:00
ken.lj ee77776296
publish event when exported. (#5715) 2020-02-06 11:19:02 +08:00