diff --git a/eventmesh-console/.gitignore b/eventmesh-admin/.gitignore similarity index 100% rename from eventmesh-console/.gitignore rename to eventmesh-admin/.gitignore diff --git a/eventmesh-console/README.md b/eventmesh-admin/README.md similarity index 100% rename from eventmesh-console/README.md rename to eventmesh-admin/README.md diff --git a/eventmesh-console/build.gradle b/eventmesh-admin/build.gradle similarity index 100% rename from eventmesh-console/build.gradle rename to eventmesh-admin/build.gradle diff --git a/eventmesh-console/docker/Dockerfile b/eventmesh-admin/docker/Dockerfile similarity index 86% rename from eventmesh-console/docker/Dockerfile rename to eventmesh-admin/docker/Dockerfile index efa0ccf5c0..a59c68f600 100644 --- a/eventmesh-console/docker/Dockerfile +++ b/eventmesh-admin/docker/Dockerfile @@ -17,6 +17,6 @@ FROM openjdk:8-jre-alpine VOLUME /tmp -COPY build/libs/eventmesh-console-*.jar eventmesh-console.jar +COPY build/libs/eventmesh-admin-*.jar eventmesh-admin.jar ENV JAVA_OPTS="" -ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar /eventmesh-console.jar"] +ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar /eventmesh-admin.jar"] diff --git a/eventmesh-console/docs/UserGuide_CN.md b/eventmesh-admin/docs/UserGuide_CN.md similarity index 100% rename from eventmesh-console/docs/UserGuide_CN.md rename to eventmesh-admin/docs/UserGuide_CN.md diff --git a/eventmesh-console/docs/UserGuide_EN.md b/eventmesh-admin/docs/UserGuide_EN.md similarity index 100% rename from eventmesh-console/docs/UserGuide_EN.md rename to eventmesh-admin/docs/UserGuide_EN.md diff --git a/eventmesh-console/gradle/wrapper/gradle-wrapper.jar b/eventmesh-admin/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from eventmesh-console/gradle/wrapper/gradle-wrapper.jar rename to eventmesh-admin/gradle/wrapper/gradle-wrapper.jar diff --git a/eventmesh-console/gradle/wrapper/gradle-wrapper.properties b/eventmesh-admin/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from eventmesh-console/gradle/wrapper/gradle-wrapper.properties rename to eventmesh-admin/gradle/wrapper/gradle-wrapper.properties diff --git a/eventmesh-console/gradlew b/eventmesh-admin/gradlew similarity index 100% rename from eventmesh-console/gradlew rename to eventmesh-admin/gradlew diff --git a/eventmesh-console/gradlew.bat b/eventmesh-admin/gradlew.bat similarity index 100% rename from eventmesh-console/gradlew.bat rename to eventmesh-admin/gradlew.bat diff --git a/eventmesh-console/settings.gradle b/eventmesh-admin/settings.gradle similarity index 95% rename from eventmesh-console/settings.gradle rename to eventmesh-admin/settings.gradle index b2966edefe..5c6d89a336 100644 --- a/eventmesh-console/settings.gradle +++ b/eventmesh-admin/settings.gradle @@ -15,4 +15,4 @@ * limitations under the License. */ -rootProject.name = 'eventmesh-console' +rootProject.name = 'eventmesh-admin' diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/EventMeshAdminApplication.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/EventMeshAdminApplication.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/EventMeshAdminApplication.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/EventMeshAdminApplication.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/config/AdminProperties.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/config/AdminProperties.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/config/AdminProperties.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/config/AdminProperties.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/config/Constants.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/config/Constants.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/config/Constants.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/config/Constants.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/config/MetaTypeConfig.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/config/MetaTypeConfig.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/config/MetaTypeConfig.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/config/MetaTypeConfig.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/controller/ConnectionController.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/controller/ConnectionController.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/controller/ConnectionController.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/controller/ConnectionController.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/controller/SubscriptionController.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/controller/SubscriptionController.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/controller/SubscriptionController.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/controller/SubscriptionController.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/dto/SubscriptionResponse.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/dto/SubscriptionResponse.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/dto/SubscriptionResponse.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/dto/SubscriptionResponse.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/exception/EventMeshAdminException.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/exception/EventMeshAdminException.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/exception/EventMeshAdminException.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/exception/EventMeshAdminException.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/exception/EventMeshException.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/exception/EventMeshException.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/exception/EventMeshException.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/exception/EventMeshException.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/exception/MetaException.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/exception/MetaException.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/exception/MetaException.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/exception/MetaException.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/model/ConnectionInfo.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/model/ConnectionInfo.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/model/ConnectionInfo.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/model/ConnectionInfo.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/model/SubscriptionInfo.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/model/SubscriptionInfo.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/model/SubscriptionInfo.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/model/SubscriptionInfo.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/ConnectionService.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/ConnectionService.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/ConnectionService.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/ConnectionService.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/SubscriptionService.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/SubscriptionService.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/SubscriptionService.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/SubscriptionService.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdConnectionService.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdConnectionService.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdConnectionService.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdConnectionService.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdSubscriptionService.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdSubscriptionService.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdSubscriptionService.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/EtcdSubscriptionService.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/NacosConnectionService.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/NacosConnectionService.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/NacosConnectionService.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/NacosConnectionService.java diff --git a/eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/NacosSubscriptionService.java b/eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/NacosSubscriptionService.java similarity index 100% rename from eventmesh-console/src/main/java/org/apache/eventmesh/admin/service/impl/NacosSubscriptionService.java rename to eventmesh-admin/src/main/java/org/apache/eventmesh/admin/service/impl/NacosSubscriptionService.java diff --git a/eventmesh-console/src/main/resources/application.yml b/eventmesh-admin/src/main/resources/application.yml similarity index 100% rename from eventmesh-console/src/main/resources/application.yml rename to eventmesh-admin/src/main/resources/application.yml diff --git a/eventmesh-console/src/main/resources/logback.xml b/eventmesh-admin/src/main/resources/logback.xml similarity index 100% rename from eventmesh-console/src/main/resources/logback.xml rename to eventmesh-admin/src/main/resources/logback.xml diff --git a/eventmesh-console/src/test/java/org/apache/eventmesh/admin/EventMeshAdminApplicationTests.java b/eventmesh-admin/src/test/java/org/apache/eventmesh/admin/EventMeshAdminApplicationTests.java similarity index 100% rename from eventmesh-console/src/test/java/org/apache/eventmesh/admin/EventMeshAdminApplicationTests.java rename to eventmesh-admin/src/test/java/org/apache/eventmesh/admin/EventMeshAdminApplicationTests.java