diff --git a/chatbot-api-application/pom.xml b/chatbot-api-application/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..7362b0540bfeeca7778f6b63e4e737601181651e --- /dev/null +++ b/chatbot-api-application/pom.xml @@ -0,0 +1,15 @@ + + + + chatbot-api + cn.bugstack.ai + 1.0-SNAPSHOT + + 4.0.0 + + chatbot-api-application + + + \ No newline at end of file diff --git a/chatbot-api-application/src/main/java/cn/bugstack/chatbot/api/application/package-info.java b/chatbot-api-application/src/main/java/cn/bugstack/chatbot/api/application/package-info.java new file mode 100644 index 0000000000000000000000000000000000000000..84531ce1b7febfc04f5f81f2f78e0f549604dbed --- /dev/null +++ b/chatbot-api-application/src/main/java/cn/bugstack/chatbot/api/application/package-info.java @@ -0,0 +1,7 @@ +/** + * @description + * @author 小傅哥,微信:fustack + * @github https://github.com/fuzhengwei + * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获! + */ +package cn.bugstack.chatbot.api.application; \ No newline at end of file diff --git a/chatbot-api-domain/pom.xml b/chatbot-api-domain/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..14c44bb5ea0b45f97aff37fed40564b625bd9b2f --- /dev/null +++ b/chatbot-api-domain/pom.xml @@ -0,0 +1,15 @@ + + + + chatbot-api + cn.bugstack.ai + 1.0-SNAPSHOT + + 4.0.0 + + chatbot-api-domain + + + \ No newline at end of file diff --git a/chatbot-api-domain/src/main/java/cn/bugstack/chatbot/api/domain/package-info.java b/chatbot-api-domain/src/main/java/cn/bugstack/chatbot/api/domain/package-info.java new file mode 100644 index 0000000000000000000000000000000000000000..adfa07e67d5fe2f72e365ee9fd2af3bdc889d331 --- /dev/null +++ b/chatbot-api-domain/src/main/java/cn/bugstack/chatbot/api/domain/package-info.java @@ -0,0 +1,7 @@ +/** + * @description + * @author 小傅哥,微信:fustack + * @github https://github.com/fuzhengwei + * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获! + */ +package cn.bugstack.chatbot.api.domain; \ No newline at end of file diff --git a/chatbot-api-infrastructure/pom.xml b/chatbot-api-infrastructure/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..e24d7570a46d06e56ef829de34ddb6027dc05ab6 --- /dev/null +++ b/chatbot-api-infrastructure/pom.xml @@ -0,0 +1,15 @@ + + + + chatbot-api + cn.bugstack.ai + 1.0-SNAPSHOT + + 4.0.0 + + chatbot-api-infrastructure + + + \ No newline at end of file diff --git a/chatbot-api-infrastructure/src/main/java/cn/bugstack/chatbot/api/infrastructure/package-info.java b/chatbot-api-infrastructure/src/main/java/cn/bugstack/chatbot/api/infrastructure/package-info.java new file mode 100644 index 0000000000000000000000000000000000000000..114896a4d309596656dde107828dcb8d10fb21e9 --- /dev/null +++ b/chatbot-api-infrastructure/src/main/java/cn/bugstack/chatbot/api/infrastructure/package-info.java @@ -0,0 +1,7 @@ +/** + * @description + * @author 小傅哥,微信:fustack + * @github https://github.com/fuzhengwei + * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获! + */ +package cn.bugstack.chatbot.api.infrastructure; \ No newline at end of file diff --git a/chatbot-api-interfaces/pom.xml b/chatbot-api-interfaces/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..92dfba40cf66b3a19b9b80cc5d93f3800159cba8 --- /dev/null +++ b/chatbot-api-interfaces/pom.xml @@ -0,0 +1,77 @@ + + + + chatbot-api + cn.bugstack.ai + 1.0-SNAPSHOT + + 4.0.0 + + chatbot-api-interfaces + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-test + test + + + com.alibaba + fastjson + + + org.apache.commons + commons-lang3 + + + junit + junit + 4.12 + + + io.github.bonigarcia + webdrivermanager + + + org.seleniumhq.selenium + selenium-java + + + org.seleniumhq.selenium + selenium-api + + + + org.apache.httpcomponents + httpclient + + + org.apache.httpcomponents + httpmime + + + org.testng + testng + RELEASE + test + + + + net.sf.json-lib + json-lib + jdk15 + + + + cn.hutool + hutool-all + + + + \ No newline at end of file diff --git a/chatbot-api-interfaces/src/main/java/cn/bugstack/chatbot/api/ApiApplication.java b/chatbot-api-interfaces/src/main/java/cn/bugstack/chatbot/api/ApiApplication.java new file mode 100644 index 0000000000000000000000000000000000000000..a83bc161488db218912f9cd0250eb5fb29aceba5 --- /dev/null +++ b/chatbot-api-interfaces/src/main/java/cn/bugstack/chatbot/api/ApiApplication.java @@ -0,0 +1,19 @@ +package cn.bugstack.chatbot.api; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * @author 小傅哥,微信:fustack + * @description 启动入口 + * @github https://github.com/fuzhengwei + * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获! + */ +@SpringBootApplication +public class ApiApplication { + + public static void main(String[] args) { + SpringApplication.run(ApiApplication.class, args); + } + +} diff --git a/chatbot-api-interfaces/src/main/resources/application.yml b/chatbot-api-interfaces/src/main/resources/application.yml new file mode 100644 index 0000000000000000000000000000000000000000..58de10cc4b6d816c45dc26c1bd00e9275cae3310 --- /dev/null +++ b/chatbot-api-interfaces/src/main/resources/application.yml @@ -0,0 +1,2 @@ +server: + port: 8090 \ No newline at end of file diff --git a/chatbot-api-interfaces/src/test/java/cn/bugstack/chatbot/api/test/ApiTest.java b/chatbot-api-interfaces/src/test/java/cn/bugstack/chatbot/api/test/ApiTest.java new file mode 100644 index 0000000000000000000000000000000000000000..ee29d5eba5c1075b311f154d689d0f3376b062f4 --- /dev/null +++ b/chatbot-api-interfaces/src/test/java/cn/bugstack/chatbot/api/test/ApiTest.java @@ -0,0 +1,10 @@ +package cn.bugstack.chatbot.api.test; + +/** + * @author 小傅哥,微信:fustack + * @description 单元测试 + * @github https://github.com/fuzhengwei + * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获! + */ +public class ApiTest { +} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..4c71c247fbc57d8d76c6b0cb1096bcbbc4288cf9 --- /dev/null +++ b/pom.xml @@ -0,0 +1,136 @@ + + + 4.0.0 + + cn.bugstack.ai + chatbot-api + pom + 1.0-SNAPSHOT + + + chatbot-api-domain + chatbot-api-application + chatbot-api-interfaces + chatbot-api-infrastructure + + + + org.springframework.boot + spring-boot-starter-parent + 2.3.5.RELEASE + + + + + + + com.alibaba + fastjson + 1.2.58 + + + org.apache.commons + commons-lang3 + 3.8 + + + junit + junit + 4.12 + test + + + io.github.bonigarcia + webdrivermanager + 5.0.3 + + + org.seleniumhq.selenium + selenium-java + 3.141.59 + + + org.seleniumhq.selenium + selenium-api + 3.141.59 + + + + org.apache.httpcomponents + httpclient + 4.5.14 + + + org.apache.httpcomponents + httpmime + 4.5.10 + + + org.testng + testng + RELEASE + test + + + + net.sf.json-lib + json-lib + 2.2.3 + jdk15 + + + + cn.hutool + hutool-all + 5.8.10 + + + + + + chatbot-api + + + src/main/resources + true + + **/** + + + + + + src/test/resources + true + + **/** + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + true + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + + 8 + 8 + + + + + + \ No newline at end of file