From 973eaa04b57677199caa40aee1f32047e9072b17 Mon Sep 17 00:00:00 2001 From: Steve Yurong Su Date: Wed, 28 Apr 2021 14:48:23 +0800 Subject: [PATCH] [ISSUE #322] Rename package name "com.webank.eventmesh" to "org.apache.eventmesh" (#319) * rename org.apache.runtime to com.webank.runtime * rename com.webank.eventmesh to org.apache.eventmesh --- .../eventmesh-runtime-quickstart.zh-CN.md | 2 +- .../eventmesh-sdk-java-quickstart.zh-CN.md | 12 ++++++------ docs/en/instructions/eventmesh-runtime-quickstart.md | 2 +- .../en/instructions/eventmesh-sdk-java-quickstart.md | 12 ++++++------ eventmesh-connector-rocketmq/gradle.properties | 2 +- .../runtime/configuration/CommonConfiguration.java | 4 ++-- .../runtime/configuration/ConfigurationWraper.java | 2 +- .../eventmesh/runtime/domain/ConsumeRequest.java | 2 +- gradle.properties | 2 +- 9 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/cn/instructions/eventmesh-runtime-quickstart.zh-CN.md b/docs/cn/instructions/eventmesh-runtime-quickstart.zh-CN.md index 2defa78424..7af37ed280 100644 --- a/docs/cn/instructions/eventmesh-runtime-quickstart.zh-CN.md +++ b/docs/cn/instructions/eventmesh-runtime-quickstart.zh-CN.md @@ -91,7 +91,7 @@ dependencies { **2.3.4 启动运行** ``` -运行com.webank.eventmesh.starter.StartUp的主要方法 +运行org.apache.eventmesh.starter.StartUp的主要方法 ``` ## 3 Docker 运行 diff --git a/docs/cn/instructions/eventmesh-sdk-java-quickstart.zh-CN.md b/docs/cn/instructions/eventmesh-sdk-java-quickstart.zh-CN.md index 30a6f6b568..43df03320f 100644 --- a/docs/cn/instructions/eventmesh-sdk-java-quickstart.zh-CN.md +++ b/docs/cn/instructions/eventmesh-sdk-java-quickstart.zh-CN.md @@ -21,13 +21,13 @@ TCP 和 Http 示例都在**eventmesh-test**模块下 - 启动消费者,订阅上一步骤已经创建的Topic ``` -运行com.webank.eventmesh.tcp.demo.AsyncSubscribe的主要方法 +运行org.apache.eventmesh.tcp.demo.AsyncSubscribe的主要方法 ``` - 启动发送端,发送消息 ``` -运行com.webank.eventmesh.tcp.demo.AsyncPublish的主要方法 +运行org.apache.eventmesh.tcp.demo.AsyncPublish的主要方法 ```

广播消息

@@ -37,13 +37,13 @@ TCP 和 Http 示例都在**eventmesh-test**模块下 - 启动消费端,订阅上一步骤已经创建的Topic ``` -运行com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast的主要方法 +运行org.apache.eventmesh.tcp.demo.AsyncSubscribeBroadcast的主要方法 ``` - 启动发送端,发送广播消息 ``` -运行com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast的主要方法 +运行org.apache.eventmesh.tcp.demo.AsyncPublishBroadcast的主要方法 ``` ### 2. HTTP演示 @@ -63,13 +63,13 @@ TCP 和 Http 示例都在**eventmesh-test**模块下 异步事件消费端为spring boot demo,运行demo即可启动服务并完成Topic订阅 ``` -运行com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication的主要方法 +运行org.apache.eventmesh.http.demo.sub.SpringBootDemoApplication的主要方法 ``` - 启动发送端,发送消息 ``` -运行com.webank.eventmesh.http.demo.AsyncPublishInstance的主要方法 +运行org.apache.eventmesh.http.demo.AsyncPublishInstance的主要方法 ``` diff --git a/docs/en/instructions/eventmesh-runtime-quickstart.md b/docs/en/instructions/eventmesh-runtime-quickstart.md index 96b0e8b144..ea0baf6e1a 100644 --- a/docs/en/instructions/eventmesh-runtime-quickstart.md +++ b/docs/en/instructions/eventmesh-runtime-quickstart.md @@ -91,7 +91,7 @@ dependencies { **2.3.4 Run** -running `com.webank.eventmesh.starter.StartUp` main method +running `org.apache.eventmesh.starter.StartUp` main method ## 3 Run with Docker diff --git a/docs/en/instructions/eventmesh-sdk-java-quickstart.md b/docs/en/instructions/eventmesh-sdk-java-quickstart.md index 2cf441f66e..a754502aa8 100644 --- a/docs/en/instructions/eventmesh-sdk-java-quickstart.md +++ b/docs/en/instructions/eventmesh-sdk-java-quickstart.md @@ -22,13 +22,13 @@ the `resources` directory - start consumer ,subscribe topic in previous step. ``` -Run the main method of com.webank.eventmesh.tcp.demo.AsyncSubscribe +Run the main method of org.apache.eventmesh.tcp.demo.AsyncSubscribe ``` - start producer, send message ``` -Run the main method of com.webank.eventmesh.tcp.demo.AsyncPublish +Run the main method of org.apache.eventmesh.tcp.demo.AsyncPublish ``` #### Broadcast msg @@ -38,13 +38,13 @@ Run the main method of com.webank.eventmesh.tcp.demo.AsyncPublish - start consumer ,subscribe topic in previous step. ``` -Run the main method of com.webank.eventmesh.tcp.demo.AsyncSubscribeBroadcast +Run the main method of org.apache.eventmesh.tcp.demo.AsyncSubscribeBroadcast ``` * start producer, send broadcast message ``` -Run the main method of com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast +Run the main method of org.apache.eventmesh.tcp.demo.AsyncPublishBroadcast ``` ### 2. HTTP DEMO @@ -65,12 +65,12 @@ Run the main method of com.webank.eventmesh.tcp.demo.AsyncPublishBroadcast topic. ``` -Run the main method of com.webank.eventmesh.http.demo.sub.SpringBootDemoApplication +Run the main method of org.apache.eventmesh.http.demo.sub.SpringBootDemoApplication ``` - start producer, produce msg ``` -Run the main method of com.webank.eventmesh.http.demo.AsyncPublishInstance +Run the main method of org.apache.eventmesh.http.demo.AsyncPublishInstance ``` diff --git a/eventmesh-connector-rocketmq/gradle.properties b/eventmesh-connector-rocketmq/gradle.properties index 044058ca1b..a406fc5630 100644 --- a/eventmesh-connector-rocketmq/gradle.properties +++ b/eventmesh-connector-rocketmq/gradle.properties @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -group=com.webank.eventmesh +group=org.apache.eventmesh version=1.2.0 defibus_version=1.0.1 rocketmq_version=4.7.1 diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/CommonConfiguration.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/CommonConfiguration.java index c66f811512..855d187e0f 100644 --- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/CommonConfiguration.java +++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/CommonConfiguration.java @@ -15,10 +15,10 @@ // * limitations under the License. // */ // -//package org.apache.runtime.configuration; +//package com.webank.runtime.configuration; // //import com.google.common.base.Preconditions; -//import org.apache.runtime.util.EventMeshUtil; +//import com.webank.runtime.util.EventMeshUtil; //import org.apache.commons.lang3.StringUtils; // //public class CommonConfiguration { diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/ConfigurationWraper.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/ConfigurationWraper.java index eb362522a0..af67038e1a 100644 --- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/ConfigurationWraper.java +++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/ConfigurationWraper.java @@ -15,7 +15,7 @@ // * limitations under the License. // */ // -//package org.apache.runtime.configuration; +//package com.webank.runtime.configuration; // //import org.apache.eventmesh.common.ThreadPoolFactory; //import org.apache.commons.lang3.StringUtils; diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/domain/ConsumeRequest.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/domain/ConsumeRequest.java index 7ed8a4ed16..38c9b2e58c 100644 --- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/domain/ConsumeRequest.java +++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/domain/ConsumeRequest.java @@ -14,7 +14,7 @@ // * See the License for the specific language governing permissions and // * limitations under the License. // */ -//package org.apache.runtime.domain; +//package com.webank.runtime.domain; // //import org.apache.rocketmq.client.impl.consumer.ProcessQueue; //import org.apache.rocketmq.common.message.MessageExt; diff --git a/gradle.properties b/gradle.properties index 795561d41e..6fa13a2a37 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -group=com.webank.eventmesh +group=org.apache.eventmesh version=1.2.0-SNAPSHOT rocketmqVersion=4.4.0 jdk=1.8