How to use standard cxf client to invoke Dubbo Webservice?

2018-04-13 Thread lixiaguang
 
I got a Dubbo Webservice WSDL Address. I want to use cxf client toinvoke.But 
when i run my code,I got some error "NullPointerException".here is my client 
code:
import javax.xml.namespace.QName;
import javax.xml.ws.WebServiceClient;
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
import org.apache.log4j.Logger;
public class Test1 {
Logger log = Logger.getLogger(Test1.class);
public Object[] callWebService(String wsdl, String targetNamespace, String 
methodName, Object args[]) {
Object[] res = null;
try {
log.info("动态调用webservice开始,wsdl:" + wsdl + ",methodName:" + 
methodName + ",args:" + args);
JaxWsDynamicClientFactory dcf = 
JaxWsDynamicClientFactory.newInstance();
Client client = dcf.createClient(wsdl);
if (targetNamespace == null) {
res = client.invoke(methodName, args);
} else {
res = client.invoke(new QName(targetNamespace, 
methodName), args);
}
} catch (Exception e) {
log.error("动态调用webservice 失败,wsdl:" + wsdl + 
",targetNamespace:" + targetNamespace + ",methodName:"
+ methodName + ",args:" + args, e);
}
return res;
}
public static void main(String[] args) {
String wsdl = "http://xx:8080/TestService?wsdl;; // WSDL
String targetNamespace = "http://xx.com/;; // WSDL
String methodName = "getUserInfo";
Object params[] = {"id","1" };
Test1 client = new Test1();
Object[] res = client.callWebService(wsdl, targetNamespace, methodName, 
params);
System.out.println(res.toString());
}
Here is error:
java.lang.NullPointerException
at 
org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:109)
at 
org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:122)
at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:499)
at 
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:297)


WSDL is missing endpoint address. provide configuration is here. How to add 
endpoint address? use annotation or user configution?
 
 
 



here is wsdl
http://www.w3.org/2001/XMLSchema; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/; xmlns:tns="http://test.com/; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/; 
xmlns:ns1="http://schemas.xmlsoap.org/soap/http; name="TestService" 
targetNamespace="http://test.com/;>
wsdl:types
http://www.w3.org/2001/XMLSchema; 
xmlns:tns="http://test.com/; attributeFormDefault="unqualified" 
elementFormDefault="qualified" targetNamespace="http://test.com/;>


xsd:sequence





xsd:sequence






















http://schemas.xmlsoap.org/soap/http"/>























*



Re: [Suggestion] PR failing if test coverage went down

2018-04-13 Thread htynkn
yeah. I understand your concern.

This is a common requirement for coverage calc service. Codecov support this 
feature.
In codecov.yml, we can config threshold value which allow the coverage to drop 
by X%, and posting a success status.

Regards,
Yunkun Huang

