incubator-dubbo.git
6 hours ago[Enhancement]: RestProtocol (#3480) master
kezhenxu94 [Sun, 17 Feb 2019 05:51:12 +0000 (13:51 +0800)] 
[Enhancement]: RestProtocol (#3480)

6 hours agofix typo (#3491)
kezhenxu94 [Sun, 17 Feb 2019 05:32:15 +0000 (13:32 +0800)] 
fix typo (#3491)

2 days agoBranch refactor version (#3471)
wanghbxxxx [Fri, 15 Feb 2019 09:12:49 +0000 (17:12 +0800)] 
Branch refactor version (#3471)

2 days ago[Enhancement]: language level migration (#3485)
kezhenxu94 [Fri, 15 Feb 2019 09:05:10 +0000 (17:05 +0800)] 
[Enhancement]: language level migration (#3485)

* use java7 diamond operator

* replace Collections.sort with List.sort

* extract duplicated code blocks

* use StandardCharsets.UTF_8

* use try-with-resources

* use java7 diamond operator

* enhance log message

* fix unit tests failures

2 days agoenhancement: extract duplicated method calls to variable (#3482)
kezhenxu94 [Fri, 15 Feb 2019 06:01:39 +0000 (14:01 +0800)] 
enhancement: extract duplicated method calls to variable (#3482)

extract duplicated method calls to variable

2 days agoClass comment error (#3481)
Jia He [Fri, 15 Feb 2019 03:29:56 +0000 (11:29 +0800)] 
Class comment error (#3481)

3 days agoA follow up of 6058846, update apache pom version to 21
ken.lj [Thu, 14 Feb 2019 10:24:24 +0000 (18:24 +0800)] 
A follow up of 6058846, update apache pom version to 21

3 days agoMerge pull request #3470, Apache parent pom version is updated to 21.
Furkan KAMACI [Thu, 14 Feb 2019 10:22:39 +0000 (13:22 +0300)] 
Merge pull request #3470, Apache parent pom version is updated to 21.

4 days agopossibly bug fix (#3460)
wanghbxxxx [Wed, 13 Feb 2019 09:43:23 +0000 (17:43 +0800)] 
possibly bug fix (#3460)

4 days agoextract method to cache default extension name (#3456)
wanghbxxxx [Wed, 13 Feb 2019 02:48:19 +0000 (10:48 +0800)] 
extract method to cache default extension name (#3456)

4 days ago[Dubbo-3237]fix connectionMonitor in RestProtocol seems not work #3237 (#3455)
huazhongming [Tue, 12 Feb 2019 17:01:11 +0000 (01:01 +0800)] 
[Dubbo-3237]fix connectionMonitor in RestProtocol seems not work #3237 (#3455)

5 days agoAdd delay export test case (#3447)
LiZhen [Tue, 12 Feb 2019 08:16:16 +0000 (16:16 +0800)] 
Add delay export  test case (#3447)

5 days agoextract 2 methods: (#3453)
wanghbxxxx [Tue, 12 Feb 2019 07:52:38 +0000 (15:52 +0800)] 
extract 2 methods: (#3453)

isSetter: test if a method is a setter
getSetterProperty: get property for setter, for instance setVersion
return "version"

5 days agoBugfix/timeout queue full (#3451)
xujingfeng [Tue, 12 Feb 2019 04:23:30 +0000 (12:23 +0800)] 
Bugfix/timeout queue full (#3451)

replace ArrayBlockingQueue with LinkedBlockingQueue and remove capacity.

6 days agofix #2619: is there a problem in NettyBackedChannelBuffer.setBytes(...)? (#3448)
Ian Luo [Mon, 11 Feb 2019 09:51:09 +0000 (17:51 +0800)] 
fix #2619: is there a problem in NettyBackedChannelBuffer.setBytes(...)? (#3448)

6 days agorefactor javassist compiler: extract class CtClassBuilder (#3424)
wanghbxxxx [Mon, 11 Feb 2019 08:44:41 +0000 (16:44 +0800)] 
refactor javassist compiler: extract class CtClassBuilder (#3424)

* refactor JavassistCompiler

* rename variable names

* reformat code

* refactor: prepend modifier of constructor, field and method outside the
JavassistClassInfo

* add null for ClassUtils.getSimpleClassName

* rename JavassistClassInfo to CtClassBuilder

6 days agorefactor adaptive extension class code creation: extract class AdaptiveClassCodeGener...
wanghbxxxx [Mon, 11 Feb 2019 08:35:33 +0000 (16:35 +0800)] 
refactor adaptive extension class code creation: extract class AdaptiveClassCodeGenerator (#3419)

* refactor adaptive extension class code creation:
extract createAdaptiveExtensionClassCode to class
AdaptiveClassCodeGenerator

* add some comment

* add license and comment

* remove main method

6 days agoEnhance the java doc of dubbo-container module (#3437)
Ankit Kumar [Mon, 11 Feb 2019 03:15:27 +0000 (08:45 +0530)] 
Enhance the java doc of dubbo-container module (#3437)

Fixes #2994

6 days agoAdd checkstyle rule for redundant import (#3444)
Huang YunKun [Mon, 11 Feb 2019 02:08:40 +0000 (10:08 +0800)] 
Add checkstyle rule for redundant import (#3444)

* add checkstyle for redundant import and fix all issue in repo

* fix git diff issue

6 days agoremove duplicated unused method and move unit test (#3446)
kezhenxu94 [Mon, 11 Feb 2019 02:07:12 +0000 (10:07 +0800)] 
remove duplicated unused method and move unit test (#3446)

8 days agoUpdate junit to 5.4.0 release version (#3441)
Xin Wang [Fri, 8 Feb 2019 18:17:58 +0000 (02:17 +0800)] 
Update junit to 5.4.0 release version (#3441)

* update junit to 5.4.0 release version
* remove uesles config

8 days agoremove duplicated import (#3440)
kezhenxu94 [Fri, 8 Feb 2019 13:45:05 +0000 (21:45 +0800)] 
remove duplicated import (#3440)

2 weeks agoremove useless catch exception (#3421)
mjaow [Sun, 3 Feb 2019 12:08:20 +0000 (20:08 +0800)] 
remove useless catch exception (#3421)

2 weeks agoSupport multiple shared links (#2457)
yizhenqiang [Sun, 3 Feb 2019 08:35:21 +0000 (16:35 +0800)] 
Support multiple shared links (#2457)

* make dubbo support multiple shared links, upgrading RPC throughput

* Fix compilation error

* Fix compilation error

* opti import

* if add {}

* checkstyle fail

* fix getSharedClient referenceCount calculation error bug

* 优化 import

* Fix the problem that the getSharedClient thread is not safe

* Fix the problem that the getSharedClient thread is not safe

* Try fixing ci error, https://travis-ci.org/apache/incubator-dubbo/jobs/453185295

* 将DEFAULT_CONNECTIONS_KEY修改成SERVICE_CONNECTIONS_KEY

* dubbo.xsd add shareconnections attribute,

* Optimize code format

* Fix mult connect ghost connect  problem

* format code

* Remove the concept of ghostClientMap and ghost connection. In fact, ghostClient is LazyConnectExchangeClient. At present, the LazyConnectExchangeClient object is added directly in ReferenceCountExchangeClient to realize the mapping relationship with ReferenceCountExchangeClient. The relationship between previous ghostClient and url mapping is not applicable to the current new share. Multiple connections.

* Optimize the ReferenceCountExchangeClient and remove the reference to the lazyConnectExchangeClient because it doesn't make much sense; add locks in the close operation of the AbstractClient, because connect, disconnect, and close should not be done at the same time.

* format code

* try remove close lock

* Restore close method

* Restore ReferenceCountExchangeClient reference to LazyConnectExchangeClient object

* Optimize the logic of using the LazyConnectExchangeClient inside the ReferenceCountExchangeClient; Supplemental shared multi-connected unit test

2 weeks ago[Dubbo-3069]Use regular expressions to judge fix #3069 (#3093)
huazhongming [Sat, 2 Feb 2019 05:20:32 +0000 (13:20 +0800)] 
[Dubbo-3069]Use regular expressions to judge fix #3069 (#3093)

* Use regular expressions to judge fix #3069

*  moved into Constants class

* modify

* Unused import

* modify

* can not put it in front

* catch NumberFormatException and return 'null' if necessary

* remove recursive call

* support .1 and 1.

* modify

2 weeks agoevent of response fix#3244 (#3247)
huazhongming [Sat, 2 Feb 2019 03:42:20 +0000 (11:42 +0800)] 
event of response fix#3244 (#3247)

2 weeks agoimplement pull request #3412 on master branch (#3418)
Ian Luo [Sat, 2 Feb 2019 02:43:50 +0000 (10:43 +0800)] 
implement pull request #3412 on master branch (#3418)

2 weeks agorefactor loadClass method (#3410)
wanghbxxxx [Sat, 2 Feb 2019 02:34:21 +0000 (10:34 +0800)] 
refactor loadClass method (#3410)

* refactor: expression is always true, remove it
(names != null && names.length > 0)

* Update dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java

Co-Authored-By: wanghbxxxx <wanghbxxxx@gmail.com>
* Update ExtensionLoader.java

* Update ExtensionLoader.java

* Update ExtensionLoader.java

* Update ExtensionLoader.java

2 weeks agoAcesslog dateformat enhancemnet (#3274)
Imteyaz Ahmed Khan [Sat, 2 Feb 2019 02:31:09 +0000 (08:01 +0530)] 
Acesslog dateformat enhancemnet (#3274)

* #3026 Access log related changed

* Reviwe comment incorporated given by @satansk and removed unuded method

* Incorporated @beiwei30 review comment, incorporated common-lang3 time package modified version

* Added rat entry for common lang3 FastDateFormat related java files

* switch back to jdk's dateformatter

2 weeks agoupdate dubbo samples' link (#3413)
Song Kun [Fri, 1 Feb 2019 01:01:50 +0000 (09:01 +0800)] 
update dubbo samples' link (#3413)

2 weeks agopolish pom.xml (remove test profile and jvm permSize args) (#3407)
Huang YunKun [Thu, 31 Jan 2019 09:40:07 +0000 (17:40 +0800)] 
polish pom.xml (remove test profile and jvm permSize args) (#3407)

2 weeks ago[Enhancement] Use ThreadLocalRandom and try-with-resource (#3239)
Song Kun [Thu, 31 Jan 2019 09:31:54 +0000 (17:31 +0800)] 
[Enhancement] Use ThreadLocalRandom and try-with-resource (#3239)

* polish

* fix code reviews

* empty

2 weeks agoClean pom.xml file #3186 (#3211)
kezhenxu94 [Thu, 31 Jan 2019 09:07:53 +0000 (17:07 +0800)] 
Clean pom.xml file #3186 (#3211)

* update as requested
* add meta space size arguments

2 weeks agorefactor ScriptRouter: (#3404)
wanghbxxxx [Thu, 31 Jan 2019 06:12:10 +0000 (14:12 +0800)] 
refactor ScriptRouter: (#3404)

1, remove priority field, the same as super class
2, remove getUrl method, the same as super class
3, refactor constructor, extract method: getRule, getEngine
4, refactor route, extract method: createBindings, getRoutedInvokers

2 weeks ago[Dubbo-936]fix The nc command is unstable in the dubbo startup script #936 (#3375)
huazhongming [Thu, 31 Jan 2019 06:06:24 +0000 (14:06 +0800)] 
[Dubbo-936]fix The nc command is unstable in the dubbo startup script #936 (#3375)

* fix dubbo启动脚本中nc命令不稳定 #936

* modify

2 weeks agoFix license issues (#3382)
Huxing Zhang [Thu, 31 Jan 2019 03:26:49 +0000 (11:26 +0800)] 
Fix license issues (#3382)

* Fix license issues

* revert change to Netty's copyright

2 weeks agomake ConfigChangeEvent immutable (#3403)
wanghbxxxx [Thu, 31 Jan 2019 03:23:29 +0000 (11:23 +0800)] 
make ConfigChangeEvent immutable (#3403)

2 weeks agomove construction of ConfigChangeEvent outside the lambda expression (#3398)
wanghbxxxx [Thu, 31 Jan 2019 03:22:20 +0000 (11:22 +0800)] 
move construction of ConfigChangeEvent outside the lambda expression (#3398)

2 weeks agoEnhancement/logger factory (#3389)
kezhenxu94 [Thu, 31 Jan 2019 03:01:06 +0000 (11:01 +0800)] 
Enhancement/logger factory (#3389)

* polishing LoggerFactory
* polishing code using map.computeIfAbsent
* fix ci failure
* remove unnecessary break in switch
* call overloaded method
* update as requested
* add unit test

2 weeks agoMerge pull request #3341, start to use IdleStateHandler in Netty4.
Ian Luo [Thu, 31 Jan 2019 02:25:30 +0000 (10:25 +0800)] 
Merge pull request #3341, start to use IdleStateHandler in Netty4.

2 weeks agoModify deprecated class to updated class in some comments (#3402)
Taosheng Wei [Thu, 31 Jan 2019 01:42:16 +0000 (09:42 +0800)] 
Modify deprecated class to updated class in some comments (#3402)

2 weeks ago[Dubbo-3361] Make DubboAppender extends from FileAppender (#3383)
Yuhao Bi [Wed, 30 Jan 2019 14:24:02 +0000 (22:24 +0800)] 
[Dubbo-3361] Make DubboAppender extends from FileAppender (#3383)

2 weeks agofirst pull request (#3396)
hjq2016 [Wed, 30 Jan 2019 08:20:00 +0000 (16:20 +0800)] 
first pull request (#3396)

2 weeks ago[Enhancement] Replace explicit resource management with try-with-resource (#3281)
Song Kun [Wed, 30 Jan 2019 02:05:01 +0000 (10:05 +0800)] 
[Enhancement] Replace explicit resource management with try-with-resource (#3281)

2 weeks ago[Dubbo-3347] Update package name in README file fix#3347 (#3362)
huazhongming [Tue, 29 Jan 2019 09:18:15 +0000 (17:18 +0800)] 
[Dubbo-3347] Update package name in README file  fix#3347 (#3362)

2 weeks agofollow up for #3376 (#3377)
Ian Luo [Tue, 29 Jan 2019 08:35:24 +0000 (16:35 +0800)] 
follow up for #3376 (#3377)

2 weeks agocorrect typos,eg: occured -> occurred (#3380)
FrankBian [Tue, 29 Jan 2019 07:32:31 +0000 (15:32 +0800)] 
correct typos,eg: occured -> occurred (#3380)

LGTM

2 weeks agofollow up for #3291 (#3378)
Ian Luo [Tue, 29 Jan 2019 07:26:53 +0000 (15:26 +0800)] 
follow up for #3291 (#3378)

2 weeks agoenhance unit test and logging (#3374)
Ian Luo [Tue, 29 Jan 2019 07:26:28 +0000 (15:26 +0800)] 
enhance unit test and logging (#3374)

* enhance unit test and logging

* enhance logging message

* fix unit test

* make code clean

2 weeks ago应该是非空才循环,不然会导致在使用redis注册中心时消费者引用不到服务 (#3291)
鲁班学院-周瑜老师 [Tue, 29 Jan 2019 06:14:42 +0000 (14:14 +0800)] 
应该是非空才循环,不然会导致在使用redis注册中心时消费者引用不到服务 (#3291)

2 weeks agosimplify map empty judgment (#3376)
yì jí [Tue, 29 Jan 2019 05:38:51 +0000 (13:38 +0800)] 
simplify map empty judgment (#3376)

2 weeks ago[Dubbo-2423] Multicast demo fails with message "Can't assign requested address"....
ken.lj [Tue, 29 Jan 2019 02:17:23 +0000 (10:17 +0800)] 
[Dubbo-2423] Multicast demo fails with message "Can't assign requested address". (#3317)

* Fix #2423, Multicast demo fails with message "Can't assign requested address"

* temporarily disable ipv6 test

2 weeks agoFix self assignment (#3301)
Yuhao Bi [Tue, 29 Jan 2019 02:06:31 +0000 (10:06 +0800)] 
Fix self assignment (#3301)

* Fix self assignment
* Replace set with list to insure item order
* Minor tweak of codestyle

2 weeks agodelete useless judgment (#3326)
huazhongming [Mon, 28 Jan 2019 09:44:00 +0000 (17:44 +0800)] 
delete useless judgment (#3326)

2 weeks ago[Dubbo-900] Fix 通过 override 修改 hessian协议的提供者的配置 不生效 #900 (#3363)
huazhongming [Mon, 28 Jan 2019 09:41:45 +0000 (17:41 +0800)] 
[Dubbo-900] Fix 通过 override 修改 hessian协议的提供者的配置 不生效 #900 (#3363)

* reExport fail fix#900

* modify

* use Objects.equals

* compare URL for all proxy protocol

2 weeks agoFix compilation error fix #3365 (#3366)
huazhongming [Mon, 28 Jan 2019 09:10:41 +0000 (17:10 +0800)] 
Fix compilation error fix #3365 (#3366)

3 weeks agoFix some unit test failure (#3337)
kexianjun [Sun, 27 Jan 2019 08:05:34 +0000 (16:05 +0800)] 
Fix some unit test failure (#3337)

3 weeks agosome optimize on ExtensionLoader (#3307)
XiaoJie Li [Sat, 26 Jan 2019 14:52:12 +0000 (22:52 +0800)] 
some optimize on ExtensionLoader (#3307)

* some optimize on ExtensionLoader
* make ci rerun
* fix compile error
* fix ci failure

3 weeks agoPackage name error (#3354)
lankunkk [Sat, 26 Jan 2019 14:21:39 +0000 (22:21 +0800)] 
Package name error (#3354)

3 weeks agoEnable ZookeeperMetadataReportTest (#3360)
Yuhao Bi [Sat, 26 Jan 2019 14:14:55 +0000 (22:14 +0800)] 
Enable ZookeeperMetadataReportTest (#3360)

3 weeks agoadd no-argument constructor method to URL.java fix #3342 (#3350)
IORI [Fri, 25 Jan 2019 10:29:48 +0000 (18:29 +0800)] 
add no-argument constructor method to URL.java fix #3342 (#3350)

* Fix NullPointerException when Hessian instantiate URL with JavaDeserializer

3 weeks ago[Dubbo-3339] Remove futility check code (#3346)
Jia He [Fri, 25 Jan 2019 07:44:49 +0000 (15:44 +0800)] 
[Dubbo-3339] Remove futility check code (#3346)

* Remove futility check code

3 weeks agoReview code of TypeDefinitionBuilder (#3064)
时无两丶 [Fri, 25 Jan 2019 03:34:38 +0000 (11:34 +0800)] 
Review code of TypeDefinitionBuilder (#3064)

* Review code of TypeDefinitionBuilder
1. use init method to init builds' list

* use single list for all builders.
Seems like the builder is thread-safe, we can keep them static and final.

* clean code.

3 weeks agofix the typo of notification mail list address (#3335)
Taosheng Wei [Fri, 25 Jan 2019 03:21:19 +0000 (11:21 +0800)] 
fix the typo of notification mail list address (#3335)

fix the typo of notification mail list address

3 weeks agofix org.apache.dubbo replace com.alibaba.dubbo (#3338)
huazhongming [Fri, 25 Jan 2019 03:19:44 +0000 (11:19 +0800)] 
fix org.apache.dubbo replace com.alibaba.dubbo (#3338)

org.apache.dubbo replace com.alibaba.dubbo

3 weeks agofix #2842. remove duplicate SPI definitions for 2.7.x (#3340)
cvictory [Fri, 25 Jan 2019 03:17:58 +0000 (11:17 +0800)] 
fix #2842. remove duplicate SPI definitions for 2.7.x (#3340)

remove duplicate SPI definitions for 2.7.x

3 weeks agoFix thrift protocol, use path to locate exporter. (#3331)
ken.lj [Fri, 25 Jan 2019 02:23:08 +0000 (10:23 +0800)] 
Fix thrift protocol, use path to locate exporter. (#3331)

* Fix thrift protocol, use path to locate exporter.

* Fix UT

3 weeks agoMerge pull request #3333, add @Override for sub-class method.
LiZhen [Thu, 24 Jan 2019 12:20:04 +0000 (20:20 +0800)] 
Merge pull request #3333, add @Override for sub-class method.

3 weeks agoMerge pull request #3141, optimize outbound event and some code formatting.
时无两丶 [Thu, 24 Jan 2019 12:15:14 +0000 (20:15 +0800)] 
Merge pull request #3141, optimize outbound event and some code formatting.

3 weeks agoMerge pull request #3017, fixes #2981, refresh invocation's attachments in each invoke.
时无两丶 [Thu, 24 Jan 2019 12:12:06 +0000 (20:12 +0800)] 
Merge pull request #3017, fixes #2981, refresh invocation's attachments in each invoke.

Fixes #2981.

3 weeks agoFix random ut falling in DubboMonitorTest (#3327)
Yuhao Bi [Thu, 24 Jan 2019 10:27:46 +0000 (18:27 +0800)] 
Fix random ut falling in DubboMonitorTest (#3327)

3 weeks agoMerge pull request #2959, fix a bug of service config.
Taosheng Wei [Thu, 24 Jan 2019 07:13:01 +0000 (15:13 +0800)] 
Merge pull request #2959, fix a bug of service config.

3 weeks agoMerge pull request #3323, fix double-checked locking.
Yuhao Bi [Thu, 24 Jan 2019 06:48:24 +0000 (14:48 +0800)] 
Merge pull request #3323, fix double-checked locking.

3 weeks agoMerge pull request #3174, make timeout filter not work in async way.
时无两丶 [Thu, 24 Jan 2019 04:50:50 +0000 (12:50 +0800)] 
Merge pull request #3174, make timeout filter not work in async way.

3 weeks agoFix maven compile warning (#3322)
Yuhao Bi [Thu, 24 Jan 2019 03:12:21 +0000 (11:12 +0800)] 
Fix maven compile warning (#3322)

3 weeks agoFix for loop reference test pass on protostuff (#3252)
Jia He [Thu, 24 Jan 2019 02:31:46 +0000 (10:31 +0800)] 
Fix for loop reference test pass on protostuff (#3252)

3 weeks agoAdd comments, manually merge #3181.
ken.lj [Wed, 23 Jan 2019 09:32:56 +0000 (17:32 +0800)] 
Add comments, manually merge #3181.

3 weeks 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

3 weeks 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.

3 weeks 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

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

3 weeks 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.

3 weeks 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

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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

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

3 weeks 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

3 weeks agoFix typo (#3293)
Huang YunKun [Mon, 21 Jan 2019 13:00:08 +0000 (21:00 +0800)] 
Fix typo (#3293)

3 weeks 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

3 weeks 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

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

3 weeks 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