From 6dcb360122e46739b20c72ad091255fb79ed2685 Mon Sep 17 00:00:00 2001 From: zzx <2651787250@qq.com> Date: Mon, 5 Feb 2024 17:48:25 +0800 Subject: [PATCH] rename this starter class file to EventMeshDashboardApplication --- .../dashboard/console/EventMeshDashboardApplication.java | 4 ++-- .../eventmesh/dashboard/console/unit/group/TestGroupDao.java | 5 +++-- .../console/unit/groupmember/testGroupMemberDao.java | 4 ++-- .../eventmesh/dashboard/console/unit/topic/testTopicDao.java | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/EventMeshDashboardApplication.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/EventMeshDashboardApplication.java index b7e6cb7c..117dd062 100644 --- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/EventMeshDashboardApplication.java +++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/EventMeshDashboardApplication.java @@ -30,8 +30,8 @@ public class EventMeshDashboardApplication { public static void main(String[] args) { try { - SpringApplication.run(EventmeshConsoleApplication.class, args); - log.info("{} Successfully booted.", EventmeshConsoleApplication.class.getSimpleName()); + SpringApplication.run(EventMeshDashboardApplication.class, args); + log.info("{} Successfully booted.", EventMeshDashboardApplication.class.getSimpleName()); } catch (Exception e) { log.error(e.getMessage(), e); } diff --git a/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/group/TestGroupDao.java b/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/group/TestGroupDao.java index e1276e8e..abc33d66 100644 --- a/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/group/TestGroupDao.java +++ b/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/group/TestGroupDao.java @@ -1,6 +1,7 @@ package org.apache.eventmesh.dashboard.console.unit.group; -import org.apache.eventmesh.dashboard.console.EventmeshConsoleApplication; +import org.apache.eventmesh.dashboard.console.EventMeshDashboardApplication; + import org.apache.eventmesh.dashboard.console.entity.group.GroupEntity; import org.apache.eventmesh.dashboard.console.mapper.group.OprGroupMapper; @@ -15,7 +16,7 @@ import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) -@SpringBootTest(classes = EventmeshConsoleApplication.class) +@SpringBootTest(classes = EventMeshDashboardApplication.class) public class TestGroupDao { @Autowired diff --git a/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/groupmember/testGroupMemberDao.java b/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/groupmember/testGroupMemberDao.java index 3a57bcee..f5d3451e 100644 --- a/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/groupmember/testGroupMemberDao.java +++ b/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/groupmember/testGroupMemberDao.java @@ -1,6 +1,6 @@ package org.apache.eventmesh.dashboard.console.unit.groupmember; -import org.apache.eventmesh.dashboard.console.EventmeshConsoleApplication; +import org.apache.eventmesh.dashboard.console.EventMeshDashboardApplication; import org.apache.eventmesh.dashboard.console.entity.groupmember.GroupMemberEntity; import org.apache.eventmesh.dashboard.console.mapper.groupmember.OprGroupMemberMapper; @@ -15,7 +15,7 @@ import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) -@SpringBootTest(classes = EventmeshConsoleApplication.class) +@SpringBootTest(classes = EventMeshDashboardApplication.class) public class testGroupMemberDao { @Autowired diff --git a/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/topic/testTopicDao.java b/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/topic/testTopicDao.java index b60da0d4..6b1c962a 100644 --- a/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/topic/testTopicDao.java +++ b/eventmesh-dashboard-console/src/test/java/org/apache/eventmesh/dashboard/console/unit/topic/testTopicDao.java @@ -1,6 +1,6 @@ package org.apache.eventmesh.dashboard.console.unit.topic; -import org.apache.eventmesh.dashboard.console.EventmeshConsoleApplication; +import org.apache.eventmesh.dashboard.console.EventMeshDashboardApplication; import org.apache.eventmesh.dashboard.console.entity.topic.TopicEntity; import org.apache.eventmesh.dashboard.console.mapper.topic.TopicMapper; @@ -15,7 +15,7 @@ import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) -@SpringBootTest(classes = EventmeshConsoleApplication.class) +@SpringBootTest(classes = EventMeshDashboardApplication.class) public class testTopicDao { @Autowired