diff --git a/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/pom.xml b/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/pom.xml index ecb92efe..eba6f719 100644 --- a/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/pom.xml +++ b/hippo4j-example/hippo4j-core-nacos-spring-boot-starter-example/pom.xml @@ -8,7 +8,7 @@ ${revision} - hippo4j-core-spring-boot-starter-example + hippo4j-core-nacos-spring-boot-starter-example ${project.artifactId} diff --git a/hippo4j-example/hippo4j-spring-boot-starter-example/.gitignore b/hippo4j-example/hippo4j-spring-boot-starter-example/.gitignore deleted file mode 100644 index 549e00a2..00000000 --- a/hippo4j-example/hippo4j-spring-boot-starter-example/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -HELP.md -target/ -!.mvn/wrapper/maven-wrapper.jar -!**/src/main/**/target/ -!**/src/test/**/target/ - -### STS ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache - -### IntelliJ IDEA ### -.idea -*.iws -*.iml -*.ipr - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ -build/ -!**/src/main/**/build/ -!**/src/test/**/build/ - -### VS Code ### -.vscode/ diff --git a/hippo4j-example/hippo4j-spring-boot-starter-example/pom.xml b/hippo4j-example/hippo4j-spring-boot-starter-example/pom.xml deleted file mode 100644 index be3e2f5d..00000000 --- a/hippo4j-example/hippo4j-spring-boot-starter-example/pom.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - 4.0.0 - - cn.hippo4j - hippo4j-example - ${revision} - - - hippo4j-spring-boot-starter-example - ${project.artifactId} - - - true - - - - - org.springframework.boot - spring-boot-starter - - - - org.springframework.boot - spring-boot-starter-test - test - - - - cn.hippo4j - hippo4j-example-core - ${revision} - - - - cn.hippo4j - hippo4j-spring-boot-starter - ${revision} - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - - - diff --git a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/java/cn/hippo4j/example/starter/Hippo4JExampleApplication.java b/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/java/cn/hippo4j/example/starter/Hippo4JExampleApplication.java deleted file mode 100644 index d0db558e..00000000 --- a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/java/cn/hippo4j/example/starter/Hippo4JExampleApplication.java +++ /dev/null @@ -1,15 +0,0 @@ -package cn.hippo4j.example.starter; - -import cn.hippo4j.core.enable.EnableDynamicThreadPool; -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -@EnableDynamicThreadPool -@SpringBootApplication(scanBasePackages = "cn.hippo4j.example.core") -public class Hippo4JExampleApplication { - - public static void main(String[] args) { - SpringApplication.run(Hippo4JExampleApplication.class, args); - } - -} diff --git a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/META-INF/services/cn.hippo4j.core.spi.CustomRejectedExecutionHandler b/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/META-INF/services/cn.hippo4j.core.spi.CustomRejectedExecutionHandler deleted file mode 100644 index c53db230..00000000 --- a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/META-INF/services/cn.hippo4j.core.spi.CustomRejectedExecutionHandler +++ /dev/null @@ -1 +0,0 @@ -cn.hippo4j.example.core.handler.ErrorLogRejectedExecutionHandler diff --git a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/application.yaml b/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/application.yaml deleted file mode 100644 index 32f0a916..00000000 --- a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/application.yaml +++ /dev/null @@ -1,22 +0,0 @@ -server: - port: 8088 - servlet: - context-path: /example - -spring: - profiles: - active: dev - - # 应用配置 - application: - name: dynamic-threadpool-example - - # 动态线程池配置 - dynamic: - thread-pool: - server-addr: http://localhost:6691 - namespace: prescription - item-id: dynamic-threadpool-example - username: admin - password: 123456 - enable: true diff --git a/hippo4j-example/hippo4j-spring-boot-starter-example/src/test/java/cn/hippo4j/example/starter/Hippo4JExampleApplicationTests.java b/hippo4j-example/hippo4j-spring-boot-starter-example/src/test/java/cn/hippo4j/example/starter/Hippo4JExampleApplicationTests.java deleted file mode 100644 index 98f2f693..00000000 --- a/hippo4j-example/hippo4j-spring-boot-starter-example/src/test/java/cn/hippo4j/example/starter/Hippo4JExampleApplicationTests.java +++ /dev/null @@ -1,13 +0,0 @@ -package cn.hippo4j.example.starter; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest -class Hippo4JExampleApplicationTests { - - @Test - void contextLoads() { - } - -}