Commit Graph

2249 Commits

Author SHA1 Message Date
Huxing Zhang 6d52ddcdbe Bump version to 2.6.2-SNAPSHOT. 2018-05-09 14:44:08 +08:00
ma-xiao-guang-64 0592e84a3c Fix isShutdown() always return true (#1426) 2018-05-09 11:00:32 +08:00
Ian Luo 04c93e8b98
unit test for dubbo-config-api (#1733)
* finish unit test for AbstractMethodConfig

* finish unit test for AbstractReferenceConfig

* move to right package

* finish unit test for AbstractReferenceConfig

* finish unit test for AbstractMethodConfig

* finish unit test for AbstractReferenceConfig

* move to right package

* finish unit test for AbstractReferenceConfig

* unit test for AbstractServiceConfig, also fix logic issue in setListener/getListener
2018-05-04 13:32:34 +08:00
Ian Luo e6b85fd241
#1731: checkMultiExtension in com.alibaba.dubbo.config.AbstractInterfaceConfig should be in setter instead of getter (#1732) 2018-05-04 10:53:03 +08:00
Huang YunKun 04ffae0886 fix * imports issue (#1721) 2018-05-03 16:26:42 +08:00
Jerrick Zhu db039c68d9 optimize unit test for serialization hession2/jdk/kryo (#1726) 2018-05-03 16:26:12 +08:00
qinnnyul 9f7306f98e [Dubbo-1687]Enhance test coverage for dubbo filter (#1715)
* use three different kinds of cache factory to increase test coverages

* add unit test cases for dubbo-filter module

* add copyright and made small refactor

* make sure Jcache will exceed expired period
2018-05-03 16:23:08 +08:00
Ian Luo 903db35c60 Merge pull request #1717, NettyHelper in netty extension populated Logger "InternalLogger" in netty. 2018-05-03 15:07:34 +08:00
Huang YunKun 6784375811 add test for serialization api & fastjson & fst module (#1718) 2018-05-03 13:52:08 +08:00
Ian Luo 46c6ccb32d Merge pull request #1716, unit test for AbstractConfigTest. 2018-05-03 13:45:53 +08:00
Ian Luo b9b98c83cf
enhance comments, javadoc and logging message for (#1722)
ExecutionChannelHandler
2018-05-02 14:26:39 +08:00
qct 080e8ef3dd fixes #1089, make ExecutionDispatcher meet dubbo-user-book (#1449)
* fixes #1089, make ExecutionDispatcher meets dubbo-user-book

* remove heartbeat condition
2018-04-30 18:01:16 +08:00
whanice 9e9e778e04 Optimize_hessian_desr_performance (#1705) 2018-04-26 18:51:02 +08:00
Huang YunKun 0d002c348e Add pull request coverage check and set threshold as 0.1% (#1678) 2018-04-26 15:07:29 +08:00
yì jí 6f3f337662 Fix pull request template typo 2018-04-26 15:04:34 +08:00
Ian Luo 7e3af9cd1e update NOTICE (#1703) 2018-04-26 15:02:31 +08:00
Huang YunKun a6a7102328 use mockito to replace easymock (#1676) 2018-04-26 14:50:30 +08:00
Huxing Zhang 98626783ab Merge pull request #1672, improve LICENSE and NOTICE according to ASF policy. 2018-04-26 14:12:33 +08:00
whanice 764761dbf6 Merge pull request #1444, simplify check consumer side in RpcContext. 2018-04-24 15:31:00 +08:00
Huxing Zhang e345ba2b3d Merge pull request #1620, fix exception stack trace during provider demo start. 2018-04-24 15:26:57 +08:00
yì jí d290529047 Merge pull request #1607, graceful shutdown enhancement.
- Remove exporter destroy logic in AnnotationBean.
- Waiting for registry notification on consumer side by checking channel state.
2018-04-24 14:00:32 +08:00
小马哥 d07c64f809 Merge pull request #1663, add version&group to @Service annotation bean name. 2018-04-24 10:21:04 +08:00
小马哥 a2a7706a07
Spring Framework / Spring Boot Enhancements (#1611)
* Manually merge pull request #1486, to make travis ci and codecov work after apache incubator transition.

* Polish alibaba/dubbo#1306

* Optimize imports

* Optimize imports

* Update DubboConfigBinder.java

Remove invalid JavaDoc
2018-04-23 12:19:33 +08:00
Xin Wang b2c5cb7652 [DUBBO-9]add apache-rat-plugin to check asf license header (#1647)
* [DUBBO-9]add apache-rat-plugin to check asf license header
* reformat EagerThreadPoolExecutorTest.java
* remove the asf header check of checkstyle plugin
2018-04-23 11:28:22 +08:00
Junjian Peng 6742d1cd0f Method extraction & Unnecessary code remove & Typo fix (#1646) 2018-04-21 15:06:51 +08:00
业余布道师 98a906a9d2 Change monitor log level (#1443) 2018-04-21 14:27:15 +08:00
Lei Jiang 8b6f4456d5 Minor improvement on test cases: (#1507)
1. Use org.junit.Assert instead of junit.framework.Assert(@Deprecated since Junit 4)
2. Use assertTrue and other assert methods through static import to make codes easier to read
2018-04-21 14:25:06 +08:00
leyou240 60e3b19db5 Add missing @Override to classes (#1553) 2018-04-21 14:20:09 +08:00
Huang YunKun e50867bf17 Add test for registry modules (#1584) 2018-04-21 14:10:07 +08:00
Mr.bearDream a05f72c63c [Dubbo-Config] replace by Constants. (#1612)
* replace var by constants.
* it is protocolRuntimeBeanReferences rather than registryRuntimeBeanReferences
2018-04-21 14:08:03 +08:00
Huang YunKun 05137f09ff Exclude dubbo-demo when calc coverage (#1561) 2018-04-21 13:50:22 +08:00
Huxing Zhang d43faf447b Update xml namespace and schema location #1629 (#1633)
Fine
2018-04-20 16:02:34 +08:00
ralf0131 1de21470c9 Polish pull request template. 2018-04-18 17:00:05 +08:00
ralf0131 94b05f584f Fix typo. 2018-04-17 17:08:13 +08:00
ralf0131 4d885b870f Add link to Wiki. 2018-04-16 09:54:13 +08:00
Huxing Zhang a65c9e2bfb Upgrade spring version. (#1595) 2018-04-14 15:08:50 +08:00
Jerrick Zhu d80a42cc69 Fix #1539, change log method (#1578) 2018-04-10 16:23:27 +08:00
Huang YunKun c25d462ff4 Use jacoco instead of cobertura for coverage rate collectiong (#1575) 2018-04-10 11:47:50 +08:00
Young Hu 2e84f07203 1. dubbo monitor parameters add group and version (#1407)
2. monitor interval can be override by outside setting
2018-04-10 10:37:25 +08:00
时无两丶 38f45eec3a Extension: Eager Thread Pool (#1568)
* Extension: Enhanced Thread Pool
A thread pool that can provide faster processing speeds when there are more tasks (of course it consumes more resources)
* When the number of tasks exceeds the core size, a new thread is first started to execute the task instead of putting it into the queue.
* When the number of tasks is lower than the core size for a long time, the core size threads are maintained and redundant threads are recycled.
* Compared to the fixed pool:When there are more tasks, provide more workers to handle the tasks.
* Compared to the cached pool:The task queue in the cached pool is actually a SynchronousQueue and does not have the ability to cache tasks.
* Whether to fail fail or put into a queue when a thread runs out:Both are feasible and need to consider which way should be applied according to the business scenario. Delayed scenarios are not allowed. Failfast is more reasonable than queues. However, if there is a certain tolerance for delays, queues are more reasonable than failfast.

* remove * in import

* add license to fix ci failure

* rename the thread pool to EagerThreadPool
modify sth with the code review
format the code file

* remove '*' in import statement

* throw NullPointerException if the param is null.

* throw NullPointerException if the param is null.

* catch throwable and decrease submitted task count anyway
2018-04-09 22:55:56 +08:00
时无两丶 9f48d8dbdd remove the method with the same function but the different name in NetUtils (#1572) 2018-04-09 19:33:32 +08:00
kimmking 497803c836 update travis_wait 30 (#1569)
update travis_wait 30min to prevent travis timeout
2018-04-08 21:01:44 +08:00
Huang YunKun 9003c125a9 add checkstyle (#1558) 2018-04-08 15:13:10 +08:00
beiwei30 f4bd1b5f2c supplementary change for pull request#1388 2018-04-08 10:30:00 +08:00
Ke Li 92fa9afe27 Remove unnecessary StringBuilder (#1388) 2018-04-08 10:23:46 +08:00
Junjian Peng 697724cf00 typo fix (#1562) 2018-04-08 10:21:43 +08:00
Ian Luo 20aa3f0b2f manually merge the work made by pull request #1491 on master branch (#1554)
* Manually merge pull request #1486, to make travis ci and codecov work after apache incubator transition.

* update pom license, scm, maillists, issuemanagement, add DISCLAIMER (#1491)
2018-04-04 22:54:17 -05:00
Huang YunKun c623429e1a add unit test for netty4 remoting (#1509) 2018-04-04 22:51:44 -05:00
Huang YunKun ab2af6956c Fix typo for remoting module (#1400) 2018-04-04 15:07:35 +08:00
nzomkxia 9ffbea0c0b Update readme (#1551) 2018-04-04 14:33:42 +08:00