This is an automated email from the ASF dual-hosted git repository.
carryxyh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 5a67a19 fix org.apache.dubbo replace com.alibaba.dubbo (#3338)
5a67a19 is described below
commit 5a67a19280e59aa0f1a1d767dce4b73e6d320e70
Author: huazhongming <[email protected]>
AuthorDate: Fri Jan 25 11:19:44 2019 +0800
fix org.apache.dubbo replace com.alibaba.dubbo (#3338)
org.apache.dubbo replace com.alibaba.dubbo
---
.../src/test/resources/META-INF/dubbb-provider.properties | 2 +-
.../test/java/org/apache/dubbo/rpc/filter/GenericFilterTest.java | 8 ++++----
.../java/org/apache/dubbo/rpc/filter/GenericImplFilterTest.java | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git
a/dubbo-config/dubbo-config-spring/src/test/resources/META-INF/dubbb-provider.properties
b/dubbo-config/dubbo-config-spring/src/test/resources/META-INF/dubbb-provider.properties
index 2ef6638..f2e20c4 100644
---
a/dubbo-config/dubbo-config-spring/src/test/resources/META-INF/dubbb-provider.properties
+++
b/dubbo-config/dubbo-config-spring/src/test/resources/META-INF/dubbb-provider.properties
@@ -1,7 +1,7 @@
# Dubbo Provider Properties as an alternative for
# Spring XML Bean definition : META-INF/spring/dubbo-annotation-provider.xml
-## Service Providers' Placeholders for
com.alibaba.dubbo.config.spring.context.annotation.provider.DemoServiceImpl
+## Service Providers' Placeholders for
org.apache.dubbo.config.spring.context.annotation.provider.DemoServiceImpl
demo.service.application = dubbo-demo-application
demo.service.protocol = dubbo
diff --git
a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericFilterTest.java
b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericFilterTest.java
index e09afe6..bd680e7 100644
---
a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericFilterTest.java
+++
b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericFilterTest.java
@@ -49,7 +49,7 @@ public class GenericFilterTest {
RpcInvocation invocation = new RpcInvocation(Constants.$INVOKE,
genericInvoke.getParameterTypes(),
new Object[]{"getPerson", new
String[]{Person.class.getCanonicalName()}, new Object[]{person}});
- URL url =
URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
+ URL url =
URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
"accesslog=true&group=dubbo&version=1.1");
Invoker invoker = Mockito.mock(Invoker.class);
when(invoker.invoke(any(Invocation.class))).thenReturn(new
RpcResult(new Person("person", 10)));
@@ -76,7 +76,7 @@ public class GenericFilterTest {
new Object[]{"getPerson", new
String[]{Person.class.getCanonicalName()}, new Object[]{person}});
invocation.setAttachment(Constants.GENERIC_KEY,
Constants.GENERIC_SERIALIZATION_NATIVE_JAVA);
- URL url =
URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
+ URL url =
URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
"accesslog=true&group=dubbo&version=1.1");
Invoker invoker = Mockito.mock(Invoker.class);
when(invoker.invoke(any(Invocation.class))).thenReturn(new
RpcResult(new Person("person", 10)));
@@ -99,7 +99,7 @@ public class GenericFilterTest {
RpcInvocation invocation = new RpcInvocation("sayHi",
genericInvoke.getParameterTypes()
, new Object[]{"getPerson", new
String[]{Person.class.getCanonicalName()}, new Object[]{person}});
- URL url =
URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
+ URL url =
URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
"accesslog=true&group=dubbo&version=1.1");
Invoker invoker = Mockito.mock(Invoker.class);
when(invoker.invoke(any(Invocation.class))).thenReturn(new
RpcResult(new Person("person", 10)));
@@ -123,7 +123,7 @@ public class GenericFilterTest {
RpcInvocation invocation = new RpcInvocation(Constants.$INVOKE,
genericInvoke.getParameterTypes()
, new Object[]{"getPerson", new
String[]{Person.class.getCanonicalName()}});
- URL url =
URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
+ URL url =
URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
"accesslog=true&group=dubbo&version=1.1");
Invoker invoker = Mockito.mock(Invoker.class);
when(invoker.invoke(any(Invocation.class))).thenReturn(new
RpcResult(new Person("person", 10)));
diff --git
a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericImplFilterTest.java
b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericImplFilterTest.java
index fbeb84e..43930ef 100644
---
a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericImplFilterTest.java
+++
b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericImplFilterTest.java
@@ -50,7 +50,7 @@ public class GenericImplFilterTest {
new Class[]{Person.class}, new Object[]{new Person("dubbo",
10)});
- URL url =
URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
+ URL url =
URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
"accesslog=true&group=dubbo&version=1.1&generic=true");
Invoker invoker = Mockito.mock(Invoker.class);
@@ -74,7 +74,7 @@ public class GenericImplFilterTest {
RpcInvocation invocation = new RpcInvocation("getPerson",
new Class[]{Person.class}, new Object[]{new Person("dubbo",
10)});
- URL url =
URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
+ URL url =
URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
"accesslog=true&group=dubbo&version=1.1&generic=true");
Invoker invoker = Mockito.mock(Invoker.class);
@@ -100,7 +100,7 @@ public class GenericImplFilterTest {
RpcInvocation invocation = new RpcInvocation(Constants.$INVOKE,
genericInvoke.getParameterTypes(),
new Object[]{"getPerson", new
String[]{Person.class.getCanonicalName()}, new Object[]{person}});
- URL url =
URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
+ URL url =
URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
"accesslog=true&group=dubbo&version=1.1&generic=true");
Invoker invoker = Mockito.mock(Invoker.class);
when(invoker.invoke(any(Invocation.class))).thenReturn(new
RpcResult(new Person("person", 10)));