Closed JervyShi closed 5 years ago
I wrote a test case ,it seems ok?
@leizhiyuan Yeah, getServiceInterface()
read property value from parameters map directly, but the real properties in ConsulURL
are not right. I have created a pr for this.
Yes, there are some problems
Describe the bug
ConsulURL#valueOf
can not return right url instance.Expected behavior
Input:
bolt://127.0.0.1:12200?accepts=100000&appName=samples&delay=-1&dynamic=true&id=helloFutureServiceImpl&interface=com.alipay.sofa.rpc.samples.invoke.HelloFutureService&language=java&pid=16262&protocol=bolt&rpcVer=50500&serialization=hessian2&startTime=1545361899136&timeout=0&uniqueId=&version=1.0&weight=100
Output:
Actual behavior
Output:
ConsulURL.interface
is null.Environment
java -version
): 1.8uname -a
):