On 2018/04/10 06:36:03, Huxing Zhang  wrote: 
> Hi,
> 
> Thanks for the suggestion.
> 
> I generally agree with the idea that we should prevent a pull request
> to be merged if the code coverage gets lower.
> 
> But my concern is the code coverage might have a minor drop even when
> just fixing typo[1], which makes confused.
> 
> Unless we can figure it out, or I think it will be better if we can
> set a threshold.
> 
> For example, if the code coverage drops >=0.1%, prevent the PR to be merged.
> 
> [1] https://github.com/apache/incubator-dubbo/pull/1562
> 
> On Tue, Apr 10, 2018 at 10:21 AM, htynkn  wrote:
> > hey team,
> >
> >
> > In pull request 
> > template(https://github.com/apache/incubator-dubbo/blob/master/PULL_REQUEST_TEMPLATE.md),
> >  this is one item to ask all pr to
> >
> >
> >"Write necessary unit-test to verify your logic correction"
> >
> >
> > Codecov has feature to fail PR if test coverage went down. Which means for 
> > any pull request, if it add some code without any unit test, the PR will 
> > fail
> > This can help to increase test coverage.
> >
> >
> > Any thoughts?
> >
> >
> > Relate links:
> > 1.https://docs.codecov.io/docs/commit-status
> > 2.https://github.com/codecov/support/issues/351
> >
> 
> -- 
> Best Regards!
> Huxing
> 


Unstable test for HessianProtocolTest

2018-04-13 Thread htynkn
hey team,

I notice two fail for HessianProtocolTest in travis CI. but it will pass next 
time if you trigger CI again.

The fail test file is 
com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest and console logs:
Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.609 sec <<< 
FAILURE! - in com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest
testHttpClient(com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest)  
Time elapsed: 0.662 sec  <<< ERROR!
com.caucho.hessian.client.HessianRuntimeException: 
com.caucho.hessian.io.HessianProtocolException: 'ï¿¿' is an unknown code
at 
com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest.testHttpClient(HessianProtocolTest.java:83)
Caused by: com.caucho.hessian.io.HessianProtocolException: 'ï¿¿' is an unknown 
code
at 
com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest.testHttpClient(HessianProtocolTest.java:83)

testHessianProtocol(com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest) 
 Time elapsed: 0.004 sec  <<< ERROR!
com.caucho.hessian.client.HessianRuntimeException: 
com.caucho.hessian.io.HessianProtocolException: 'ï¿¿' is an unknown code
at 
com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest.testHessianProtocol(HessianProtocolTest.java:48)
Caused by: com.caucho.hessian.io.HessianProtocolException: 'ï¿¿' is an unknown 
code
at 
com.alibaba.dubbo.rpc.protocol.hessian.HessianProtocolTest.testHessianProtocol(HessianProtocolTest.java:48

For now, I can only reproduce this issue in travis ci with jdk9 (refer to logs: 
https://api.travis-ci.org/v3/job/365133362/log.txt). I also did some test with 
my own machine:

Mac 10.13.2 with Jdk7, Jdk8 and Jdk9 can't reproduce this issue
Window 8 with jdk8 can reproduce this issue, I run test 1000 times, 247 of them 
are fail.

The only thing I can think about is hessian.overload.method config for hessian 
protocol. After I set this value to true in test. I can't reproduce this issue 
both in travis ci(refer to https://api.travis-ci.org/v3/job/365152345/log.txt) 
and my own machine.

It maybe a potential code issue or some unit test issue. But anyway I think 
it's something need to investigate.

Any thoughts?




[GitHub] zsw12013 commented on issue #106: How to config "async " attribute on method when I use annotation?

2018-04-13 Thread GitBox
zsw12013 commented on issue #106: How to config "async " attribute on method 
when I use annotation?
URL: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/106#issuecomment-381299510
 
 
   好像没有提供吧


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


How to get Session info using dubbo Filter?

2018-04-13 Thread 张卓群
我正在做dubbo的权限认证,现在发现我没有办法在dubbo 
filter里面获取当前用户的session信息。系统是通过HttpServletRequest实时获取用户信息的,但是在filter里面我无法注入HttpServletRequest,请问有什么方案或者建议吗?

[GitHub] takeseem commented on issue #1595: Upgrade spring version to 4.3.16.RELEASE.

2018-04-13 Thread GitBox
takeseem commented on issue #1595: Upgrade spring version to 4.3.16.RELEASE.
URL: https://github.com/apache/incubator-dubbo/pull/1595#issuecomment-381299455
 
 
   建议社区直接升级到spring v4.3.13,我们已经在线上使用spring4.x版本2年,spring4.3快半年了,至今没发现问题。


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem commented on issue #1251: Dubbo Spring Boot 1.0.0-SNAPSHOT will be released

2018-04-13 Thread GitBox
lovepoem commented on issue #1251: Dubbo Spring Boot 1.0.0-SNAPSHOT will be 
released
URL: 
https://github.com/apache/incubator-dubbo/issues/1251#issuecomment-381267233
 
 
   now 1.0.0 have been released


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem closed issue #612: 什么时候支持jdk8

2018-04-13 Thread GitBox
lovepoem closed issue #612: 什么时候支持jdk8
URL: https://github.com/apache/incubator-dubbo/issues/612
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem commented on issue #612: 什么时候支持jdk8

2018-04-13 Thread GitBox
lovepoem commented on issue #612: 什么时候支持jdk8
URL: https://github.com/apache/incubator-dubbo/issues/612#issuecomment-381266814
 
 
   support now


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem closed issue #347: 一起讨论邀请

2018-04-13 Thread GitBox
lovepoem closed issue #347: 一起讨论邀请
URL: https://github.com/apache/incubator-dubbo/issues/347
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem closed issue #865: 2.5.7版本新特性

2018-04-13 Thread GitBox
lovepoem closed issue #865: 2.5.7版本新特性
URL: https://github.com/apache/incubator-dubbo/issues/865
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem commented on issue #375: dubbo thrift协议问题

2018-04-13 Thread GitBox
lovepoem commented on issue #375: dubbo thrift协议问题
URL: https://github.com/apache/incubator-dubbo/issues/375#issuecomment-381199619
 
 
   @linbenxing can you paste more logs or sone code ?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem closed issue #406: dubbo 的 spring2.5的。现在spring一般都用4了。 这个有影响吗?

2018-04-13 Thread GitBox
lovepoem closed issue #406: dubbo 的 spring2.5的。现在spring一般都用4了。 这个有影响吗?
URL: https://github.com/apache/incubator-dubbo/issues/406
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem commented on issue #616: 计划官方支持 Spring boot么? 目前的配置很不友好

2018-04-13 Thread GitBox
lovepoem commented on issue #616: 计划官方支持 Spring boot么? 目前的配置很不友好
URL: https://github.com/apache/incubator-dubbo/issues/616#issuecomment-381197436
 
 
   https://github.com/apache/incubator-dubbo-spring-boot-project is the 
official version


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem closed issue #616: 计划官方支持 Spring boot么? 目前的配置很不友好

2018-04-13 Thread GitBox
lovepoem closed issue #616: 计划官方支持 Spring boot么? 目前的配置很不友好
URL: https://github.com/apache/incubator-dubbo/issues/616
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem commented on issue #1434: Hot to use "rest" protocol in dubbo, any demo?

2018-04-13 Thread GitBox
lovepoem commented on issue #1434: Hot to use "rest" protocol in dubbo, any 
demo?
URL: 
https://github.com/apache/incubator-dubbo/issues/1434#issuecomment-381194088
 
 
   https://github.com/apache/incubator-dubbo-docs/pull/14 the dubbox's 
documents will be merged,hope it can help you


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem closed issue #1379: Can dubbo have a real communtiy ?

2018-04-13 Thread GitBox
lovepoem closed issue #1379: Can dubbo have a real communtiy ?
URL: https://github.com/apache/incubator-dubbo/issues/1379
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] lovepoem closed issue #1427: Combine these two spring boot starter projects?

2018-04-13 Thread GitBox
lovepoem closed issue #1427: Combine these two spring boot starter projects?
URL: https://github.com/apache/incubator-dubbo/issues/1427
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] zonghaishang opened a new issue #1604: Please update pr template and specification

2018-04-13 Thread GitBox
zonghaishang opened a new issue #1604: Please update pr template and 
specification
URL: https://github.com/apache/incubator-dubbo/issues/1604
 
 
   @beiwei30 
   
   Please update pull request template and specification, thanks.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] smallnest commented on issue #1273: 使用maven-shade-plugin打包demo程序不能运行

2018-04-13 Thread GitBox
smallnest commented on issue #1273: 使用maven-shade-plugin打包demo程序不能运行
URL: 
https://github.com/apache/incubator-dubbo/issues/1273#issuecomment-381085696
 
 
   @bolton1643 好的,我有空试试,多谢


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] bolton1643 commented on issue #1273: 使用maven-shade-plugin打包demo程序不能运行

