chore: specify application name
This commit is contained in:
parent
68ace7a3b8
commit
5d3a5002b5
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue