incubator-dubbo.git
32 hours agoRestProtocol will be failed to export. (#2965) master
jefflv [Fri, 14 Dec 2018 14:43:34 +0000 (22:43 +0800)] 
RestProtocol will be failed to export. (#2965)

* [REST] make the model init before export

* add line return to ActiveLimitFilter for checkstyle rule

43 hours agoshould not skipTests (#2958)
zhaixiaoxiang [Fri, 14 Dec 2018 03:52:02 +0000 (11:52 +0800)] 
should not skipTests (#2958)

44 hours ago[Dubbo-2328]Fix the concurrency limit of 'ActiveLimitFilter' to calculate atomicity...
三笠 [Fri, 14 Dec 2018 02:09:19 +0000 (10:09 +0800)] 
[Dubbo-2328]Fix the concurrency limit of 'ActiveLimitFilter' to calculate atomicity (#2445)

* [Dubbo-2328]Fix the concurrency limit of 'ActiveLimitFilter' to calculate atomicity

* format

* test timeout

* count fix

* format

2 days agofixed involve (#2957)
0xflotus [Thu, 13 Dec 2018 11:09:08 +0000 (12:09 +0100)] 
fixed involve (#2957)

fixed a typo

2 days agoLimit the times of registry retry. (#2946)
时无两丶 [Thu, 13 Dec 2018 09:07:17 +0000 (17:07 +0800)] 
Limit the times of registry retry. (#2946)

The default value is 3.

2 days agofix issue-2948:spring boot external config invalid (#2950)
Mei Ping [Thu, 13 Dec 2018 08:49:06 +0000 (16:49 +0800)] 
fix issue-2948:spring boot external config invalid (#2950)

3 days agoImprove several map iteration (#2938)
Yuhao Bi [Wed, 12 Dec 2018 06:23:58 +0000 (14:23 +0800)] 
Improve several map iteration (#2938)

3 days agoModified to lower camel case (#2945)
huazhongming [Wed, 12 Dec 2018 06:23:19 +0000 (14:23 +0800)] 
Modified to lower camel case (#2945)

3 days agostandardize semantics of all mergers,enhance mergeFactory and testcase (#2936)
Lu Qi [Wed, 12 Dec 2018 06:08:01 +0000 (14:08 +0800)] 
standardize semantics of all mergers,enhance mergeFactory and testcase (#2936)

4 days agoOptimize retry for FailbackRegistry. (#2763)
时无两丶 [Tue, 11 Dec 2018 10:00:30 +0000 (18:00 +0800)] 
Optimize retry for FailbackRegistry. (#2763)

* Abstract retry task

* Task for retry.

* Fix sth.

* Finish Optimize. fix ci failed.

* Optimize retry for FailbackRegistry.
The retry operation splits into specific operations, such as subscriptions and registrations. This approach allows for very precise retry control.

* Optimize retry for FailbackRegistry.
The retry operation splits into specific operations, such as subscriptions and registrations. This approach allows for very precise retry control.

* Optimize logger warn's msg.

* Optimize FailedNotifiedTask's run method.
Optimize addXXXTask, directly return if we already have a retry task.

* Optimize notify logic, just notify when the urls is not empty.

* Optimize notify logic, just notify when the urls is not empty.

* Optimize timer that use daemon thread.

4 days agoReplace anonymous class with method reference (#2929)
Igor Suhorukov [Tue, 11 Dec 2018 09:12:18 +0000 (12:12 +0300)] 
Replace anonymous class with method reference (#2929)

* Replace anonymous class with method reference

* Revert changes as per @beiwei30 code review

4 days agoDelete useless assignments (#2939)
huazhongming [Tue, 11 Dec 2018 09:09:37 +0000 (17:09 +0800)] 
Delete useless assignments (#2939)

4 days ago[Dubbo-2766]Fix 2766 and enhance the invoke command (#2801)
kexianjun [Tue, 11 Dec 2018 07:59:02 +0000 (15:59 +0800)] 
[Dubbo-2766]Fix 2766 and enhance the invoke command (#2801)

* add getter and setter for ServiceConfig's interfaceName property#2353

* add interfaceName to ignoreAttributeNames and change the unit test

* delete the demo source code and update the unit test

* unchange ServiceConfig

* update unit test

* update unit test

* fix https://github.com/apache/incubator-dubbo/issues/2798 and enhance invoke command

4 days agoenhance org.apache.dubbo.rpc.protocol.dubbo.telnet.InvokeTelnetHandler#isMatch (...
Ian Luo [Tue, 11 Dec 2018 07:10:42 +0000 (15:10 +0800)] 
enhance org.apache.dubbo.rpc.protocol.dubbo.telnet.InvokeTelnetHandler#isMatch (#2941)

* enhance isMatch

* remove useless imports

4 days ago[dubbo-2766] fix the bug of isMatch method of InvokeTelnetHandler (#2787)
tswstarplanet [Tue, 11 Dec 2018 07:02:18 +0000 (15:02 +0800)] 
[dubbo-2766] fix the bug of isMatch method of InvokeTelnetHandler (#2787)

4 days agoFix telnet can not find method with enum type (#2803)
LiZhen [Tue, 11 Dec 2018 02:40:22 +0000 (10:40 +0800)] 
Fix telnet can not find method with enum type (#2803)

4 days ago[Dubbo-2864] Fix build failed with -Prelease (#2923)
Yuhao Bi [Tue, 11 Dec 2018 02:33:03 +0000 (10:33 +0800)] 
[Dubbo-2864] Fix build failed with -Prelease (#2923)

fixes #2864

5 days agooptimize the RondRobinLoadBalance and MockClusterInvoker (#2932)
XiaoJie Li [Mon, 10 Dec 2018 11:04:00 +0000 (19:04 +0800)] 
optimize the RondRobinLoadBalance and MockClusterInvoker (#2932)

delete unused logic and take the logger out.

5 days agoResetting ExtensionLoader to remove test order dependencies in StickyTest (#2807)
OrDTesters [Mon, 10 Dec 2018 09:16:56 +0000 (03:16 -0600)] 
Resetting ExtensionLoader to remove test order dependencies in StickyTest (#2807)

5 days agore-enable testCustomExecutor (#2913)
Yuhao Bi [Mon, 10 Dec 2018 08:59:09 +0000 (16:59 +0800)] 
re-enable testCustomExecutor (#2913)

5 days agoFixing test-order dependency for FstObjectInputTest (#2815)
OrDTesters [Mon, 10 Dec 2018 08:28:15 +0000 (02:28 -0600)] 
Fixing test-order dependency for FstObjectInputTest (#2815)

5 days agore-enable testCustomExecutor (#2917)
gude [Mon, 10 Dec 2018 08:19:19 +0000 (16:19 +0800)] 
re-enable testCustomExecutor  (#2917)

* fix testCustomExecutor

* fix ci

5 days agoImprove UT grammar and remove unnecessary braces. (#2930)
Huxing Zhang [Mon, 10 Dec 2018 05:43:11 +0000 (13:43 +0800)] 
Improve UT grammar and remove unnecessary braces. (#2930)

* Improve UT grammer, fix compiler warnings.

* Remove unnecessary braces.

5 days agoFix DubboShutdownHook Memory Leak (#2922)
LiZhen [Mon, 10 Dec 2018 05:39:16 +0000 (13:39 +0800)] 
Fix DubboShutdownHook Memory Leak (#2922)

5 days agoRemove the log to putRandomPort when one protocol use random port (#2931)
tswstarplanet [Mon, 10 Dec 2018 05:32:45 +0000 (13:32 +0800)] 
Remove the log to putRandomPort when one protocol use random port (#2931)

* optimize findConfigedPorts method of ServiceConfig to log only one time when userandom port

* move the log to method putRandomPort

5 days agomake telnet config work again (#2925)
kexianjun [Mon, 10 Dec 2018 05:13:22 +0000 (13:13 +0800)] 
make telnet config work again (#2925)

5 days agoSimply TagRouter (#2924)
kexianjun [Mon, 10 Dec 2018 03:25:22 +0000 (11:25 +0800)] 
Simply TagRouter (#2924)

5 days agoChange Readme dubbo-sample hyperlink (#2927)
Lu Qi [Mon, 10 Dec 2018 02:31:23 +0000 (10:31 +0800)] 
Change Readme dubbo-sample hyperlink (#2927)

7 days agoEnhance unit test (#2920)
XiaoJie Li [Sat, 8 Dec 2018 13:43:27 +0000 (21:43 +0800)] 
Enhance unit test (#2920)

7 days agoAdded javadoc for dubbo-filter module dubbo github issue 2884 (#2921)
Imteyaz Ahmed Khan [Sat, 8 Dec 2018 13:37:59 +0000 (19:07 +0530)] 
Added javadoc for dubbo-filter module dubbo github issue 2884 (#2921)

8 days agocreate AbstractRouter (#2909)
Leishunyu [Fri, 7 Dec 2018 10:25:18 +0000 (18:25 +0800)] 
create AbstractRouter (#2909)

* create AbstractRouter

* router default method

* router default method

* router default method

* mockinvoker

8 days agoSimplify the code logic of the method AbstractClusterInvoker#reselect. (#2826)
田小波 [Fri, 7 Dec 2018 08:48:57 +0000 (16:48 +0800)] 
Simplify the code logic of the method AbstractClusterInvoker#reselect. (#2826)

* Simplify the code logic of the method AbstractClusterInvoker#reselect.

* Minor modification for code style.

8 days agoGraceful shutdown enhancement in Spring (#2901)
LiZhen [Fri, 7 Dec 2018 03:17:41 +0000 (11:17 +0800)] 
Graceful shutdown enhancement in Spring (#2901)

8 days agofix testCustomExecutor (#2904)
gude [Fri, 7 Dec 2018 02:00:43 +0000 (10:00 +0800)] 
fix testCustomExecutor (#2904)

8 days agoClose all ports after tests finish (#2906)
OrDTesters [Fri, 7 Dec 2018 01:58:07 +0000 (19:58 -0600)] 
Close all ports after tests finish (#2906)

9 days agoOptimize getExtensionClass method. (#2788)
时无两丶 [Thu, 6 Dec 2018 14:47:27 +0000 (22:47 +0800)] 
Optimize getExtensionClass method. (#2788)

Just return the class instead of throwing exception.

9 days agoFix log4j pattern layout (#2802)
Lonre Wang [Thu, 6 Dec 2018 14:37:00 +0000 (22:37 +0800)] 
Fix log4j pattern layout (#2802)

9 days agofeat:Improve the annotation of LeastActiveLoadBalance (#2893)
zhuzi [Thu, 6 Dec 2018 11:32:11 +0000 (19:32 +0800)] 
feat:Improve the annotation of LeastActiveLoadBalance (#2893)

9 days agoenhance unit test (#2898)
Ian Luo [Thu, 6 Dec 2018 11:05:05 +0000 (19:05 +0800)] 
enhance unit test (#2898)

* enhance unit test

* enhance unit test

* enhance

9 days agoMerge pull request #2887, fix consumer stub bug in multi registries.
Ian Luo [Thu, 6 Dec 2018 09:48:19 +0000 (17:48 +0800)] 
Merge pull request #2887, fix consumer stub bug in multi registries.

fixes #2850

10 days agoremove the duplicate superclass of TagRouter and ConditionRouter (#2885)
XiaoJie Li [Wed, 5 Dec 2018 06:13:20 +0000 (14:13 +0800)] 
remove the duplicate superclass of TagRouter and ConditionRouter (#2885)

Remove the class ConditionRouter and TagRouter implement duplicate superclass Comparable

11 days agoadd some ScriptRoute test case (#2879)
XiaoJie Li [Tue, 4 Dec 2018 07:30:57 +0000 (15:30 +0800)] 
add some ScriptRoute test case (#2879)

* add router test case

* correct an error word

11 days agoRemove unnessesary code in RegistryDirectory#doList (#2861)
LiZhen [Tue, 4 Dec 2018 03:20:01 +0000 (11:20 +0800)] 
Remove unnessesary code  in RegistryDirectory#doList (#2861)

* remove unnessesary code

* remove unused import

11 days agofixed typo of variable (#2875)
zhangzhikai [Tue, 4 Dec 2018 02:06:45 +0000 (10:06 +0800)] 
fixed typo of variable (#2875)

fixed type of variable

12 days agoUpdate README.md
Ian Luo [Mon, 3 Dec 2018 06:34:45 +0000 (14:34 +0800)] 
Update README.md

remove oschina vote

2 weeks agoFix UT failed on windows with FileNetworkerTest (#2848)
water-coder [Thu, 29 Nov 2018 07:51:12 +0000 (15:51 +0800)] 
Fix UT failed on windows with FileNetworkerTest (#2848)

Fix FileNetworkerTest failure

2 weeks ago[Dubbo-2845] Fix OOM in UT testSelectByWeight (#2845) (#2846)
Yuhao Bi [Thu, 29 Nov 2018 02:12:13 +0000 (10:12 +0800)] 
[Dubbo-2845] Fix OOM in UT testSelectByWeight (#2845) (#2846)

Fix OOM Exception generated during UT

3 weeks agofix typo of field (#2825)
likemoongg [Sat, 24 Nov 2018 03:33:31 +0000 (11:33 +0800)] 
fix typo of field (#2825)

3 weeks agomodify dubbo version to 2.6.5
cvictory [Fri, 23 Nov 2018 02:54:57 +0000 (10:54 +0800)] 
modify dubbo version to 2.6.5

3 weeks ago[Dubbo-2758] Adding dependency on dubbo-remoting-mina for tests in dubbo-rpc-dubbo...
OrDTesters [Thu, 22 Nov 2018 02:00:03 +0000 (18:00 -0800)] 
[Dubbo-2758] Adding dependency on dubbo-remoting-mina for tests in dubbo-rpc-dubbo (#2797)

* Adding dependency on dubbo-remoting-mina so DubboProtocolTest.testDubboProtocolWithMina is no longer flaky

* Changing port number to ensure new server/client created for test

3 weeks ago[Dubbo-2798]fix apporiate NotWritablePropertyException (#2800)
kexianjun [Tue, 20 Nov 2018 04:29:51 +0000 (12:29 +0800)] 
[Dubbo-2798]fix apporiate NotWritablePropertyException (#2800)

fix #2798 .
'propertyname in java donot contain '-' but camel format'.

3 weeks ago[REFACTOR]:[fix typo] (#2804)
Yangki Zhang [Mon, 19 Nov 2018 10:51:51 +0000 (18:51 +0800)] 
[REFACTOR]:[fix typo] (#2804)

fix typos

4 weeks agoimprovement on Parameters and CollectionUtils (#2790)
Song Kun [Fri, 16 Nov 2018 02:20:33 +0000 (10:20 +0800)] 
improvement on Parameters and CollectionUtils (#2790)

Use CollectionUtils.toStringMap to reduce duplicate code in Parameters, and use Java 8 type inference for collections.

4 weeks agofix typo (#2791)
Song Kun [Fri, 16 Nov 2018 02:03:50 +0000 (10:03 +0800)] 
fix typo (#2791)

Fix typo confilict -> conflict

4 weeks agooschina vote (#2786)
Ian Luo [Wed, 14 Nov 2018 09:29:19 +0000 (17:29 +0800)] 
oschina vote (#2786)

4 weeks ago #2777: heartbeat threads blocks process shutdown (#2778)
Ian Luo [Tue, 13 Nov 2018 08:05:38 +0000 (16:05 +0800)] 
#2777: heartbeat threads blocks process shutdown (#2778)

Fix heartbeat threads blocks process shutdown because its hashed-wheel-timer is non-daemon thread.

5 weeks ago #2762: [Dubbo - qos-http] stopServer should be invoked ? (#2767)
Ian Luo [Fri, 9 Nov 2018 08:31:42 +0000 (16:31 +0800)] 
#2762: [Dubbo - qos-http] stopServer should be invoked ? (#2767)

5 weeks ago[Dubbo-2353]fix Invalid property 'interfaceName' of bean class [org.apache.dubbo...
alphacba [Thu, 8 Nov 2018 06:14:50 +0000 (14:14 +0800)] 
[Dubbo-2353]fix Invalid property 'interfaceName' of bean class [org.apache.dubbo.config.spring.ServiceBean]#2353 (#2418)

* add getter and setter for ServiceConfig's interfaceName property#2353

* add interfaceName to ignoreAttributeNames and change the unit test

* delete the demo source code and update the unit test

* unchange ServiceConfig

* update unit test

* update unit test

5 weeks agoChanging URL so tests can run in any order (#2760)
OrDTesters [Thu, 8 Nov 2018 05:41:10 +0000 (23:41 -0600)] 
Changing URL so tests can run in any order (#2760)

5 weeks agoadd checkstyle rule to check import order (#2745)
Huang YunKun [Thu, 8 Nov 2018 03:44:46 +0000 (11:44 +0800)] 
add checkstyle rule to check import order (#2745)

5 weeks agoClose all servers/ports after tests finish (#2755)
OrDTesters [Thu, 8 Nov 2018 03:44:05 +0000 (21:44 -0600)] 
Close all servers/ports after tests finish (#2755)

5 weeks agoFix the bug that ReferenceBean refers service more than once when debugging. (#2754)
田小波 [Thu, 8 Nov 2018 03:27:07 +0000 (11:27 +0800)] 
Fix the bug that ReferenceBean refers service more than once when debugging. (#2754)

note:
please visit http://t.cn/EAhta27 for more detail.

5 weeks ago #2748: Provider should disable mock configuration (#2749)
Ian Luo [Wed, 7 Nov 2018 09:43:55 +0000 (17:43 +0800)] 
#2748: Provider should disable mock configuration (#2749)

5 weeks ago[DUBBO-2489] MockClusterInvoker provides local forced mock,I tested it locally, but...
Ian Luo [Wed, 7 Nov 2018 06:21:42 +0000 (14:21 +0800)] 
[DUBBO-2489] MockClusterInvoker provides local forced mock,I tested it locally, but it doesn't work (#2742)

5 weeks agofix typo (#2747)
yì jí [Wed, 7 Nov 2018 06:16:55 +0000 (14:16 +0800)] 
fix typo (#2747)

5 weeks agoAdd 'forks' config into xml config (#2568)
时无两丶 [Tue, 6 Nov 2018 09:16:21 +0000 (17:16 +0800)] 
Add 'forks' config into xml config (#2568)

* Add forks into xml config.

* Add forks into xml config.

* Add forks into xml config.

5 weeks ago Simplify the code of StringUtils to make it more graceful. (#2740)
田小波 [Tue, 6 Nov 2018 09:09:00 +0000 (17:09 +0800)] 
 Simplify the code of StringUtils to make it more graceful. (#2740)

* Simplify the code of StringUtils to make it more graceful.

* Add Apache license

5 weeks agoClose all servers/ports after tests finish (#2741)
OrDTesters [Tue, 6 Nov 2018 09:06:10 +0000 (03:06 -0600)] 
Close all servers/ports after tests finish (#2741)

5 weeks agocode format (#2730)
Wang jie [Mon, 5 Nov 2018 05:53:45 +0000 (13:53 +0800)] 
code format (#2730)

* NullPointerException

* code rule

* code rule

5 weeks agoenhance comments (#2735)
Ian Luo [Mon, 5 Nov 2018 05:47:23 +0000 (13:47 +0800)] 
enhance comments (#2735)

5 weeks agoMerge pull request #2725, problems of graceful shutdown in 2.6.3 and some recommendation.
Ian Luo [Mon, 5 Nov 2018 02:49:10 +0000 (10:49 +0800)] 
Merge pull request #2725, problems of graceful shutdown in 2.6.3 and some recommendation.

6 weeks ago[Dubbo-2678][For Master] Add ability to turn off SPI auto injection, special support...
ken.lj [Thu, 1 Nov 2018 14:52:15 +0000 (22:52 +0800)] 
[Dubbo-2678][For Master] Add ability to turn off SPI auto injection, special support for Object type.  (#2682)

* Add ability to turn off SPI auto injection, special support for generic Object type injection.

* Change Inject to AutoInject since it's main purpose is to turn off auto-injection.

* disable is redundant in DisableInject annotation

6 weeks agoreplace ServiceAnnotationBeanPostProcessor log.isInfoEnabled->log.isWarnEnabled ...
vkeeper [Wed, 31 Oct 2018 03:29:54 +0000 (11:29 +0800)] 
replace ServiceAnnotationBeanPostProcessor log.isInfoEnabled->log.isWarnEnabled (#2712)

simplify ExtensionLoader code segment

6 weeks ago【Unit Test】FailbackRegistry Test: recover method (#2591)
tswstarplanet [Tue, 30 Oct 2018 09:22:10 +0000 (17:22 +0800)] 
【Unit Test】FailbackRegistry Test: recover method (#2591)

* FailbackRegistry Test: recover method

* fix the type error, and use CountDownLatch await method to fix the unstable problom

* trigger the travis ci test retry

* trigger the code static check again

6 weeks ago重构 ServiceBean 的 isDelay 方法,使其更符合语义 (#2686)
田小波 [Tue, 30 Oct 2018 09:12:38 +0000 (17:12 +0800)] 
重构 ServiceBean 的 isDelay 方法,使其更符合语义 (#2686)

* Refactor method isDelay of ServiceBean to fix the wrong meaning of the method

* Remove unnecessary method isDelay of ServiceBean

6 weeks agopolish the code for pull request 2658: Optimize heartbeat and reconnect task (#2709)
Ian Luo [Tue, 30 Oct 2018 09:09:23 +0000 (17:09 +0800)] 
polish the code for pull request 2658: Optimize heartbeat and reconnect task (#2709)

6 weeks agoOptimize heartbeat and reconnect task. (#2658)
时无两丶 [Tue, 30 Oct 2018 07:15:34 +0000 (15:15 +0800)] 
Optimize heartbeat and reconnect task. (#2658)

* Optimize heartbeat and reconnect task.
1.Use hashedWheelTimer.
2.Distinguish between reconnect and heartbeat.
3.Increase inspection cycle.

* fix ci fail.

* fix ci fail.

* fix ci fail.

6 weeks ago[version 2.7.0]remove the StaticContext class and refactor the code related to Async...
Jeff-Lv [Tue, 30 Oct 2018 02:25:52 +0000 (10:25 +0800)] 
[version 2.7.0]remove the StaticContext class and refactor the code related to Async (#2688)

* [Dubbo] move the classes of model from config to rpc-api for reusing

* remove ServiceClassHolder and use the ApplicationModel replacedly

* [Dubbo] delete the unused imported of ApplicationModel

* Update dubbo-demo-consumer.xml

this commits is no need to commit to remote repo.

* remove StaticContext

* remove the unused imported classes of ReferenceConfig

* fix NPE of ConsumerModel

* fix the failed testcase of AbstractClusterInvokerTest

* [Dubbo] #PR2688 to fix the review issues

6 weeks agoOptimize REGISTRIES field in AbstractRegistryFactory. (#2703)
jingui123 [Tue, 30 Oct 2018 02:24:45 +0000 (10:24 +0800)] 
Optimize REGISTRIES field in AbstractRegistryFactory. (#2703)

* modify ConcurrentHashMap to HashMap.这里REGISTRIES在使用的时候都会先加锁,不存在多线程安全的问题。所以这里建议使用hashmap

* modify ConcurrentHashMap to HashMap.这里REGISTRIES在使用的时候都会先加锁,不存在多线程安全的问题。所以这里建议使用hashmap

6 weeks agofix pom for protostuff serialization (#2700)
Ian Luo [Mon, 29 Oct 2018 07:32:16 +0000 (15:32 +0800)] 
fix pom for protostuff serialization (#2700)

6 weeks agoremove author info for RoundRobinLoadBalance (#2697)
jasonjoo2010 [Mon, 29 Oct 2018 02:45:34 +0000 (10:45 +0800)] 
remove author info for RoundRobinLoadBalance (#2697)

7 weeks agofix typo error in FAQ (#2684)
xuchuanyin [Fri, 26 Oct 2018 16:13:53 +0000 (00:13 +0800)] 
fix typo error in FAQ (#2684)

fix typo error in FAQ

7 weeks agoenhance pull request 2618 (#2691)
Ian Luo [Fri, 26 Oct 2018 15:55:46 +0000 (23:55 +0800)] 
enhance pull request 2618 (#2691)

* enhance pull request 2618

* move spi file into the right directory

* ignore protostuff test case

* make unit test pass, support Time type

* fix useless imports issue

* add license header

7 weeks agoSmooth Round Robin selection (#2650)
jasonjoo2010 [Fri, 26 Oct 2018 05:27:18 +0000 (13:27 +0800)] 
Smooth Round Robin selection (#2650)

7 weeks ago[Dubbo-1983] Support Protobuf Serialization (#2618)
Song Kun [Fri, 26 Oct 2018 03:06:09 +0000 (11:06 +0800)] 
[Dubbo-1983] Support Protobuf Serialization (#2618)

* finish support protobuf

* polish

* fix code review

* use the general test for serialization

7 weeks agoremove ServiceClassHolder and use the ApplicationModel replacedly (#2646)
Jeff-Lv [Wed, 24 Oct 2018 06:52:04 +0000 (14:52 +0800)] 
remove ServiceClassHolder and use the ApplicationModel replacedly (#2646)

* [Dubbo] move the classes of model from config to rpc-api for reusing

* remove ServiceClassHolder and use the ApplicationModel replacedly

* [Dubbo] delete the unused imported of ApplicationModel

* Update dubbo-demo-consumer.xml

this commits is no need to commit to remote repo.

7 weeks agoMerge pull request#2679, consumer throws RpcException when RegistryDirectory notify...
Ian Luo [Wed, 24 Oct 2018 02:41:44 +0000 (10:41 +0800)] 
Merge pull request#2679, consumer throws RpcException when RegistryDirectory notify in high QPS.

Fixes #2016

7 weeks agoCode format (#2662)
Wang jie [Tue, 23 Oct 2018 04:35:49 +0000 (12:35 +0800)] 
Code format (#2662)

* NullPointerException

* code rule

7 weeks ago解决与quartz集成报错问题 (#2677)
liunancun [Tue, 23 Oct 2018 04:17:05 +0000 (12:17 +0800)] 
解决与quartz集成报错问题 (#2677)

quartz初始化的Bean没有beanName,beanName=null,走这段代码的时候报空指针了。
org.springframework.boot.autoconfigure.quartz.AutowireCapableBeanJobFactory类的createJobInstance方法中使用this.beanFactory.initializeBean(jobInstance, null);初始化的Bean,其beanName=null。

7 weeks agoOptimize the doSelect method of RandomLoadBalance to reduce the times of invoke of...
tswstarplanet [Sun, 21 Oct 2018 15:04:30 +0000 (23:04 +0800)] 
Optimize the doSelect method of RandomLoadBalance to reduce the times of invoke of the getWeight method of the AbstractLoadBalance (#2597)

7 weeks ago #1903: supplemental change (#2666)
Ian Luo [Sun, 21 Oct 2018 05:31:34 +0000 (13:31 +0800)] 
#1903: supplemental change (#2666)

8 weeks agoMerge pull request #2656, make sure serialization exception sends back to consumer... 2660/head
Ian Luo [Fri, 19 Oct 2018 03:19:57 +0000 (11:19 +0800)] 
Merge pull request #2656, make sure serialization exception sends back to consumer to preventing endless waiting.

Fixes #1903: Our customized serialization id exceeds the maximum limit, now it cannot work on 2.6.2 anymore.

8 weeks ago[Dubbo -fix annotation bug] Fix @Reference bug (#2649)
yì jí [Wed, 17 Oct 2018 02:14:45 +0000 (10:14 +0800)] 
[Dubbo -fix annotation bug] Fix @Reference bug (#2649)

It's fine.

8 weeks agoprototype for issue2570 (#2640)
Ian Luo [Tue, 16 Oct 2018 08:16:54 +0000 (16:16 +0800)] 
prototype for issue2570 (#2640)

* #2570: dubbo all in one fail to start from a tomcat server when spring framework is absent

* add comments and fix unit test

* add license header

* update comments in unit tests

2 months agoOptimize ut for serialization model. (#2632)
时无两丶 [Mon, 15 Oct 2018 13:35:36 +0000 (21:35 +0800)] 
Optimize ut for serialization model. (#2632)

* 1. Integrate the unit test of the serialization module, code reuse.
2. Remove redundant unit tests and pojo classes.
3. Remove the useless pojo class in the common module.

* fix ci fail

* fix ci fail

* fix ci fail

* fix ci fail

* remove author info

2 months agocombine test coverage report (#2643)
Huang YunKun [Mon, 15 Oct 2018 01:30:01 +0000 (09:30 +0800)] 
combine test coverage report (#2643)

2 months agoMerge pull request #2636, move the classes of model from config to rpc-api for reusing.
Jeff-Lv [Fri, 12 Oct 2018 03:40:11 +0000 (11:40 +0800)] 
Merge pull request #2636, move the classes of model from config to rpc-api for reusing.

2 months agoOptimize RoundRobinLoadBalance (#2586)
gude [Thu, 11 Oct 2018 03:55:09 +0000 (11:55 +0800)] 
Optimize RoundRobinLoadBalance (#2586)

* Optimize RoundRobinLoadBalance

* Optimize RoundRobinLoadBalance

* Optimize RoundRobinLoadBalance

* name improvement

* format

2 months agofix #1641, support get system load on windows (#2631)
Jerrick Zhu [Wed, 10 Oct 2018 05:48:23 +0000 (13:48 +0800)] 
fix #1641, support get system load on windows (#2631)

2 months agoIssue2583 (#2614)
Ian Luo [Tue, 9 Oct 2018 08:37:28 +0000 (16:37 +0800)] 
Issue2583 (#2614)

* update README

*     #2583: ApplicationModel serviceName is not unique