diff --git a/backend/services/api-test/src/test/java/io/metersphere/api/Application.java b/backend/services/api-test/src/test/java/io/metersphere/api/ApiApplication.java similarity index 92% rename from backend/services/api-test/src/test/java/io/metersphere/api/Application.java rename to backend/services/api-test/src/test/java/io/metersphere/api/ApiApplication.java index af30479fd5..0f2a08b528 100644 --- a/backend/services/api-test/src/test/java/io/metersphere/api/Application.java +++ b/backend/services/api-test/src/test/java/io/metersphere/api/ApiApplication.java @@ -20,9 +20,9 @@ import org.springframework.context.annotation.ComponentScan; }) @ServletComponentScan @ComponentScan(basePackages = {"io.metersphere.sdk", "io.metersphere.api", "io.metersphere.system", "io.metersphere.project"}) -public class Application { +public class ApiApplication { public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(ApiApplication.class, args); } } diff --git a/backend/services/bug-management/src/test/java/io/metersphere/bug/Application.java b/backend/services/bug-management/src/test/java/io/metersphere/bug/BugApplication.java similarity index 92% rename from backend/services/bug-management/src/test/java/io/metersphere/bug/Application.java rename to backend/services/bug-management/src/test/java/io/metersphere/bug/BugApplication.java index 83f3e98ec8..ae04ecff3c 100644 --- a/backend/services/bug-management/src/test/java/io/metersphere/bug/Application.java +++ b/backend/services/bug-management/src/test/java/io/metersphere/bug/BugApplication.java @@ -20,8 +20,8 @@ import org.springframework.context.annotation.ComponentScan; }) @ServletComponentScan @ComponentScan(basePackages = {"io.metersphere.sdk", "io.metersphere.system", "io.metersphere.project", "io.metersphere.bug"}) -public class Application { +public class BugApplication { public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(BugApplication.class, args); } } diff --git a/backend/services/case-management/src/test/java/io/metersphere/functional/Application.java b/backend/services/case-management/src/test/java/io/metersphere/functional/CaseApplication.java similarity index 92% rename from backend/services/case-management/src/test/java/io/metersphere/functional/Application.java rename to backend/services/case-management/src/test/java/io/metersphere/functional/CaseApplication.java index 7dc1a09781..75a50710bd 100644 --- a/backend/services/case-management/src/test/java/io/metersphere/functional/Application.java +++ b/backend/services/case-management/src/test/java/io/metersphere/functional/CaseApplication.java @@ -21,9 +21,9 @@ import org.springframework.context.annotation.ComponentScan; }) @ServletComponentScan @ComponentScan(basePackages = {"io.metersphere.sdk", "io.metersphere.system", "io.metersphere.project", "io.metersphere.functional"}) -public class Application { +public class CaseApplication { public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(CaseApplication.class, args); } } diff --git a/backend/services/project-management/src/test/java/io/metersphere/project/Application.java b/backend/services/project-management/src/test/java/io/metersphere/project/ProjectApplication.java similarity index 91% rename from backend/services/project-management/src/test/java/io/metersphere/project/Application.java rename to backend/services/project-management/src/test/java/io/metersphere/project/ProjectApplication.java index 2d25d6c69f..ef22efa497 100644 --- a/backend/services/project-management/src/test/java/io/metersphere/project/Application.java +++ b/backend/services/project-management/src/test/java/io/metersphere/project/ProjectApplication.java @@ -20,9 +20,9 @@ import org.springframework.context.annotation.ComponentScan; }) @ServletComponentScan @ComponentScan(basePackages = {"io.metersphere.sdk", "io.metersphere.system", "io.metersphere.project"}) -public class Application { +public class ProjectApplication { public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(ProjectApplication.class, args); } } diff --git a/backend/services/system-setting/src/test/java/io/metersphere/system/Application.java b/backend/services/system-setting/src/test/java/io/metersphere/system/SystemApplication.java similarity index 91% rename from backend/services/system-setting/src/test/java/io/metersphere/system/Application.java rename to backend/services/system-setting/src/test/java/io/metersphere/system/SystemApplication.java index 82b595f92d..2e5aaad6e8 100644 --- a/backend/services/system-setting/src/test/java/io/metersphere/system/Application.java +++ b/backend/services/system-setting/src/test/java/io/metersphere/system/SystemApplication.java @@ -20,9 +20,9 @@ import org.springframework.context.annotation.ComponentScan; }) @ServletComponentScan @ComponentScan(basePackages = {"io.metersphere.sdk", "io.metersphere.system"}) -public class Application { +public class SystemApplication { public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(SystemApplication.class, args); } } diff --git a/backend/services/test-plan/src/test/java/io/metersphere/plan/Application.java b/backend/services/test-plan/src/test/java/io/metersphere/plan/TestPlanApplication.java similarity index 91% rename from backend/services/test-plan/src/test/java/io/metersphere/plan/Application.java rename to backend/services/test-plan/src/test/java/io/metersphere/plan/TestPlanApplication.java index b1428254d4..cc4cf7a37e 100644 --- a/backend/services/test-plan/src/test/java/io/metersphere/plan/Application.java +++ b/backend/services/test-plan/src/test/java/io/metersphere/plan/TestPlanApplication.java @@ -20,9 +20,9 @@ import org.springframework.context.annotation.ComponentScan; }) @ServletComponentScan @ComponentScan(basePackages = {"io.metersphere.sdk", "io.metersphere.plan", "io.metersphere.system"}) -public class Application { +public class TestPlanApplication { public static void main(String[] args) { - SpringApplication.run(Application.class, args); + SpringApplication.run(TestPlanApplication.class, args); } }