From 0f95a4e7e385bba79b22f3d3aef39edc7aae2db3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com>
Date: Thu, 19 Jan 2023 10:33:17 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5=EF=BC=8Cfeat?=
=?UTF-8?q?=EF=BC=9Ainit=20ddd=20project?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
chatbot-api-application/pom.xml | 15 ++
.../chatbot/api/application/package-info.java | 7 +
chatbot-api-domain/pom.xml | 15 ++
.../chatbot/api/domain/package-info.java | 7 +
chatbot-api-infrastructure/pom.xml | 15 ++
.../api/infrastructure/package-info.java | 7 +
chatbot-api-interfaces/pom.xml | 77 ++++++++++
.../bugstack/chatbot/api/ApiApplication.java | 19 +++
.../src/main/resources/application.yml | 2 +
.../cn/bugstack/chatbot/api/test/ApiTest.java | 10 ++
pom.xml | 136 ++++++++++++++++++
11 files changed, 310 insertions(+)
create mode 100644 chatbot-api-application/pom.xml
create mode 100644 chatbot-api-application/src/main/java/cn/bugstack/chatbot/api/application/package-info.java
create mode 100644 chatbot-api-domain/pom.xml
create mode 100644 chatbot-api-domain/src/main/java/cn/bugstack/chatbot/api/domain/package-info.java
create mode 100644 chatbot-api-infrastructure/pom.xml
create mode 100644 chatbot-api-infrastructure/src/main/java/cn/bugstack/chatbot/api/infrastructure/package-info.java
create mode 100644 chatbot-api-interfaces/pom.xml
create mode 100644 chatbot-api-interfaces/src/main/java/cn/bugstack/chatbot/api/ApiApplication.java
create mode 100644 chatbot-api-interfaces/src/main/resources/application.yml
create mode 100644 chatbot-api-interfaces/src/test/java/cn/bugstack/chatbot/api/test/ApiTest.java
create mode 100644 pom.xml
diff --git a/chatbot-api-application/pom.xml b/chatbot-api-application/pom.xml
new file mode 100644
index 0000000..7362b05
--- /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 0000000..84531ce
--- /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 0000000..14c44bb
--- /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 0000000..adfa07e
--- /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 0000000..e24d757
--- /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 0000000..114896a
--- /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 0000000..92dfba4
--- /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 0000000..a83bc16
--- /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 0000000..58de10c
--- /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 0000000..ee29d5e
--- /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 0000000..4c71c24
--- /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
+
+
+
+
+
+
\ No newline at end of file
--
GitLab