2018-04-13 Thread GitBox
bolton1643 commented on issue #1273: 使用maven-shade-plugin打包demo程序不能运行
URL: 
https://github.com/apache/incubator-dubbo/issues/1273#issuecomment-381076166
 
 
   在你工程的src/main/resources/META-INF/dubbo/internal/ 
添加一个文件com.alibaba.dubbo.common.extension.ExtensionFactory,
   里面的内容如下
   adaptive=com.alibaba.dubbo.common.extension.factory.AdaptiveExtensionFactory 
  
   这个错误应该就没有了


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


Re: List moderation

2018-04-13 Thread Mark Thomas
On 12/04/18 08:50, Huxing Zhang wrote:
> On Thu, Apr 12, 2018 at 3:48 PM, Mark Thomas  wrote:
>> On 12/04/18 03:47, Huxing Zhang wrote:
>>> Hi,
>>>
>>> I would like to volunteer. Please add me as moderator.
>>
>> Which list(s)? All of them?
> 
> Yes, all of them.

Done. Enjoy :)

Mark

> 
>>
>> Mark
>>
>>
>>>
>>> On Thu, Apr 12, 2018 at 3:28 AM, Mark Thomas  wrote:
 All,

 Currently moderation for each of the dubbo mailing lists is being
 performed by a single mentor.

 Ideally, there need to be at least 3 moderators. Even more ideally, the
 more widely spread their time-zones the better.

 Are there any volunteers from the committers to act as moderator for one
 or more of the dubbo lists? If you'd like to volunteer, reply here and
 I'll get you set up.

 More details here:
 http://apache.org/dev/committers.html#mail

 Mark
