Skip to content

Commit 5a67a19

Browse files
CrazyHZMcarryxyh
authored andcommitted
fix org.apache.dubbo replace com.alibaba.dubbo (#3338)
org.apache.dubbo replace com.alibaba.dubbo
1 parent ece58a8 commit 5a67a19

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dubbo-config/dubbo-config-spring/src/test/resources/META-INF/dubbb-provider.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Dubbo Provider Properties as an alternative for
22
# Spring XML Bean definition : META-INF/spring/dubbo-annotation-provider.xml
33

4-
## Service Providers' Placeholders for com.alibaba.dubbo.config.spring.context.annotation.provider.DemoServiceImpl
4+
## Service Providers' Placeholders for org.apache.dubbo.config.spring.context.annotation.provider.DemoServiceImpl
55

66
demo.service.application = dubbo-demo-application
77
demo.service.protocol = dubbo

dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericFilterTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void testInvokeWithDefault() throws Exception {
4949
RpcInvocation invocation = new RpcInvocation(Constants.$INVOKE, genericInvoke.getParameterTypes(),
5050
new Object[]{"getPerson", new String[]{Person.class.getCanonicalName()}, new Object[]{person}});
5151

52-
URL url = URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
52+
URL url = URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
5353
"accesslog=true&group=dubbo&version=1.1");
5454
Invoker invoker = Mockito.mock(Invoker.class);
5555
when(invoker.invoke(any(Invocation.class))).thenReturn(new RpcResult(new Person("person", 10)));
@@ -76,7 +76,7 @@ public void testInvokeWithJavaException() throws Exception {
7676
new Object[]{"getPerson", new String[]{Person.class.getCanonicalName()}, new Object[]{person}});
7777
invocation.setAttachment(Constants.GENERIC_KEY, Constants.GENERIC_SERIALIZATION_NATIVE_JAVA);
7878

79-
URL url = URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
79+
URL url = URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
8080
"accesslog=true&group=dubbo&version=1.1");
8181
Invoker invoker = Mockito.mock(Invoker.class);
8282
when(invoker.invoke(any(Invocation.class))).thenReturn(new RpcResult(new Person("person", 10)));
@@ -99,7 +99,7 @@ public void testInvokeWithJavaException() throws Exception {
9999
RpcInvocation invocation = new RpcInvocation("sayHi", genericInvoke.getParameterTypes()
100100
, new Object[]{"getPerson", new String[]{Person.class.getCanonicalName()}, new Object[]{person}});
101101

102-
URL url = URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
102+
URL url = URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
103103
"accesslog=true&group=dubbo&version=1.1");
104104
Invoker invoker = Mockito.mock(Invoker.class);
105105
when(invoker.invoke(any(Invocation.class))).thenReturn(new RpcResult(new Person("person", 10)));
@@ -123,7 +123,7 @@ public void testInvokeWithMethodArgumentSizeIsNot3() {
123123
RpcInvocation invocation = new RpcInvocation(Constants.$INVOKE, genericInvoke.getParameterTypes()
124124
, new Object[]{"getPerson", new String[]{Person.class.getCanonicalName()}});
125125

126-
URL url = URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
126+
URL url = URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
127127
"accesslog=true&group=dubbo&version=1.1");
128128
Invoker invoker = Mockito.mock(Invoker.class);
129129
when(invoker.invoke(any(Invocation.class))).thenReturn(new RpcResult(new Person("person", 10)));

dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/GenericImplFilterTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void testInvoke() throws Exception {
5050
new Class[]{Person.class}, new Object[]{new Person("dubbo", 10)});
5151

5252

53-
URL url = URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
53+
URL url = URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
5454
"accesslog=true&group=dubbo&version=1.1&generic=true");
5555
Invoker invoker = Mockito.mock(Invoker.class);
5656

@@ -74,7 +74,7 @@ public void testInvokeWithException() throws Exception {
7474
RpcInvocation invocation = new RpcInvocation("getPerson",
7575
new Class[]{Person.class}, new Object[]{new Person("dubbo", 10)});
7676

77-
URL url = URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
77+
URL url = URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
7878
"accesslog=true&group=dubbo&version=1.1&generic=true");
7979
Invoker invoker = Mockito.mock(Invoker.class);
8080

@@ -100,7 +100,7 @@ public void testInvokeWithException() throws Exception {
100100
RpcInvocation invocation = new RpcInvocation(Constants.$INVOKE, genericInvoke.getParameterTypes(),
101101
new Object[]{"getPerson", new String[]{Person.class.getCanonicalName()}, new Object[]{person}});
102102

103-
URL url = URL.valueOf("test://test:11/com.alibaba.dubbo.rpc.support.DemoService?" +
103+
URL url = URL.valueOf("test://test:11/org.apache.dubbo.rpc.support.DemoService?" +
104104
"accesslog=true&group=dubbo&version=1.1&generic=true");
105105
Invoker invoker = Mockito.mock(Invoker.class);
106106
when(invoker.invoke(any(Invocation.class))).thenReturn(new RpcResult(new Person("person", 10)));

0 commit comments

Comments
 (0)