incubator-dubbo.git
6 hours agoAdd comments, manually merge #3181. master
ken.lj [Wed, 23 Jan 2019 09:32:56 +0000 (17:32 +0800)] 
Add comments, manually merge #3181.

7 hours agosimply telnet command enabled check logic (#3316)
kexianjun [Wed, 23 Jan 2019 09:27:51 +0000 (17:27 +0800)] 
simply telnet command enabled check logic (#3316)

* simply telnet command enabled check

7 hours agoOptimize heartbeat (#3299)
时无两丶 [Wed, 23 Jan 2019 09:14:44 +0000 (17:14 +0800)] 
Optimize heartbeat (#3299)

* Optimize heartbeat.
We should cancel the timeout when the client or server is close.

* change the hashedWheelTimer's ticks

* Optimize tasks keeper.

* fix timeout cancel to task cancel.
keep task directly.

11 hours agoMerge pull request #3295, unregister consumer url when client destroyed (referencecon... 3159/head
yì jí [Wed, 23 Jan 2019 04:44:37 +0000 (12:44 +0800)] 
Merge pull request #3295, unregister consumer url when client destroyed (referenceconfig#destroy).

* fix client reconnect offline provider.

* refactor cancel future.

* fix client reconnect offline provider.

* refactor cancel future.

* fix client reconnect offline provider.

* refactor cancel future.

* fix unregister when client destroyed

12 hours agouse beforeEach and afterEach
ken.lj [Wed, 23 Jan 2019 04:11:49 +0000 (12:11 +0800)] 
use beforeEach and afterEach

12 hours agoDegrade some UTs in dubbo-config-spring to use junit 4.
ken.lj [Wed, 23 Jan 2019 03:29:14 +0000 (11:29 +0800)] 
Degrade some UTs in dubbo-config-spring to use junit 4.

28 hours agoremove unused import (#3311)
Xin Wang [Tue, 22 Jan 2019 12:33:23 +0000 (20:33 +0800)] 
remove unused import (#3311)

* remove not used import

* remove unused import

28 hours agoremove not used import (#3309)
Xin Wang [Tue, 22 Jan 2019 11:48:38 +0000 (19:48 +0800)] 
remove not used import (#3309)

29 hours agoRemove usage of classes in Junit 4
ken.lj [Tue, 22 Jan 2019 11:03:37 +0000 (19:03 +0800)] 
Remove usage of classes in Junit 4

29 hours agoRemove usage of classes in Junit 4
ken.lj [Tue, 22 Jan 2019 10:52:16 +0000 (18:52 +0800)] 
Remove usage of classes in Junit 4

29 hours agoRemove usage of classes in Junit 4
ken.lj [Tue, 22 Jan 2019 10:48:56 +0000 (18:48 +0800)] 
Remove usage of classes in Junit 4

29 hours agoRemove usage of classes in Junit 4
ken.lj [Tue, 22 Jan 2019 10:47:01 +0000 (18:47 +0800)] 
Remove usage of classes in Junit 4

29 hours agoRemove usage of classes in Junit 4
ken.lj [Tue, 22 Jan 2019 10:37:01 +0000 (18:37 +0800)] 
Remove usage of classes in Junit 4

30 hours agoFix UT conflicts of merging 2.7.0-release
ken.lj [Tue, 22 Jan 2019 09:47:18 +0000 (17:47 +0800)] 
Fix UT conflicts of merging 2.7.0-release

31 hours agoMerge branch '2.7.0-release'
ken.lj [Tue, 22 Jan 2019 09:33:09 +0000 (17:33 +0800)] 
Merge branch '2.7.0-release'

# Conflicts:
# dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/AbstractRouter.java
# dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/router/ConfigConditionRouterTest.java
# dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/router/TagRouterTest.java
# dubbo-common/src/main/java/org/apache/dubbo/common/Constants.java
# dubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java
# dubbo-compatible/src/test/java/org/apache/dubbo/config/ConfigTest.java
# dubbo-compatible/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
# dubbo-compatible/src/test/java/org/apache/dubbo/rpc/cluster/RouterTest.java
# dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractConfig.java
# dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java
# dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractServiceConfig.java
# dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/RegistryConfig.java
# dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java
# dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/AbstractInterfaceConfigTest.java
# dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java
# dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ServiceConfigTest.java
# dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/cache/CacheTest.java
# dubbo-config/dubbo-config-spring/pom.xml
# dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java
# dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/ConfigCenterBean.java
# dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/ServiceBean.java
# dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/ConfigTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/ServiceBeanTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/AnnotationPropertyValuesAdapterTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/DubboConfigBindingBeanPostProcessorTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessorTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationBeanPostProcessorTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/DubboComponentScanRegistrarTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/DubboConfigBindingRegistrarTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/DubboConfigBindingsRegistrarTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/DubboConfigConfigurationTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboConfigTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/annotation/EnableDubboTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/context/annotation/provider/HelloServiceImpl.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/context/properties/DefaultDubboConfigBinderTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/extension/SpringExtensionFactoryTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/schema/DubboNamespaceHandlerTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/status/DataSourceStatusCheckerTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/status/SpringStatusCheckerTest.java
# dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/util/PropertySourcesUtilsTest.java
# dubbo-metadata-report/dubbo-metadata-report-zookeeper/src/test/java/org/apache/dubbo/metadata/store/zookeeper/ZookeeperMetadataReportTest.java
# dubbo-remoting/dubbo-remoting-zookeeper/src/test/java/org/apache/dubbo/remoting/zookeeper/curator/CuratorZookeeperTransporterTest.java
# dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/RpcContextTest.java
# dubbo-rpc/dubbo-rpc-dubbo/src/test/java/org/apache/dubbo/rpc/validation/ValidationTest.java
# dubbo-rpc/dubbo-rpc-hessian/pom.xml
# dubbo-rpc/dubbo-rpc-http/src/main/java/org/apache/dubbo/rpc/protocol/http/HttpProtocol.java

31 hours agoMerge branch '2.7.0-release' of https://github.com/apache/incubator-dubbo into 2...
ken.lj [Tue, 22 Jan 2019 08:49:04 +0000 (16:49 +0800)] 
Merge branch '2.7.0-release' of https://github.com/apache/incubator-dubbo into 2.7.0-release

31 hours agofurther enhancement for pull request #3297, also fix an issue introduced in this...
Ian Luo [Tue, 22 Jan 2019 08:48:06 +0000 (16:48 +0800)] 
further enhancement for pull request #3297, also fix an issue introduced in this pull request (#3303)

* further enhancement for pull request #3297, also fix an issue introduced
in this pull request

* rename the variable

* enhance the readability

33 hours agocode optimization (#3297)
huazhongming [Tue, 22 Jan 2019 06:41:37 +0000 (14:41 +0800)] 
code optimization (#3297)

37 hours agoImprove/heartbeat (#3276)
xujingfeng [Tue, 22 Jan 2019 03:05:10 +0000 (11:05 +0800)] 
Improve/heartbeat (#3276)

* add the notice of code style

* modify the pic

* del teh faq.md, move to dubbo admin

* improve:remove the heartbeat on server side

* improve:change the scope of timer to static

2 days agoFix typo (#3293) 2.7.0-release
Huang YunKun [Mon, 21 Jan 2019 13:00:08 +0000 (21:00 +0800)] 
Fix typo (#3293)

2 days ago[maven-release-plugin] prepare for next development iteration
Huxing Zhang [Mon, 21 Jan 2019 09:45:57 +0000 (17:45 +0800)] 
[maven-release-plugin] prepare for next development iteration

2 days ago[maven-release-plugin] prepare release dubbo-2.7.0 dubbo-2.7.0
Huxing Zhang [Mon, 21 Jan 2019 09:45:46 +0000 (17:45 +0800)] 
[maven-release-plugin] prepare release dubbo-2.7.0

2 days agoIgnore mvn wrapper binary files.
Huxing Zhang [Mon, 21 Jan 2019 09:16:11 +0000 (17:16 +0800)] 
Ignore mvn wrapper binary files.

2 days agoAdd shutdown command for telnet (#3280)
LiZhen [Mon, 21 Jan 2019 07:14:54 +0000 (15:14 +0800)] 
Add shutdown command for telnet (#3280)

* telnet add shutdown command

* refactor rename shutDown to shutdown

* remove unregister  in doDestroy

* unregister the ShutdownHook when the shutdown command invoked

2 days agoMerge branch '2.7.0-release' of https://github.com/apache/incubator-dubbo into 2...
ken.lj [Mon, 21 Jan 2019 06:49:15 +0000 (14:49 +0800)] 
Merge branch '2.7.0-release' of https://github.com/apache/incubator-dubbo into 2.7.0-release

2 days agoMove the iteration of methods of a service config to the if block of the class have...
Taosheng Wei [Mon, 21 Jan 2019 06:01:13 +0000 (14:01 +0800)] 
Move the iteration of methods of a service config to the if block of the class have method declared not by Object; remove some useless parameter type (#3282)

2 days agouse standardcharset.utf-8 instead of literal (#3285)
mjaow [Mon, 21 Jan 2019 05:54:25 +0000 (13:54 +0800)] 
use standardcharset.utf-8 instead of literal (#3285)

* use standardcharset.utf-8 instead of literal

* remove unused import

2 days agofix return type (#3284)
mjaow [Mon, 21 Jan 2019 03:15:02 +0000 (11:15 +0800)] 
fix return type (#3284)

3 days agoOptimize code: Fix Constructor to determine illegal logic problems (#3197)
于玉桔 [Sun, 20 Jan 2019 01:34:47 +0000 (09:34 +0800)] 
Optimize code: Fix Constructor to determine illegal logic problems (#3197)

3 days agoBring back redis auth UT (#3278)
Yuhao Bi [Sun, 20 Jan 2019 01:04:31 +0000 (09:04 +0800)] 
Bring back redis auth UT (#3278)

3 days ago[maven-release-plugin] prepare for next development iteration
Huxing Zhang [Sat, 19 Jan 2019 23:52:18 +0000 (07:52 +0800)] 
[maven-release-plugin] prepare for next development iteration

3 days ago[maven-release-plugin] prepare release dubbo-2.7.0
Huxing Zhang [Sat, 19 Jan 2019 23:52:07 +0000 (07:52 +0800)] 
[maven-release-plugin] prepare release dubbo-2.7.0

5 days ago[maven-release-plugin] prepare for next development iteration 3273/head
Huxing Zhang [Fri, 18 Jan 2019 03:05:09 +0000 (11:05 +0800)] 
[maven-release-plugin] prepare for next development iteration

5 days ago[maven-release-plugin] prepare release dubbo-2.7.0
Huxing Zhang [Fri, 18 Jan 2019 03:04:41 +0000 (11:04 +0800)] 
[maven-release-plugin] prepare release dubbo-2.7.0

5 days agoIgonre .patch file.
Huxing Zhang [Fri, 18 Jan 2019 02:32:41 +0000 (10:32 +0800)] 
Igonre .patch file.

5 days agoUpdate 2.7.0 release notes
Huxing Zhang [Fri, 18 Jan 2019 02:31:03 +0000 (10:31 +0800)] 
Update 2.7.0 release notes

5 days agomust shutdown thread pool when no in use (#3255)
苏承祥 [Fri, 18 Jan 2019 02:25:35 +0000 (10:25 +0800)] 
must shutdown thread pool when no in use (#3255)

* must shutdown thread pool when no in use

6 days agoOptimize the Apollo extension of Config-Center SPI
Huxing Zhang [Thu, 17 Jan 2019 09:31:46 +0000 (17:31 +0800)] 
Optimize the Apollo extension of Config-Center SPI

6 days agoFix final name.
Huxing Zhang [Thu, 17 Jan 2019 09:06:24 +0000 (17:06 +0800)] 
Fix final name.

6 days agoDeactivate maven release profile.
Huxing Zhang [Thu, 17 Jan 2019 03:05:59 +0000 (11:05 +0800)] 
Deactivate maven release profile.

6 days agoMove the doclint configuration to correct position.
Huxing Zhang [Sun, 13 Jan 2019 13:17:23 +0000 (21:17 +0800)] 
Move the doclint configuration to correct position.

6 days agoUpdate the Java SE link to Java 8.
Huxing Zhang [Sun, 13 Jan 2019 13:07:44 +0000 (21:07 +0800)] 
Update the Java SE link to Java 8.

6 days agoAdd activation for the release profile
Huxing Zhang [Sun, 13 Jan 2019 13:06:47 +0000 (21:06 +0800)] 
Add activation for the release profile

6 days agoMerge 2.6.6 source code into 2.7 (#3241)
小马哥 [Thu, 17 Jan 2019 02:31:07 +0000 (10:31 +0800)] 
Merge 2.6.6 source code into 2.7 (#3241)

* Merge 2.6.6 source code into 2.7

* Fixed logging level for https://github.com/apache/incubator-dubbo/pull/3241#discussion_r248195964

* Change the implementation for apache/incubator-dubbo#3241

* Remove the implementation Ordered, because it does not work in Spring Framework : apache/incubator-dubbo#3241

* Remove the implementation Ordered, because it does not work in Spring Framework : apache/incubator-dubbo#3241

* Only Optimize Imports

6 days agomodify some typos (#3257)
mimihom [Thu, 17 Jan 2019 02:19:32 +0000 (10:19 +0800)] 
modify some typos (#3257)

* modify some typos

* fix some other addionalParameterKeys and paramter typos

6 days agoremove getContext() (#3235)
Ian Luo [Thu, 17 Jan 2019 02:17:11 +0000 (10:17 +0800)] 
remove getContext() (#3235)

7 days agoProtocol compatibility (#3254)
ken.lj [Wed, 16 Jan 2019 11:23:05 +0000 (19:23 +0800)] 
Protocol compatibility (#3254)

add default method into Protocol .

7 days agoExtract compareTo impl to Router interface and concrete Router only responsible for...
ken.lj [Wed, 16 Jan 2019 11:18:14 +0000 (19:18 +0800)] 
Extract compareTo impl to Router interface and concrete Router only responsible for provide priority. (#3240)

something is waiting for us to disscuss:
1. Every Route implement should set a priority?
2.https://github.com/apache/incubator-dubbo/issues/3249

7 days agoMerge pull request #3246 from cvictory:2.7.0-release remove gson from dubbo.jar in...
cvictory [Wed, 16 Jan 2019 08:11:53 +0000 (16:11 +0800)] 
Merge pull request #3246 from cvictory:2.7.0-release remove gson from dubbo.jar in shading mode , and change to dependency way.

* just for modify comments and imports

* remove gson from dubbo.jar in shading mode, add dependency

7 days agoQos heart (#3170)
huazhongming [Wed, 16 Jan 2019 07:27:39 +0000 (15:27 +0800)] 
Qos heart (#3170)

* qos heart question fix #3165

* modify

* judge if it's a IdleStateEvent

* add UT

* modify

7 days agocall the util method (#3230)
huazhongming [Wed, 16 Jan 2019 07:11:12 +0000 (15:11 +0800)] 
call the util method (#3230)

* Code optimization, call the util method

* mofidy

* modify *

* import package

7 days agowrong event setting (#3043)
huazhongming [Wed, 16 Jan 2019 06:59:15 +0000 (14:59 +0800)] 
wrong event setting (#3043)

* wrong event setting

* modify event seeting

* modify

7 days agoModified to lower camel case (#3003)
huazhongming [Wed, 16 Jan 2019 02:05:52 +0000 (10:05 +0800)] 
Modified to lower camel case (#3003)

8 days ago[Dubbo-3231]keep TagRouter consistent with 2.6.x (#3233)
ken.lj [Tue, 15 Jan 2019 10:24:51 +0000 (18:24 +0800)] 
[Dubbo-3231]keep TagRouter consistent with 2.6.x (#3233)

* keep TagRouter consistent with 2.6.x

* refactor filterUsingStaticTag using lambda in tagRouter

8 days agoRemove deprecated AnnotationBean, please refer #1485 for the new method to replace...
ken.lj [Tue, 15 Jan 2019 07:00:01 +0000 (15:00 +0800)] 
Remove deprecated AnnotationBean, please refer #1485 for the new method to replace. (#3232)

8 days agorefactor method name
ken.lj [Tue, 15 Jan 2019 06:58:55 +0000 (14:58 +0800)] 
refactor method name

8 days agorefactor method name
ken.lj [Tue, 15 Jan 2019 06:54:20 +0000 (14:54 +0800)] 
refactor method name

8 days ago[Dubbo-3226] guarantee interoperability with 2.6.x and lower versions (#3229)
ken.lj [Tue, 15 Jan 2019 06:35:13 +0000 (14:35 +0800)] 
[Dubbo-3226] guarantee interoperability with 2.6.x and lower versions (#3229)

* guarantee interoperability with 2.6.x and lower versions

* fix unit test, also adjust comments to fit with the code style

* change condition in isFramework270OrHigher() to 'version >= 2.7.0.0'

8 days agoRefactor telnet invoke command (#3210)
LiZhen [Tue, 15 Jan 2019 06:28:42 +0000 (14:28 +0800)] 
Refactor telnet invoke command (#3210)

* refactor telnet invoke command

* add select command for telnet

* fix test case

8 days agoadd 2.7.0 release notes
ken.lj [Tue, 15 Jan 2019 02:32:09 +0000 (10:32 +0800)] 
add 2.7.0 release notes

8 days agoOptimize the code: fix CallbackServiceCodec.java exportOrunexportCallbackService...
于玉桔 [Tue, 15 Jan 2019 01:42:03 +0000 (09:42 +0800)] 
Optimize the code: fix CallbackServiceCodec.java exportOrunexportCallbackService method issue. (#3199)

* Optimize the code: fix url to null, NullPointerException, change private variable to camel mode.
* Optimize the code: exportOrUnexportCallbackService method camel mode.
* Optimize the code: fix method:encodeInvocationArgument private callbackStatus is camel writing.
* Optimize the code: fix name issue
* Exporter is a noun, we should use a verb here, like Export.
* The generics that can be inferred automatically are also deleted.

9 days agoOptimize code: remove unnecessary judgment code. (#3196)
于玉桔 [Mon, 14 Jan 2019 15:34:29 +0000 (23:34 +0800)] 
Optimize code: remove unnecessary judgment code. (#3196)

9 days agoOptimize the code: use logger instead of printStackTrace(). (#3202)
于玉桔 [Mon, 14 Jan 2019 15:21:29 +0000 (23:21 +0800)] 
Optimize the code:  use logger instead of printStackTrace(). (#3202)

9 days ago Fix provicer --> provider (#3222)
mimihom [Mon, 14 Jan 2019 15:12:46 +0000 (23:12 +0800)] 
 Fix provicer --> provider (#3222)

9 days agojust for modify comments and imports (#3227)
cvictory [Mon, 14 Jan 2019 14:34:09 +0000 (22:34 +0800)] 
just for modify comments and imports (#3227)

9 days agofix #3179. Make registry, configcenter, matadata-report share a zooke… (#3182)
cvictory [Mon, 14 Jan 2019 09:51:17 +0000 (17:51 +0800)] 
fix #3179. Make registry, configcenter, matadata-report share a zooke… (#3182)

* fix #3179. Make registry, configcenter, matadata-report share a zookeeper connection

* fix #3179. optimize registry, configcenter, matadata-report share a zookeeper connection

* fix #3179. add licence

* fix some review issue: just optimize constuctor order and refactor some code

* modify HashMap to ConcurrentHashMap

* add some comments

* remove ZookeeperClientData and originalURLs

* remove ZookeeperClientData and originalURLs

* fix #3205 . add group into MetadataReport

* remove SOURCE_URL_KEY from Constants

* fix #3179 , #3205, #3218.  modify review issue; when sharing zookeeper connection, it should judge zookeeperClient.isConnected()

9 days agoMerge pull request #3224, support jax-rs annotation on interface as well as on impl.
jefflv [Mon, 14 Jan 2019 09:40:55 +0000 (17:40 +0800)] 
Merge pull request #3224, support jax-rs annotation on interface as well as on impl.

10 days agofix wrong word spelling (#3217)
mimihom [Sun, 13 Jan 2019 11:40:50 +0000 (19:40 +0800)] 
fix wrong word spelling (#3217)

10 days agoFormat change.
Huxing Zhang [Sun, 13 Jan 2019 09:51:26 +0000 (17:51 +0800)] 
Format change.

12 days agoAsync enhancement (#3184)
ken.lj [Fri, 11 Jan 2019 15:28:14 +0000 (23:28 +0800)] 
Async enhancement (#3184)

* Provider async enhancement, user doesn't have to use 'async=true' on provider side.

* only keep zero-args constructor

* stop router tag from being transferred in the RPC chain

* Code review: use 'this.future= new Future()''; remove setAsyncContext() from RpcContext

* revert getInternalFuture()

* Fix UT

12 days agoFix metadata report configuration error (#3183)
Forever杨 [Fri, 11 Jan 2019 08:33:09 +0000 (16:33 +0800)] 
Fix metadata report configuration error (#3183)

* fix prefix

* Missing '@Override' annotation

12 days ago[Dubbo-3169]Check future status before get(), return default value if not completed...
ken.lj [Fri, 11 Jan 2019 07:41:28 +0000 (15:41 +0800)] 
[Dubbo-3169]Check future status before get(), return default value if not completed yet. (#3185)

* Announce AsyncRpcResult internally use only;
Check future status before get().

* Code review: simplify code

12 days agoUpgrade junt to junit5 (#3149)
Xin Wang [Fri, 11 Jan 2019 03:26:04 +0000 (11:26 +0800)] 
Upgrade junt to junit5 (#3149)

* upgrade junit to junit5

* modify test

* 批量修改upgrade_junt_to_junit5

* 删除多余的文件

* fi test case

* Disabled soem test case temporarily

* upgrade junit to junit5 and batch modify test case

* copy some code from jupiter5.4.0.M1 for some issues

* 修改rat福泽

* update rat path

* revert case

* add junit-platform-surefire-provider to maven-surefire-plugin

* update dependency

* fix coverage issue (#1)

* use jupiter 5.4.0-M1 and remove junit5 source code

13 days agoFix UT
ken.lj [Thu, 10 Jan 2019 05:16:07 +0000 (13:16 +0800)] 
Fix UT

2 weeks agoset literal 'protocol' for ReferenceBean 3178/head
ken.lj [Wed, 9 Jan 2019 13:08:27 +0000 (21:08 +0800)] 
set literal 'protocol' for ReferenceBean

2 weeks agoFix mock in UT
ken.lj [Wed, 9 Jan 2019 12:44:41 +0000 (20:44 +0800)] 
Fix mock in UT

2 weeks agoFix wrong reference
ken.lj [Wed, 9 Jan 2019 12:32:29 +0000 (20:32 +0800)] 
Fix wrong reference

2 weeks agoKeep parameters in registry url.
ken.lj [Wed, 9 Jan 2019 11:56:36 +0000 (19:56 +0800)] 
Keep parameters in registry url.

2 weeks agoFix DynamicConfiguration SPI config
ken.lj [Wed, 9 Jan 2019 11:55:07 +0000 (19:55 +0800)] 
Fix DynamicConfiguration SPI config

2 weeks agoput checkRegistry() inside refer() not before refer()
ken.lj [Wed, 9 Jan 2019 08:51:54 +0000 (16:51 +0800)] 
put checkRegistry() inside refer() not before refer()

2 weeks agofetch from ConfigManager if ConfigCenter is not set
ken.lj [Wed, 9 Jan 2019 07:43:21 +0000 (15:43 +0800)] 
fetch from ConfigManager if ConfigCenter is not set

2 weeks agoresolve merge conflicts
ken.lj [Wed, 9 Jan 2019 07:32:23 +0000 (15:32 +0800)] 
resolve merge conflicts

2 weeks agorefresh configCenter before start
ken.lj [Wed, 9 Jan 2019 07:16:43 +0000 (15:16 +0800)] 
refresh configCenter before start

2 weeks agoRouters zookeeper path (#3173)
ken.lj [Wed, 9 Jan 2019 07:15:58 +0000 (15:15 +0800)] 
Routers zookeeper path (#3173)

* give router rule a more layered extensiable ZK path:
* ../routers/condition
* ../routers/tag
* ../routers/otherRouter

* Fix UT

* Adjust ZK to handle layered routers path

* Remove BlackWhiteListRule

* Adjust code to avoid possible ConcurrentModificationException

* revert router from layered path to flat path:
/router/condition -> router-codition

* adjust router path in UT

* change suffix literal: router-condition to condition-router

* change suffix literal: router-condition to condition-router

2 weeks agorevert router from layered path to flat path:
ken.lj [Wed, 9 Jan 2019 06:00:49 +0000 (14:00 +0800)] 
revert router from layered path to flat path:
/router/condition -> router-codition

2 weeks agorefresh only once
ken.lj [Wed, 9 Jan 2019 05:33:28 +0000 (13:33 +0800)] 
refresh only once

2 weeks agoAdjust code to avoid possible ConcurrentModificationException
ken.lj [Wed, 9 Jan 2019 04:58:43 +0000 (12:58 +0800)] 
Adjust code to avoid possible ConcurrentModificationException

2 weeks agomodify metadata node path in zookeeper (#3166)
cvictory [Wed, 9 Jan 2019 03:13:02 +0000 (11:13 +0800)] 
modify metadata node path in zookeeper (#3166)

* modify metadata node path in zookeeper

* add licence

2 weeks agofix telnet trace times is always 1 (#3038)
LiZhen [Wed, 9 Jan 2019 02:59:22 +0000 (10:59 +0800)] 
fix telnet trace times is always 1 (#3038)

* fix telnet trace times is always 1

* use StringUtils determine if the string is empty

* Fix 3105 , make invoke command with Json string parameter without "class" key

* Fix 3105 ,Keep the class key to support overloaded methods

* optimize InvokerTelnetHandlerTest

2 weeks agoadd some small optimize (#3171)
XiaoJie Li [Wed, 9 Jan 2019 02:19:54 +0000 (10:19 +0800)] 
add some small optimize (#3171)

* modify some log describe

* use java8 lambda expression

2 weeks agoRemove BlackWhiteListRule
ken.lj [Tue, 8 Jan 2019 11:26:56 +0000 (19:26 +0800)] 
Remove BlackWhiteListRule

2 weeks agoAdjust ZK to handle layered routers path
ken.lj [Tue, 8 Jan 2019 10:57:02 +0000 (18:57 +0800)] 
Adjust ZK to handle layered routers path

2 weeks agooptimize ReconnectTimerTask's log output (#3162)
kexianjun [Tue, 8 Jan 2019 06:07:32 +0000 (14:07 +0800)] 
optimize ReconnectTimerTask's log output (#3162)

* optimize log output

* Separate logs for reconnect and close

* remove reconnect exception log

2 weeks agoFix UT
ken.lj [Tue, 8 Jan 2019 05:11:15 +0000 (13:11 +0800)] 
Fix UT

2 weeks agogive router rule a more layered extensiable ZK path:
ken.lj [Tue, 8 Jan 2019 04:55:32 +0000 (12:55 +0800)] 
give router rule a more layered extensiable ZK path:
* ../routers/condition
* ../routers/tag
* ../routers/otherRouter

2 weeks agofix UT
ken.lj [Tue, 8 Jan 2019 03:00:32 +0000 (11:00 +0800)] 
fix UT

2 weeks agoAdd javadoc for dubbo-serialization module(#3002). (#3004)
马金凯 [Tue, 8 Jan 2019 02:54:51 +0000 (10:54 +0800)] 
Add javadoc for dubbo-serialization module(#3002). (#3004)

Add javadoc for dubbo-serialization module(#3002).

2 weeks agofix UT
ken.lj [Tue, 8 Jan 2019 02:32:44 +0000 (10:32 +0800)] 
fix UT

2 weeks agocode optimization (#3167)
huazhongming [Tue, 8 Jan 2019 02:20:10 +0000 (10:20 +0800)] 
code optimization (#3167)

code optimization

2 weeks agoadd empty check at the start of setter.
ken.lj [Mon, 7 Jan 2019 13:25:14 +0000 (21:25 +0800)] 
add empty check at the start of setter.