>>>
>>
> 



[GitHub] libbylg commented on issue #1599: 两个建议

2018-04-13 Thread GitBox
libbylg commented on issue #1599: 两个建议
URL: 
https://github.com/apache/incubator-dubbo/issues/1599#issuecomment-381074170
 
 
   @KimHu01 How about [servicecomb](https://servicecomb.incubator.apache.org/)? 
It is base on swagger. And there are some tools to mock the dependency service 
easily, if you have the open-api desctiptions.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] HHHuanzhYYY closed issue #1603: dubbo-admin 模块去哪了?

2018-04-13 Thread GitBox
HHHuanzhYYY closed issue #1603: dubbo-admin 模块去哪了?
URL: https://github.com/apache/incubator-dubbo/issues/1603
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] HHHuanzhYYY opened a new issue #1603: dubbo-admin 模块去哪了?

2018-04-13 Thread GitBox
HHHuanzhYYY opened a new issue #1603: dubbo-admin 模块去哪了?
URL: https://github.com/apache/incubator-dubbo/issues/1603
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rambosir commented on issue #1602: dubbo v2.6.1 @Service(retries=0)

2018-04-13 Thread GitBox
rambosir commented on issue #1602: dubbo v2.6.1 @Service(retries=0)
URL: 
https://github.com/apache/incubator-dubbo/issues/1602#issuecomment-381051245
 
 
   @zonghaishang thanks!


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] zonghaishang commented on issue #1602: dubbo v2.6.1 @Service(retries=0)

2018-04-13 Thread GitBox
zonghaishang commented on issue #1602: dubbo v2.6.1 @Service(retries=0)
URL: 
https://github.com/apache/incubator-dubbo/issues/1602#issuecomment-381050860
 
 
   duplicate with https://github.com/apache/incubator-dubbo/issues/1421


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] rambosir opened a new issue #1602: dubbo v2.6.1 @Service(retries=0)

2018-04-13 Thread GitBox
rambosir opened a new issue #1602: dubbo v2.6.1 @Service(retries=0)
URL: https://github.com/apache/incubator-dubbo/issues/1602
 
 
   retries=0不生效,请问是因为retries默认也是0的原因吗?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] codecov-io commented on issue #1601: Merge pull request #1 from alibaba/master

2018-04-13 Thread GitBox
codecov-io commented on issue #1601: Merge pull request #1 from alibaba/master
URL: https://github.com/apache/incubator-dubbo/pull/1601#issuecomment-381049711
 
 
   # 
[Codecov](https://codecov.io/gh/apache/incubator-dubbo/pull/1601?src=pr=h1) 
Report
   > Merging 
[#1601](https://codecov.io/gh/apache/incubator-dubbo/pull/1601?src=pr=desc) 
into 
[master](https://codecov.io/gh/apache/incubator-dubbo/commit/d80a42cc69d16d3cb3391ba9f5ec2cc64436839f?src=pr=desc)
 will **decrease** coverage by `0.03%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/graphs/tree.svg?width=650=150=pr=VnEIkiFQT0)](https://codecov.io/gh/apache/incubator-dubbo/pull/1601?src=pr=tree)
   
   ```diff
   @@ Coverage Diff  @@
   ## master#1601  +/-   ##
   
   - Coverage 34.56%   34.52%   -0.04% 
   + Complexity 3688 3683   -5 
   
 Files   621  621  
 Lines 3087530875  
 Branches   5448 5448  
   
   - Hits  1067310661  -12 
   - Misses1836718375   +8 
   - Partials   1835 1839   +4
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/incubator-dubbo/pull/1601?src=pr=tree) | 
Coverage Δ | Complexity Δ | |
   |---|---|---|---|
   | 
[...ba/dubbo/remoting/transport/netty/NettyClient.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tcmVtb3RpbmcvZHViYm8tcmVtb3RpbmctbmV0dHkvc3JjL21haW4vamF2YS9jb20vYWxpYmFiYS9kdWJiby9yZW1vdGluZy90cmFuc3BvcnQvbmV0dHkvTmV0dHlDbGllbnQuamF2YQ==)
 | `74.13% <0%> (-8.63%)` | `12% <0%> (-1%)` | |
   | 
[...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tcnBjL2R1YmJvLXJwYy1kdWJiby9zcmMvbWFpbi9qYXZhL2NvbS9hbGliYWJhL2R1YmJvL3JwYy9wcm90b2NvbC9kdWJiby90ZWxuZXQvSW52b2tlVGVsbmV0SGFuZGxlci5qYXZh)
 | `51.89% <0%> (-3.8%)` | `11% <0%> (-2%)` | |
   | 
[.../dubbo/rpc/protocol/dubbo/filter/FutureFilter.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tcnBjL2R1YmJvLXJwYy1kdWJiby9zcmMvbWFpbi9qYXZhL2NvbS9hbGliYWJhL2R1YmJvL3JwYy9wcm90b2NvbC9kdWJiby9maWx0ZXIvRnV0dXJlRmlsdGVyLmphdmE=)
 | `54.54% <0%> (-2.03%)` | `13% <0%> (ø)` | |
   | 
[.../com/alibaba/dubbo/monitor/dubbo/DubboMonitor.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tbW9uaXRvci9kdWJiby1tb25pdG9yLWRlZmF1bHQvc3JjL21haW4vamF2YS9jb20vYWxpYmFiYS9kdWJiby9tb25pdG9yL2R1YmJvL0R1YmJvTW9uaXRvci5qYXZh)
 | `74.07% <0%> (-1.86%)` | `7% <0%> (ø)` | |
   | 
[...bo/remoting/transport/netty/NettyCodecAdapter.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tcmVtb3RpbmcvZHViYm8tcmVtb3RpbmctbmV0dHkvc3JjL21haW4vamF2YS9jb20vYWxpYmFiYS9kdWJiby9yZW1vdGluZy90cmFuc3BvcnQvbmV0dHkvTmV0dHlDb2RlY0FkYXB0ZXIuamF2YQ==)
 | `53.12% <0%> (-1.57%)` | `3% <0%> (ø)` | |
   | 
[...dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tcnBjL2R1YmJvLXJwYy1kdWJiby9zcmMvbWFpbi9qYXZhL2NvbS9hbGliYWJhL2R1YmJvL3JwYy9wcm90b2NvbC9kdWJiby9DYWxsYmFja1NlcnZpY2VDb2RlYy5qYXZh)
 | `78.67% <0%> (-1.48%)` | `29% <0%> (-1%)` | |
   | 
[.../alibaba/dubbo/config/AbstractInterfaceConfig.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tY29uZmlnL2R1YmJvLWNvbmZpZy1hcGkvc3JjL21haW4vamF2YS9jb20vYWxpYmFiYS9kdWJiby9jb25maWcvQWJzdHJhY3RJbnRlcmZhY2VDb25maWcuamF2YQ==)
 | `37.66% <0%> (-0.45%)` | `40% <0%> (-1%)` | |
   | 
[...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tcnBjL2R1YmJvLXJwYy1kdWJiby9zcmMvbWFpbi9qYXZhL2NvbS9hbGliYWJhL2R1YmJvL3JwYy9wcm90b2NvbC9kdWJiby9DaGFubmVsV3JhcHBlZEludm9rZXIuamF2YQ==)
 | `50% <0%> (+4.16%)` | `3% <0%> (ø)` | :arrow_down: |
   | 
[...om/alibaba/dubbo/rpc/filter/ActiveLimitFilter.java](https://codecov.io/gh/apache/incubator-dubbo/pull/1601/diff?src=pr=tree#diff-ZHViYm8tcnBjL2R1YmJvLXJwYy1hcGkvc3JjL21haW4vamF2YS9jb20vYWxpYmFiYS9kdWJiby9ycGMvZmlsdGVyL0FjdGl2ZUxpbWl0RmlsdGVyLmphdmE=)
 | `88.88% <0%> (+5.55%)` | `6% <0%> (ø)` | :arrow_down: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/incubator-dubbo/pull/1601?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/incubator-dubbo/pull/1601?src=pr=footer).
 Last update 

[GitHub] zyhui98 closed pull request #1601: Merge pull request #1 from alibaba/master

2018-04-13 Thread GitBox
zyhui98 closed pull request #1601: Merge pull request #1 from alibaba/master
URL: https://github.com/apache/incubator-dubbo/pull/1601
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):



 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] zyhui98 opened a new pull request #1601: Merge pull request #1 from alibaba/master

2018-04-13 Thread GitBox
zyhui98 opened a new pull request #1601: Merge pull request #1 from 
alibaba/master
URL: https://github.com/apache/incubator-dubbo/pull/1601
 
 
   20180120 pull
   
   ## What is the purpose of the change
   
   X
   
   ## Brief changelog
   
   XX
   
   ## Verifying this change
   
   
   
   Follow this checklist to help us incorporate your contribution quickly and 
easily:
   
   - [x] Make sure there is a 
[GITHUB_issue](https://github.com/alibaba/dubbo/issues) filed for the change 
(usually before you start working on it). Trivial changes like typos do not 
require a GITHUB issue. Your pull request should address just this issue, 
without pulling in other changes - one PR resolves one issue. 
   - [ ] Format the pull request title like `[Dubbo-XXX] Fix UnknownException 
when host config not exist`. Each commit in the pull request should have a 
meaningful subject line and body.
   - [ ] Write a pull request description that is detailed enough to understand 
what the pull request does, how, and why.
   - [ ] Write necessary unit-test to verify your logic correction, more mock a 
little better when cross module dependency exist. If the new feature or 
significant change is committed, please remember to add integration-test in 
[test module](https://github.com/alibaba/dubbo/tree/master/dubbo-test).
   - [ ] Run `mvn clean install -DskipITs` to make sure unit-test pass. Run 
`mvn clean test-compile failsafe:integration-test`  to make sure 
integration-test pass.
   - [ ] If this contribution is large, please file an [Apache Individual 
Contributor License Agreement](http://www.apache.org/licenses/#clas).
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] beiwei30 closed pull request #15: update guide book and git repo address

2018-04-13 Thread GitBox
beiwei30 closed pull request #15: update guide book and git repo address
URL: https://github.com/apache/incubator-dubbo-docs/pull/15
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dubbo-admin-book-en/install/redis.md 
b/dubbo-admin-book-en/install/redis.md
index c42cc3b..ce48780 100644
--- a/dubbo-admin-book-en/install/redis.md
+++ b/dubbo-admin-book-en/install/redis.md
@@ -2,9 +2,9 @@
 
 
 
-Redis [^1] introductions, please refer to: [Redis application center 
manual](http://dubbo.io/books/dubbo-user-book-en/references/registry/redis.html)。
+Redis [^1] introductions, please refer to: [Redis application center 
manual](http://dubbo.apache.org/books/dubbo-user-book-en/references/registry/redis.html)。
 
-you need an origin Redis server only, and change the value from 
`dubbo.registry.addrss` to `redis://127.0.0.1:6379` in `conf/dubbo.properties` 
of [quick start](http://dubbo.io/books/dubbo-user-book-en/quick-start.html)
+you need an origin Redis server only, and change the value from 
`dubbo.registry.addrss` to `redis://127.0.0.1:6379` in `conf/dubbo.properties` 
of [quick 
start](http://dubbo.apache.org/books/dubbo-user-book-en/quick-start.html)
 
 Redis configuration center cluster [^2] write multiple server in client side 
and read from a single server.
 
diff --git a/dubbo-admin-book-en/install/simple-monitor-center.md 
b/dubbo-admin-book-en/install/simple-monitor-center.md
index e46365f..7e9a715 100644
--- a/dubbo-admin-book-en/install/simple-monitor-center.md
+++ b/dubbo-admin-book-en/install/simple-monitor-center.md
@@ -90,5 +90,5 @@ Simple Monitor use disk to store statistics information, 
please focus on the lim
 
 Charts directory must be in `jetty.directory`, or it can not be accessed by 
web page.
 
-[^1]: Please refer to [Telnet command reference 
manual](http://dubbo.io/books/dubbo-user-book-en/references/telnet.html)
+[^1]: Please refer to [Telnet command reference 
manual](http://dubbo.apache.org/books/dubbo-user-book-en/references/telnet.html)
 
diff --git a/dubbo-admin-book-en/install/simple-registry-center.md 
b/dubbo-admin-book-en/install/simple-registry-center.md
index 60b3110..752e00b 100644
--- a/dubbo-admin-book-en/install/simple-registry-center.md
+++ b/dubbo-admin-book-en/install/simple-registry-center.md
@@ -75,4 +75,4 @@ Or:
 echo status | nc -i 1 127.0.0.1 9090
 ```
 
-[^1]: Please refer to [Telnet command 
manual](http://dubbo.io/books/dubbo-user-book-en/references/telnet.html)
+[^1]: Please refer to [Telnet command 
manual](http://dubbo.apache.org/books/dubbo-user-book-en/references/telnet.html)
diff --git a/dubbo-admin-book/install/redis.md 
b/dubbo-admin-book/install/redis.md
index c005b1f..b7b518c 100644
--- a/dubbo-admin-book/install/redis.md
+++ b/dubbo-admin-book/install/redis.md
@@ -2,9 +2,9 @@
 
 
 
-Redis [^1] 使用方式参见: [Redis 
注册中心参考手册](http://dubbo.io/books/dubbo-user-book/references/registry/redis.html)。
+Redis [^1] 使用方式参见: [Redis 
注册中心参考手册](http://dubbo.apache.org/books/dubbo-user-book/references/registry/redis.html)。
 
-只需搭一个原生的 Redis 
服务器,并将[快速启动](http://dubbo.io/books/dubbo-user-book/quick-start.html)中 Provider 
和 Consumer 里的 `conf/dubbo.properties` 中的 `dubbo.registry.addrss` 的值改为 
`redis://127.0.0.1:6379` 即可使用。
+只需搭一个原生的 Redis 
服务器,并将[快速启动](http://dubbo.apache.org/books/dubbo-user-book/quick-start.html)中 
Provider 和 Consumer 里的 `conf/dubbo.properties` 中的 `dubbo.registry.addrss` 的值改为 
`redis://127.0.0.1:6379` 即可使用。
 
 Redis 注册中心集群 [^2] 采用在客户端同时写入多个服务器,读取单个服务器的策略实现。
 
diff --git a/dubbo-admin-book/install/simple-monitor-center.md 
b/dubbo-admin-book/install/simple-monitor-center.md
index f06f5a3..28ab3bc 100644
--- a/dubbo-admin-book/install/simple-monitor-center.md
+++ b/dubbo-admin-book/install/simple-monitor-center.md
@@ -91,5 +91,5 @@ Simple Monitor 采用磁盘存储统计信息,请注意安装机器的磁盘
 
 charts 目录必须放在 `jetty.directory` 下,否则页面上访问不了。
 
-[^1]: 请参考 [Telnet 
命令参考手册](http://dubbo.io/books/dubbo-user-book/references/telnet.html)
+[^1]: 请参考 [Telnet 
命令参考手册](http://dubbo.apache.org/books/dubbo-user-book/references/telnet.html)
 
diff --git a/dubbo-admin-book/install/simple-registry-center.md 
b/dubbo-admin-book/install/simple-registry-center.md
index ca402b2..6eef802 100644
--- a/dubbo-admin-book/install/simple-registry-center.md
+++ b/dubbo-admin-book/install/simple-registry-center.md
@@ -76,4 +76,4 @@ help
 echo status | nc -i 1 127.0.0.1 9090
 ```
 
-[^1]: 请参考 [Telnet 
命令参考手册](http://dubbo.io/books/dubbo-user-book/references/telnet.html)
+[^1]: 请参考 [Telnet 
命令参考手册](http://dubbo.apache.org/books/dubbo-user-book/references/telnet.html)
diff --git a/dubbo-dev-book-en/build.md b/dubbo-dev-book-en/build.md
index 5e1dbe4..7a44b3e 100644
--- a/dubbo-dev-book-en/build.md
+++ b/dubbo-dev-book-en/build.md
@@ -5,12 +5,12 @@
 checkout the lastest