diff --git a/xfg-frame-api/pom.xml b/atsuc-frame-api/pom.xml
similarity index 81%
rename from xfg-frame-api/pom.xml
rename to atsuc-frame-api/pom.xml
index b011bae5f6ff3bbac1f16450fae17938b0fb28be..8e1c015f17fed22b67999bc35a67ef18d48baeee 100644
--- a/xfg-frame-api/pom.xml
+++ b/atsuc-frame-api/pom.xml
@@ -4,12 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- xfg-frame-ddd
- cn.bugstack
+ atsuc-frame-ddd
+ cn.atsuc
1.0-SNAPSHOT
- xfg-frame-api
+ atsuc-frame-api
@@ -23,14 +23,14 @@
3.0.2
- cn.bugstack
- xfg-frame-types
+ cn.atsuc
+ atsuc-frame-types
1.0-SNAPSHOT
- xfg-frame-api
+ atsuc-frame-api
org.apache.maven.plugins
diff --git a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/IAccountService.java b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/IAccountService.java
similarity index 67%
rename from xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/IAccountService.java
rename to atsuc-frame-api/src/main/java/cn/atsuc/frame/api/IAccountService.java
index 2843cd6e60df7d68b5f9576d983707d24e83ad9b..208b9aa4ea6c615a12a9fe76edbff698137777b3 100644
--- a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/IAccountService.java
+++ b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/IAccountService.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.api;
+package cn.atsuc.frame.api;
public interface IAccountService {
diff --git a/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/IRuleService.java b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/IRuleService.java
new file mode 100644
index 0000000000000000000000000000000000000000..34268a79df68c1a3f8d10783cc4155f4a5854696
--- /dev/null
+++ b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/IRuleService.java
@@ -0,0 +1,14 @@
+package cn.atsuc.frame.api;
+
+import cn.atsuc.frame.api.model.request.DecisionMatterRequest;
+import cn.atsuc.frame.api.model.response.DecisionMatterResponse;
+import cn.atsuc.frame.types.Response;
+
+/**
+ * @description 规则服务
+ */
+public interface IRuleService {
+
+ Response doRule(DecisionMatterRequest request);
+
+}
diff --git a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/model/request/DecisionMatterRequest.java b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/model/request/DecisionMatterRequest.java
similarity index 61%
rename from xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/model/request/DecisionMatterRequest.java
rename to atsuc-frame-api/src/main/java/cn/atsuc/frame/api/model/request/DecisionMatterRequest.java
index d120ea464cc87cf8b3ccecded9738a2dbae390b5..1c9725085e781aa35ab357284396a7004df5fc01 100644
--- a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/model/request/DecisionMatterRequest.java
+++ b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/model/request/DecisionMatterRequest.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.api.model.request;
+package cn.atsuc.frame.api.model.request;
import lombok.AllArgsConstructor;
import lombok.Data;
@@ -7,10 +7,7 @@ import lombok.NoArgsConstructor;
import java.util.Map;
/**
- * @author 小傅哥,微信:fustack
* @description 决策请求对象
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/model/response/DecisionMatterResponse.java b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/model/response/DecisionMatterResponse.java
similarity index 51%
rename from xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/model/response/DecisionMatterResponse.java
rename to atsuc-frame-api/src/main/java/cn/atsuc/frame/api/model/response/DecisionMatterResponse.java
index c5b0abe3f573ebfe7efaa6320354f9302952a499..d8e30125f04cef1a3c10c52f855e4f1d5383d8d6 100644
--- a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/model/response/DecisionMatterResponse.java
+++ b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/model/response/DecisionMatterResponse.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.api.model.response;
+package cn.atsuc.frame.api.model.response;
import lombok.AllArgsConstructor;
import lombok.Builder;
@@ -6,10 +6,7 @@ import lombok.Data;
import lombok.NoArgsConstructor;
/**
- * @author 小傅哥,微信:fustack
* @description 决策结果
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/package-info.java b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/package-info.java
similarity index 50%
rename from xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/package-info.java
rename to atsuc-frame-api/src/main/java/cn/atsuc/frame/api/package-info.java
index 6d16c5b4acd63816ce62dc97014c5f8352090e64..afc954211e5e45efd14bb48cd064cc51386e3ccf 100644
--- a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/package-info.java
+++ b/atsuc-frame-api/src/main/java/cn/atsuc/frame/api/package-info.java
@@ -1,4 +1,4 @@
/**
* RPC 接口网关定义
*/
-package cn.bugstack.xfg.frame.api;
\ No newline at end of file
+package cn.atsuc.frame.api;
\ No newline at end of file
diff --git a/xfg-frame-app/Dockerfile b/atsuc-frame-app/Dockerfile
similarity index 85%
rename from xfg-frame-app/Dockerfile
rename to atsuc-frame-app/Dockerfile
index 8ee2805c8bb63305f161cc46d884a1426ee0be63..0dd6acf3fc804cae9a25a5cf63ce1166f6bd5a36 100644
--- a/xfg-frame-app/Dockerfile
+++ b/atsuc-frame-app/Dockerfile
@@ -1,13 +1,13 @@
# 基础镜像
FROM openjdk:8-jre-slim
# 作者
-MAINTAINER xiaofuge
+MAINTAINER atsuc
# 配置
ENV PARAMS=""
# 时区
ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# 添加应用
-ADD /target/xfg-frame-app.jar /xfg-frame-app.jar
+ADD /target/atsuc-frame-app.jar /atsuc-frame-app.jar
## 在镜像运行为容器后执行的命令
ENTRYPOINT ["java", "-Xmx512m", "-javaagent:/Users/fuzhengwei1/Documents/develop/skywalking/skywalking-agent-8-9/skywalking-agent.jar", "-Dskywalking.agent.service_name=xfg-frame", "-Dskywalking.collector.backend_service=10.253.3.8:11800", "-jar", "/xfg-frame-app.jar"]
\ No newline at end of file
diff --git a/atsuc-frame-app/build.sh b/atsuc-frame-app/build.sh
new file mode 100644
index 0000000000000000000000000000000000000000..6ed392c9320a64b2b3c406b57d07bfc1e6e1f532
--- /dev/null
+++ b/atsuc-frame-app/build.sh
@@ -0,0 +1 @@
+docker build -f ./Dockerfile -t demowhite/atsuc-frame-app:1.3 .
\ No newline at end of file
diff --git a/xfg-frame-app/pom.xml b/atsuc-frame-app/pom.xml
similarity index 91%
rename from xfg-frame-app/pom.xml
rename to atsuc-frame-app/pom.xml
index e452eba54ea516436155080d4129f1b0aaa7f477..f1eb974b07740c15540a9550fbfc902e02115f7d 100644
--- a/xfg-frame-app/pom.xml
+++ b/atsuc-frame-app/pom.xml
@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- xfg-frame-ddd
- cn.bugstack
+ atsuc-frame-ddd
+ cn.atsuc
1.0-SNAPSHOT
4.0.0
- xfg-frame-app
+ atsuc-frame-app
jar
@@ -94,20 +94,20 @@
- cn.bugstack
- xfg-frame-trigger
+ cn.atsuc
+ atsuc-frame-trigger
1.0-SNAPSHOT
- cn.bugstack
- xfg-frame-infrastructure
+ cn.atsuc
+ atsuc-frame-infrastructure
1.0-SNAPSHOT
- xfg-frame-app
+ atsuc-frame-app
src/main/resources
@@ -143,7 +143,7 @@
org.springframework.boot
spring-boot-maven-plugin
- cn.bugstack.xfg.frame.Application
+ cn.atsuc.frame.Application
JAR
diff --git a/xfg-frame-app/src/main/bin/start.sh b/atsuc-frame-app/src/main/bin/start.sh
similarity index 83%
rename from xfg-frame-app/src/main/bin/start.sh
rename to atsuc-frame-app/src/main/bin/start.sh
index 584d5a78466078b84c984a2ae87956f6240b7e56..d5e1b8255482227645c25d3574171f888e9c9d9d 100644
--- a/xfg-frame-app/src/main/bin/start.sh
+++ b/atsuc-frame-app/src/main/bin/start.sh
@@ -1,5 +1,5 @@
-CONTAINER_NAME=xfg-frame
-IMAGE_NAME=fuzhengwei/xfg-frame-app:1.3
+CONTAINER_NAME=demowhite-frame
+IMAGE_NAME=demowhite/demowhite-frame-app:1.3
PORT=8090
echo "容器部署开始 ${CONTAINER_NAME}"
diff --git a/atsuc-frame-app/src/main/bin/stop.sh b/atsuc-frame-app/src/main/bin/stop.sh
new file mode 100644
index 0000000000000000000000000000000000000000..8faedca91d9343374e1250048e4a1e869740791b
--- /dev/null
+++ b/atsuc-frame-app/src/main/bin/stop.sh
@@ -0,0 +1 @@
+docker stop atsuc-frame-app
\ No newline at end of file
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/Application.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/Application.java
similarity index 95%
rename from xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/Application.java
rename to atsuc-frame-app/src/main/java/cn/atsuc/frame/Application.java
index 6ef55dd0adccc9a08afb9526206dd89b8e156a9c..8120dd6a4976496d5eadbea5945dd1973641c88c 100644
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/Application.java
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/Application.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame;
+package cn.atsuc.frame;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.beans.factory.annotation.Configurable;
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/aop/RateLimiterAop.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/aop/RateLimiterAop.java
similarity index 90%
rename from xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/aop/RateLimiterAop.java
rename to atsuc-frame-app/src/main/java/cn/atsuc/frame/aop/RateLimiterAop.java
index 2923e8f880002dbd6515f787139b12b5138b1d0a..1528b84d8a078d3c6d3f69c7c27da3689b0dba77 100644
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/aop/RateLimiterAop.java
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/aop/RateLimiterAop.java
@@ -1,7 +1,8 @@
-package cn.bugstack.xfg.frame.aop;
+package cn.atsuc.frame.aop;
-import cn.bugstack.xfg.frame.types.Constants;
-import cn.bugstack.xfg.frame.types.Response;
+
+import cn.atsuc.frame.types.Constants;
+import cn.atsuc.frame.types.Response;
import lombok.extern.slf4j.Slf4j;
import org.apache.curator.shaded.com.google.common.util.concurrent.RateLimiter;
import org.aspectj.lang.JoinPoint;
@@ -29,7 +30,7 @@ public class RateLimiterAop {
this.limiter = RateLimiter.create(permitsPerSecond);
}
- @Pointcut("execution(* cn.bugstack.xfg.frame.trigger..*.*(..))")
+ @Pointcut("execution(* cn.atsuc.xfg.frame.trigger..*.*(..))")
public void pointCut() {
}
diff --git a/atsuc-frame-app/src/main/java/cn/atsuc/frame/aop/package-info.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/aop/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..e3d55a281913f02cdcc21ef2f7e40d67b6843ee7
--- /dev/null
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/aop/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 统一切面管理
+ */
+package cn.atsuc.frame.aop;
\ No newline at end of file
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/RateLimiterAopConfig.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/RateLimiterAopConfig.java
similarity index 66%
rename from xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/RateLimiterAopConfig.java
rename to atsuc-frame-app/src/main/java/cn/atsuc/frame/config/RateLimiterAopConfig.java
index abe5b1befe7e35bc6f11487ec66831b05e01d140..0f0f39feb0558cdb5f98ee674f90aab2c9d7ad5a 100644
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/RateLimiterAopConfig.java
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/RateLimiterAopConfig.java
@@ -1,20 +1,13 @@
-package cn.bugstack.xfg.frame.config;
+package cn.atsuc.frame.config;
-import cn.bugstack.xfg.frame.aop.RateLimiterAop;
+import cn.atsuc.frame.aop.RateLimiterAop;
import lombok.extern.slf4j.Slf4j;
-import org.apache.curator.shaded.com.google.common.util.concurrent.RateLimiter;
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.annotation.Around;
-import org.aspectj.lang.annotation.Aspect;
-import org.aspectj.lang.annotation.Pointcut;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
-import java.util.concurrent.ThreadPoolExecutor;
-
@Slf4j
@EnableAsync
@Configuration
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/RateLimiterAopConfigProperties.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/RateLimiterAopConfigProperties.java
similarity index 90%
rename from xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/RateLimiterAopConfigProperties.java
rename to atsuc-frame-app/src/main/java/cn/atsuc/frame/config/RateLimiterAopConfigProperties.java
index 5393e9d29aebb2079e133de7f8e0135df591b7e8..633d91f164833a4c6b569f11d183f3465111826a 100644
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/RateLimiterAopConfigProperties.java
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/RateLimiterAopConfigProperties.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.config;
+package cn.atsuc.frame.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/ThreadPoolConfig.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/ThreadPoolConfig.java
similarity index 98%
rename from xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/ThreadPoolConfig.java
rename to atsuc-frame-app/src/main/java/cn/atsuc/frame/config/ThreadPoolConfig.java
index fb8a2e91c30157e9abc82d24752c292629ff5048..9ed7faf31bd7c52562b57666ce5678eae7a185d6 100644
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/ThreadPoolConfig.java
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/ThreadPoolConfig.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.config;
+package cn.atsuc.frame.config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/ThreadPoolConfigProperties.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/ThreadPoolConfigProperties.java
similarity index 96%
rename from xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/ThreadPoolConfigProperties.java
rename to atsuc-frame-app/src/main/java/cn/atsuc/frame/config/ThreadPoolConfigProperties.java
index 08b934bb016c93355b81a41e57f01830691beade..ff4003bdd54afee57a46cbf962240bf56ce4de5e 100644
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/ThreadPoolConfigProperties.java
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/ThreadPoolConfigProperties.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.config;
+package cn.atsuc.frame.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
diff --git a/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/package-info.java b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..ac609a1f29a83c5986c1a193cfdcd82041535f4c
--- /dev/null
+++ b/atsuc-frame-app/src/main/java/cn/atsuc/frame/config/package-info.java
@@ -0,0 +1,5 @@
+/**
+ * 配置启动项
+ */
+package cn.atsuc.frame.config;
+
diff --git a/xfg-frame-app/src/main/resources/application-dev.yml b/atsuc-frame-app/src/main/resources/application-dev.yml
similarity index 84%
rename from xfg-frame-app/src/main/resources/application-dev.yml
rename to atsuc-frame-app/src/main/resources/application-dev.yml
index 21e10539a24890e624afcd9b8808a20243eb9df6..21d0161fe873278a81729bd90d9497c01de20b83 100644
--- a/xfg-frame-app/src/main/resources/application-dev.yml
+++ b/atsuc-frame-app/src/main/resources/application-dev.yml
@@ -6,7 +6,7 @@ spring:
username: root
password: 123456
url: jdbc:mysql://127.0.0.1:3306/road-map?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useSSL=true
- driver-class-name: com.mysql.jdbc.Driver
+ driver-class-name: com.mysql.cj.jdbc.Driver
mybatis:
mapper-locations: classpath:/mybatis/mapper/*.xml
@@ -31,7 +31,7 @@ rate-limiter:
# Dubbo
dubbo:
application:
- name: xfg-frame-dev
+ name: atsuc-frame-dev
version: 1.0.0
registry:
address: zookeeper://127.0.0.1:2181
@@ -39,7 +39,7 @@ dubbo:
name: dubbo
port: 20883
scan:
- base-packages: cn.bugstack.xfg.frame.api
+ base-packages: cn.atsuc.frame.api
# 日志
logging:
diff --git a/xfg-frame-app/src/main/resources/application-prod.yml b/atsuc-frame-app/src/main/resources/application-prod.yml
similarity index 66%
rename from xfg-frame-app/src/main/resources/application-prod.yml
rename to atsuc-frame-app/src/main/resources/application-prod.yml
index 02384db355b82275d82c69a232dcb0a1136d059f..06ebf2443b732a47630e9d7409c2ee3d95477f7d 100644
--- a/xfg-frame-app/src/main/resources/application-prod.yml
+++ b/atsuc-frame-app/src/main/resources/application-prod.yml
@@ -3,7 +3,7 @@ server:
dubbo:
application:
- name: xfg-frame
+ name: atsuc-frame
version: 1.0.0
registry:
address: zookeeper://127.0.0.1:9181
@@ -11,7 +11,7 @@ dubbo:
name: dubbo
port: 20881
scan:
- base-packages: cn.bugstack.xfg.frame.api
+ base-packages: cn.atsuc.frame.api
logging:
level:
diff --git a/xfg-frame-app/src/main/resources/application-test.yml b/atsuc-frame-app/src/main/resources/application-test.yml
similarity index 66%
rename from xfg-frame-app/src/main/resources/application-test.yml
rename to atsuc-frame-app/src/main/resources/application-test.yml
index 10acca4cc1b9ee27ed242c6200a40106e12eaa2d..38ac79eabd8b05b622f29645e0ff1a887a33239c 100644
--- a/xfg-frame-app/src/main/resources/application-test.yml
+++ b/atsuc-frame-app/src/main/resources/application-test.yml
@@ -3,7 +3,7 @@ server:
dubbo:
application:
- name: xfg-frame
+ name: atsuc-frame
version: 1.0.0
registry:
address: zookeeper://192.168.1.100:9181
@@ -11,7 +11,7 @@ dubbo:
name: dubbo
port: 20881
scan:
- base-packages: cn.bugstack.xfg.frame.api
+ base-packages: cn.atsuc.frame.api
logging:
level:
diff --git a/xfg-frame-app/src/main/resources/application.yml b/atsuc-frame-app/src/main/resources/application.yml
similarity index 67%
rename from xfg-frame-app/src/main/resources/application.yml
rename to atsuc-frame-app/src/main/resources/application.yml
index ad0cce65e6ff7a405b510761c353576283d9842d..e08ff06cbfd895ed4cd42df32ce7e0420f555a1b 100644
--- a/xfg-frame-app/src/main/resources/application.yml
+++ b/atsuc-frame-app/src/main/resources/application.yml
@@ -1,5 +1,5 @@
spring:
config:
- name: xfg-frame
+ name: atsuc-frame
profiles:
active: dev
diff --git a/xfg-frame-app/src/main/resources/logback-spring.xml b/atsuc-frame-app/src/main/resources/logback-spring.xml
similarity index 100%
rename from xfg-frame-app/src/main/resources/logback-spring.xml
rename to atsuc-frame-app/src/main/resources/logback-spring.xml
diff --git a/xfg-frame-app/src/main/resources/mybatis/config/mybatis-config.xml b/atsuc-frame-app/src/main/resources/mybatis/config/mybatis-config.xml
similarity index 100%
rename from xfg-frame-app/src/main/resources/mybatis/config/mybatis-config.xml
rename to atsuc-frame-app/src/main/resources/mybatis/config/mybatis-config.xml
diff --git a/xfg-frame-app/src/main/resources/mybatis/mapper/RuleTreeNodeLine_Mapper.xml b/atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTreeNodeLine_Mapper.xml
similarity index 83%
rename from xfg-frame-app/src/main/resources/mybatis/mapper/RuleTreeNodeLine_Mapper.xml
rename to atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTreeNodeLine_Mapper.xml
index 0748a701e5cb00d9e8e98349baf925d671363b61..d23a8f103d1118716ff8f25829eb46b1ad858814 100644
--- a/xfg-frame-app/src/main/resources/mybatis/mapper/RuleTreeNodeLine_Mapper.xml
+++ b/atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTreeNodeLine_Mapper.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/xfg-frame-app/src/main/resources/mybatis/mapper/RuleTreeNode_Mapper.xml b/atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTreeNode_Mapper.xml
similarity index 85%
rename from xfg-frame-app/src/main/resources/mybatis/mapper/RuleTreeNode_Mapper.xml
rename to atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTreeNode_Mapper.xml
index c13a8648feb27339af5ad30ef63486f8b70dc3fe..be6c6cb19f08090971b91a2ffa17f012bee9c7ec 100644
--- a/xfg-frame-app/src/main/resources/mybatis/mapper/RuleTreeNode_Mapper.xml
+++ b/atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTreeNode_Mapper.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/xfg-frame-app/src/main/resources/mybatis/mapper/RuleTree_Mapper.xml b/atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTree_Mapper.xml
similarity index 84%
rename from xfg-frame-app/src/main/resources/mybatis/mapper/RuleTree_Mapper.xml
rename to atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTree_Mapper.xml
index c8559c428442063328fa496cdff66f8fbc7e7e92..ea91319c9347dcb95f36695512dc83fd4827e09d 100644
--- a/xfg-frame-app/src/main/resources/mybatis/mapper/RuleTree_Mapper.xml
+++ b/atsuc-frame-app/src/main/resources/mybatis/mapper/RuleTree_Mapper.xml
@@ -1,8 +1,8 @@
-
+
-
+
diff --git a/xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/AESTest.java b/atsuc-frame-app/src/test/java/cn/atsuc/frame/test/AESTest.java
similarity index 94%
rename from xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/AESTest.java
rename to atsuc-frame-app/src/test/java/cn/atsuc/frame/test/AESTest.java
index 24ff002ccf8bfb7ffeb859f79ab69888c662d5fd..439c21ea70ccc72e6108834534745ac3c1780f9b 100644
--- a/xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/AESTest.java
+++ b/atsuc-frame-app/src/test/java/cn/atsuc/frame/test/AESTest.java
@@ -1,15 +1,10 @@
-package cn.bugstack.xfg.frame.test;
+package cn.atsuc.frame.test;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.util.Base64;
-/**
- * @author Fuzhengwei bugstack.cn @小傅哥
- * @description
- * @create 2023-07-18 22:08
- */
public class AESTest {
/**
diff --git a/xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/ApiTest.java b/atsuc-frame-app/src/test/java/cn/atsuc/frame/test/ApiTest.java
similarity index 78%
rename from xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/ApiTest.java
rename to atsuc-frame-app/src/test/java/cn/atsuc/frame/test/ApiTest.java
index 3cfd2636affd77f8c9469b0a048506c96f116ea1..50451d41947a37dd092937240e1ddb96b7a8584f 100644
--- a/xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/ApiTest.java
+++ b/atsuc-frame-app/src/test/java/cn/atsuc/frame/test/ApiTest.java
@@ -1,8 +1,8 @@
-package cn.bugstack.xfg.frame.test;
+package cn.atsuc.frame.test;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.EngineResultEntity;
-import cn.bugstack.xfg.frame.domain.rule.service.engine.EngineFilter;
+import cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity;
+import cn.atsuc.frame.domain.rule.model.entity.EngineResultEntity;
+import cn.atsuc.frame.domain.rule.service.engine.EngineFilter;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
diff --git a/xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/RpcTest.java b/atsuc-frame-app/src/test/java/cn/atsuc/frame/test/RpcTest.java
similarity index 92%
rename from xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/RpcTest.java
rename to atsuc-frame-app/src/test/java/cn/atsuc/frame/test/RpcTest.java
index 628f7a39c676361f251d12f9534480b9edddf5bd..94058af65ea915912682348d047ea18c1ca6a0ca 100644
--- a/xfg-frame-app/src/test/java/cn/bugstack/xfg/frame/test/RpcTest.java
+++ b/atsuc-frame-app/src/test/java/cn/atsuc/frame/test/RpcTest.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.test;
+package cn.atsuc.frame.test;
import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.ReferenceConfig;
@@ -21,7 +21,7 @@ public class RpcTest {
public static void main(String[] args) {
ApplicationConfig application = new ApplicationConfig();
- application.setName("xfg-frame");
+ application.setName("atsuc-frame");
application.setQosEnable(false);
RegistryConfig registry = new RegistryConfig();
@@ -29,7 +29,7 @@ public class RpcTest {
registry.setRegister(false);
ReferenceConfig reference = new ReferenceConfig<>();
- reference.setInterface("cn.bugstack.xfg.frame.api.IAccountService");
+ reference.setInterface("cn.atsuc.frame.api.IAccountService");
reference.setVersion("1.0.0");
reference.setGeneric("true");
diff --git a/xfg-frame-domain/pom.xml b/atsuc-frame-domain/pom.xml
similarity index 85%
rename from xfg-frame-domain/pom.xml
rename to atsuc-frame-domain/pom.xml
index 7d3bb5dae25c861227dd7ea4b18368024c1d6177..783154d09cde4567042e33d94949ccfa8c178b4e 100644
--- a/xfg-frame-domain/pom.xml
+++ b/atsuc-frame-domain/pom.xml
@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- xfg-frame-ddd
- cn.bugstack
+ atsuc-frame-ddd
+ cn.atsuc
1.0-SNAPSHOT
4.0.0
- xfg-frame-domain
+ atsuc-frame-domain
@@ -34,15 +34,15 @@
- cn.bugstack
- xfg-frame-types
+ cn.atsuc
+ atsuc-frame-types
1.0-SNAPSHOT
- xfg-frame-domain
+ atsuc-frame-domain
org.apache.maven.plugins
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/aggregates/OrderAggregate.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/aggregates/OrderAggregate.java
new file mode 100644
index 0000000000000000000000000000000000000000..79682c0b91abb2e347ec5180f657e0055e93e4ce
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/aggregates/OrderAggregate.java
@@ -0,0 +1,17 @@
+package cn.atsuc.frame.domain.order.model.aggregates;
+
+
+import cn.atsuc.frame.domain.order.model.entity.OrderItemEntity;
+import cn.atsuc.frame.domain.order.model.valobj.OrderIdVO;
+
+import java.util.List;
+
+/**
+ * @description 订单聚合对象
+ */
+public class OrderAggregate {
+
+ private OrderIdVO orderId;
+ private List items;
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/entity/OrderItemEntity.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/entity/OrderItemEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..20c95d67f649601c002a893caadf077635e815b9
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/entity/OrderItemEntity.java
@@ -0,0 +1,7 @@
+package cn.atsuc.frame.domain.order.model.entity;
+
+/**
+ * @description 订单条目实体
+ */
+public class OrderItemEntity {
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/entity/ProductEntity.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/entity/ProductEntity.java
new file mode 100644
index 0000000000000000000000000000000000000000..0152a926b5627d735b0b457c73286e10e12b44e7
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/entity/ProductEntity.java
@@ -0,0 +1,20 @@
+package cn.atsuc.frame.domain.order.model.entity;
+
+import cn.atsuc.frame.domain.order.model.valobj.ProductDescriptionVO;
+import cn.atsuc.frame.domain.order.model.valobj.ProductNameVO;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * @description 产品实体
+ */
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class ProductEntity {
+
+ private ProductNameVO product;
+ private ProductDescriptionVO productDescription;
+
+}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/package-info.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/package-info.java
similarity index 97%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/package-info.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/package-info.java
index b1b05401c0f271d04211df06ac4be2a41614eeed..68ad77a9522d3d5ccc51d4478211971fc73f9414 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/package-info.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/package-info.java
@@ -10,4 +10,4 @@
* 在聚合中,逻辑应该是与聚合根相关的业务逻辑,而不是将所有的服务功能都放到聚合对象中。聚合对象应该包含与聚合根相关的操作和规则,例如聚合根的创建、修改和删除等操作,以及聚合根的不变量验证等规则。聚合对象还可以包含一些与聚合根相关的查询操作,但是这些查询操作应该是只读的,不应该对聚合根的状态进行修改。
* 至于服务功能,它们可以被实现为应用服务或领域服务,它们可以与聚合对象协同工作,但不应该被包含在聚合对象中。应用服务和领域服务可以调用聚合对象来完成业务逻辑,但是它们不应该直接修改聚合根的状态。
*/
-package cn.bugstack.xfg.frame.domain.order.model;
\ No newline at end of file
+package cn.atsuc.frame.domain.order.model;
\ No newline at end of file
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/OrderIdVO.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/OrderIdVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..687018de44e0e572c2b06e208d7ede4bef75f519
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/OrderIdVO.java
@@ -0,0 +1,17 @@
+package cn.atsuc.frame.domain.order.model.valobj;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * @description
+ */
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class OrderIdVO {
+
+ private String orderId;
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/ProductDescriptionVO.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/ProductDescriptionVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..9aa9b108ae1cbfb7076a3a7238d2d2a14a92a181
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/ProductDescriptionVO.java
@@ -0,0 +1,17 @@
+package cn.atsuc.frame.domain.order.model.valobj;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * @description 产品明细值信息
+ */
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class ProductDescriptionVO {
+
+ private String description;
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/ProductNameVO.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/ProductNameVO.java
new file mode 100644
index 0000000000000000000000000000000000000000..ea6c0b1cbf22f20e0abe21dababcaf11280ae01e
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/model/valobj/ProductNameVO.java
@@ -0,0 +1,17 @@
+package cn.atsuc.frame.domain.order.model.valobj;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+/**
+ * @description 产品值信息
+ */
+@Data
+@AllArgsConstructor
+@NoArgsConstructor
+public class ProductNameVO {
+
+ private String name;
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/repository/IOrderRepository.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/repository/IOrderRepository.java
new file mode 100644
index 0000000000000000000000000000000000000000..88db88ed2a9cd85bb8c61dc949cbee099467801c
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/repository/IOrderRepository.java
@@ -0,0 +1,4 @@
+package cn.atsuc.frame.domain.order.repository;
+
+public interface IOrderRepository {
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/repository/package-info.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/repository/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..791ef98bf7f11646b13ab87d1a4e3158799b9c86
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/repository/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 仓储接口
+ */
+package cn.atsuc.frame.domain.order.repository;
\ No newline at end of file
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/service/OrderService.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/service/OrderService.java
new file mode 100644
index 0000000000000000000000000000000000000000..e2509016fb345a25d6b4ccb8e52519aaeab582fe
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/service/OrderService.java
@@ -0,0 +1,7 @@
+package cn.atsuc.frame.domain.order.service;
+
+import org.springframework.stereotype.Service;
+
+@Service
+public class OrderService {
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/service/package-info.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/service/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..a4fb26b5f1ef9618c883c9cbbd578b082a8c46c3
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/order/service/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 具体业务实现
+ */
+package cn.atsuc.frame.domain.order.service;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/aggregates/TreeRuleAggregate.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/aggregates/TreeRuleAggregate.java
similarity index 50%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/aggregates/TreeRuleAggregate.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/aggregates/TreeRuleAggregate.java
index 2288eb63cc994e225bca2308d483bc1678793816..2b9126c18a0b31dcbe81aa0a5ba54a2b8d6ee994 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/aggregates/TreeRuleAggregate.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/aggregates/TreeRuleAggregate.java
@@ -1,7 +1,8 @@
-package cn.bugstack.xfg.frame.domain.rule.model.aggregates;
+package cn.atsuc.frame.domain.rule.model.aggregates;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeNodeVO;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeRootVO;
+
+import cn.atsuc.frame.domain.rule.model.valobj.TreeNodeVO;
+import cn.atsuc.frame.domain.rule.model.valobj.TreeRootVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@@ -10,10 +11,7 @@ import lombok.NoArgsConstructor;
import java.util.Map;
/**
- * @description: 规则树聚合
* @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/entity/DecisionMatterEntity.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/entity/DecisionMatterEntity.java
similarity index 62%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/entity/DecisionMatterEntity.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/entity/DecisionMatterEntity.java
index 1329dfcf1ed98d9b6bf772d6d1fb429d48ddb259..17ea98b19ba68c8a6b526bb193b12bda8145d426 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/entity/DecisionMatterEntity.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/entity/DecisionMatterEntity.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.domain.rule.model.entity;
+package cn.atsuc.frame.domain.rule.model.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
@@ -8,10 +8,7 @@ import lombok.NoArgsConstructor;
import java.util.Map;
/**
- * @author 小傅哥,微信:fustack
* @description 决策物料实体
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/entity/EngineResultEntity.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/entity/EngineResultEntity.java
similarity index 71%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/entity/EngineResultEntity.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/entity/EngineResultEntity.java
index 2e5bd09b925cdd2326298a676183c76034c2bc96..f3716f3bb5a75045d76d1964a99a32c4d62217df 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/entity/EngineResultEntity.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/entity/EngineResultEntity.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.domain.rule.model.entity;
+package cn.atsuc.frame.domain.rule.model.entity;
import lombok.AllArgsConstructor;
import lombok.Builder;
@@ -7,10 +7,6 @@ import lombok.NoArgsConstructor;
/**
* @description: 决策结果实体
- * @author: 小傅哥,微信:fustack
- * @date: 2021/10/8
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/package-info.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/package-info.java
similarity index 51%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/package-info.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/package-info.java
index 0b15d81594aae987afc99fd947c777f57944fe1e..18a5c1b2b3e6168140bc79ef8acd16b87ba05557 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/package-info.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/package-info.java
@@ -1,4 +1,4 @@
/**
* 模型;vo、dto、entity、aggregate
*/
-package cn.bugstack.xfg.frame.domain.rule.model;
\ No newline at end of file
+package cn.atsuc.frame.domain.rule.model;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeNodeLineVO.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeNodeLineVO.java
similarity index 63%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeNodeLineVO.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeNodeLineVO.java
index bfe1162a377d31e909180b7b3b3a6b243731d845..db0c3fdf7c71af62ffe845111e86f4e51e6ebdc0 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeNodeLineVO.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeNodeLineVO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.domain.rule.model.valobj;
+package cn.atsuc.frame.domain.rule.model.valobj;
import lombok.AllArgsConstructor;
import lombok.Builder;
@@ -7,9 +7,6 @@ import lombok.NoArgsConstructor;
/**
* @description: 规则树线信息
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeNodeVO.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeNodeVO.java
similarity index 71%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeNodeVO.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeNodeVO.java
index acfdf56dbc4b4ef196100299643ab2fce48ea2dd..b5204d4c1409e6e6903a2e8731867402bf9a8ef8 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeNodeVO.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeNodeVO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.domain.rule.model.valobj;
+package cn.atsuc.frame.domain.rule.model.valobj;
import lombok.AllArgsConstructor;
import lombok.Builder;
@@ -9,9 +9,6 @@ import java.util.List;
/**
* @description: 规则树节点信息
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeRootVO.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeRootVO.java
similarity index 58%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeRootVO.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeRootVO.java
index 37a26fd6702c1c4646bdf655498e286cecc68f9c..481dc46ce47964e3cd8fb79239eb9f3cf4e606ca 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/model/valobj/TreeRootVO.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/model/valobj/TreeRootVO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.domain.rule.model.valobj;
+package cn.atsuc.frame.domain.rule.model.valobj;
import lombok.AllArgsConstructor;
import lombok.Builder;
@@ -7,9 +7,6 @@ import lombok.NoArgsConstructor;
/**
* @description: 规则树根配置
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/repository/IRuleRepository.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/repository/IRuleRepository.java
new file mode 100644
index 0000000000000000000000000000000000000000..fd461cff6b09d60882a14a8947e7902ee6ad1a24
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/repository/IRuleRepository.java
@@ -0,0 +1,18 @@
+package cn.atsuc.frame.domain.rule.repository;
+
+import cn.atsuc.frame.domain.rule.model.aggregates.TreeRuleAggregate;
+
+/**
+ * @description: 规则信息仓储服务接口
+ */
+public interface IRuleRepository {
+
+ /**
+ * 查询规则决策树配置
+ *
+ * @param treeId 决策树ID
+ * @return 决策树配置
+ */
+ TreeRuleAggregate queryTreeRuleRich(Long treeId);
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/repository/package-info.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/repository/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..991ded8df96301b50bd1d0011fa17be8618eda8e
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/repository/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 仓储接口
+ */
+package cn.atsuc.frame.domain.rule.repository;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineBase.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineBase.java
similarity index 59%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineBase.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineBase.java
index c765762921dbaa5ac1afad000b3fd3886f7a4e27..0332044c232c3fcc791741a25444295a65865de3 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineBase.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineBase.java
@@ -1,12 +1,9 @@
-package cn.bugstack.xfg.frame.domain.rule.service.engine;
-
-import cn.bugstack.xfg.frame.domain.rule.model.aggregates.TreeRuleAggregate;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.EngineResultEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeNodeVO;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeRootVO;
-import cn.bugstack.xfg.frame.domain.rule.service.logic.LogicFilter;
-import cn.bugstack.xfg.frame.types.Constants;
+package cn.atsuc.frame.domain.rule.service.engine;
+
+import cn.atsuc.frame.domain.rule.model.aggregates.TreeRuleAggregate;
+import cn.atsuc.frame.domain.rule.model.valobj.TreeNodeVO;
+import cn.atsuc.frame.domain.rule.model.valobj.TreeRootVO;
+import cn.atsuc.frame.types.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -14,20 +11,17 @@ import java.util.Map;
/**
* @description: 规则引擎基础类
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
-public abstract class EngineBase extends EngineConfig implements EngineFilter {
+public abstract class EngineBase extends EngineConfig implements cn.atsuc.frame.domain.rule.service.engine.EngineFilter {
private Logger logger = LoggerFactory.getLogger(EngineBase.class);
@Override
- public EngineResultEntity process(DecisionMatterEntity matter) {
+ public cn.atsuc.frame.domain.rule.model.entity.EngineResultEntity process(cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity matter) {
throw new RuntimeException("未实现规则引擎服务");
}
- protected TreeNodeVO engineDecisionMaker(TreeRuleAggregate treeRuleRich, DecisionMatterEntity matter) {
+ protected TreeNodeVO engineDecisionMaker(TreeRuleAggregate treeRuleRich, cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity matter) {
TreeRootVO treeRoot = treeRuleRich.getTreeRoot();
Map treeNodeMap = treeRuleRich.getTreeNodeMap();
@@ -38,7 +32,7 @@ public abstract class EngineBase extends EngineConfig implements EngineFilter {
// 节点类型[NodeType];1子叶、2果实
while (Constants.NodeType.STEM.equals(treeNodeInfo.getNodeType())) {
String ruleKey = treeNodeInfo.getRuleKey();
- LogicFilter logicFilter = logicFilterMap.get(ruleKey);
+ cn.atsuc.frame.domain.rule.service.logic.LogicFilter logicFilter = logicFilterMap.get(ruleKey);
String matterValue = logicFilter.matterValue(matter);
Long nextNode = logicFilter.filter(matterValue, treeNodeInfo.getTreeNodeLineInfoList());
treeNodeInfo = treeNodeMap.get(nextNode);
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineConfig.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineConfig.java
similarity index 54%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineConfig.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineConfig.java
index 4b5a74e4a9c8f1bbb1f459fa8a8f2dd55f10f18e..c8c61b0f02b047d298684f114acef2538dee7ca2 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineConfig.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineConfig.java
@@ -1,8 +1,8 @@
-package cn.bugstack.xfg.frame.domain.rule.service.engine;
+package cn.atsuc.frame.domain.rule.service.engine;
-import cn.bugstack.xfg.frame.domain.rule.service.logic.LogicFilter;
-import cn.bugstack.xfg.frame.domain.rule.service.logic.impl.UserAgeFilter;
-import cn.bugstack.xfg.frame.domain.rule.service.logic.impl.UserGenderFilter;
+import cn.atsuc.frame.domain.rule.service.logic.LogicFilter;
+import cn.atsuc.frame.domain.rule.service.logic.impl.UserAgeFilter;
+import cn.atsuc.frame.domain.rule.service.logic.impl.UserGenderFilter;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
@@ -11,9 +11,6 @@ import java.util.concurrent.ConcurrentHashMap;
/**
* @description: 规则配置
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
public class EngineConfig {
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineFilter.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineFilter.java
new file mode 100644
index 0000000000000000000000000000000000000000..90329f86357c6bd06fb5f78fcc3a5c4dc4825505
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/EngineFilter.java
@@ -0,0 +1,19 @@
+package cn.atsuc.frame.domain.rule.service.engine;
+
+import cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity;
+import cn.atsuc.frame.domain.rule.model.entity.EngineResultEntity;
+
+/**
+ * @description: 规则过滤器引擎
+ */
+public interface EngineFilter {
+
+ /**
+ * 规则过滤器接口
+ *
+ * @param matter 规则决策物料
+ * @return 规则决策结果
+ */
+ EngineResultEntity process(final DecisionMatterEntity matter);
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/impl/RuleEngineHandle.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/impl/RuleEngineHandle.java
new file mode 100644
index 0000000000000000000000000000000000000000..33f20c4ca834de871940045ee9df2b394b23e1dc
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/engine/impl/RuleEngineHandle.java
@@ -0,0 +1,35 @@
+package cn.atsuc.frame.domain.rule.service.engine.impl;
+
+import cn.atsuc.frame.domain.rule.model.aggregates.TreeRuleAggregate;
+import cn.atsuc.frame.domain.rule.model.valobj.TreeNodeVO;
+import cn.atsuc.frame.domain.rule.repository.IRuleRepository;
+import cn.atsuc.frame.domain.rule.service.engine.EngineBase;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+
+/**
+ * @description: 规则引擎处理器
+ */
+@Service("ruleEngineHandle")
+public class RuleEngineHandle extends EngineBase {
+
+ @Resource
+ private IRuleRepository ruleRepository;
+
+ @Override
+ public cn.atsuc.frame.domain.rule.model.entity.EngineResultEntity process(cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity matter) {
+ // 决策规则树
+ TreeRuleAggregate treeRuleRich = ruleRepository.queryTreeRuleRich(matter.getTreeId());
+ if (null == treeRuleRich) {
+ throw new RuntimeException("Tree Rule is null!");
+ }
+
+ // 决策节点
+ TreeNodeVO treeNodeInfo = engineDecisionMaker(treeRuleRich, matter);
+
+ // 决策结果
+ return new cn.atsuc.frame.domain.rule.model.entity.EngineResultEntity(matter.getUserId(), treeNodeInfo.getTreeId(), treeNodeInfo.getTreeNodeId(), treeNodeInfo.getNodeValue());
+ }
+
+}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/BaseLogic.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/BaseLogic.java
similarity index 70%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/BaseLogic.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/BaseLogic.java
index 29f97b09c50f42a66a9440871b462ceb50e29c1d..2e3521e6e59a9cd369337dd54f7f7c5ae2517187 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/BaseLogic.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/BaseLogic.java
@@ -1,18 +1,15 @@
-package cn.bugstack.xfg.frame.domain.rule.service.logic;
+package cn.atsuc.frame.domain.rule.service.logic;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeNodeLineVO;
-import cn.bugstack.xfg.frame.types.Constants;
+
+import cn.atsuc.frame.domain.rule.model.valobj.TreeNodeLineVO;
+import cn.atsuc.frame.types.Constants;
import java.util.List;
/**
* @description: 规则基础抽象类
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
-public abstract class BaseLogic implements LogicFilter {
+public abstract class BaseLogic implements cn.atsuc.frame.domain.rule.service.logic.LogicFilter {
@Override
public Long filter(String matterValue, List treeNodeLineInfoList) {
@@ -30,7 +27,7 @@ public abstract class BaseLogic implements LogicFilter {
* @return 比对值
*/
@Override
- public abstract String matterValue(DecisionMatterEntity decisionMatter);
+ public abstract String matterValue(cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity decisionMatter);
private boolean decisionLogic(String matterValue, TreeNodeLineVO nodeLine) {
switch (nodeLine.getRuleLimitType()) {
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/LogicFilter.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/LogicFilter.java
similarity index 50%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/LogicFilter.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/LogicFilter.java
index 71f7dfdba014b13ebf06ca4db21ba3868b34046c..2090660069108362cdc9b79e7e46c07113a2716a 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/LogicFilter.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/LogicFilter.java
@@ -1,15 +1,12 @@
-package cn.bugstack.xfg.frame.domain.rule.service.logic;
+package cn.atsuc.frame.domain.rule.service.logic;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeNodeLineVO;
+
+import cn.atsuc.frame.domain.rule.model.valobj.TreeNodeLineVO;
import java.util.List;
/**
* @description: 规则过滤器接口
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
public interface LogicFilter {
@@ -27,6 +24,6 @@ public interface LogicFilter {
* @param decisionMatter 决策物料
* @return 决策值
*/
- String matterValue(DecisionMatterEntity decisionMatter);
+ String matterValue(cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity decisionMatter);
}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/impl/UserAgeFilter.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/impl/UserAgeFilter.java
new file mode 100644
index 0000000000000000000000000000000000000000..b2b7a0259f69f5dc912ad2ab1999aff1afadfb5a
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/impl/UserAgeFilter.java
@@ -0,0 +1,19 @@
+package cn.atsuc.frame.domain.rule.service.logic.impl;
+
+
+import cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity;
+import cn.atsuc.frame.domain.rule.service.logic.BaseLogic;
+import org.springframework.stereotype.Component;
+
+/**
+ * @description: 年龄规则
+ */
+@Component
+public class UserAgeFilter extends BaseLogic {
+
+ @Override
+ public String matterValue(DecisionMatterEntity decisionMatter) {
+ return decisionMatter.getValMap().get("age").toString();
+ }
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/impl/UserGenderFilter.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/impl/UserGenderFilter.java
new file mode 100644
index 0000000000000000000000000000000000000000..fa4be9b8dc590b5e970ea3a9ec83a07a2c55807b
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/logic/impl/UserGenderFilter.java
@@ -0,0 +1,19 @@
+package cn.atsuc.frame.domain.rule.service.logic.impl;
+
+
+import cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity;
+import cn.atsuc.frame.domain.rule.service.logic.BaseLogic;
+import org.springframework.stereotype.Component;
+
+/**
+ * @description: 性别规则
+ */
+@Component
+public class UserGenderFilter extends BaseLogic {
+
+ @Override
+ public String matterValue(DecisionMatterEntity decisionMatter) {
+ return decisionMatter.getValMap().get("gender").toString();
+ }
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/package-info.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..3f5a617958aee562b70686ff1a4ced00ed388713
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/rule/service/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 具体业务实现
+ */
+package cn.atsuc.frame.domain.rule.service;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/model/valobj/UserVO.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/model/valobj/UserVO.java
similarity index 87%
rename from xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/model/valobj/UserVO.java
rename to atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/model/valobj/UserVO.java
index 09d43577037e328fa24c6c6af93957196bfa6c1b..d94534dfd1fabd61d8cd864c20dd7a492d35a96d 100644
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/model/valobj/UserVO.java
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/model/valobj/UserVO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.domain.user.model.valobj;
+package cn.atsuc.xfg.frame.domain.user.model.valobj;
import lombok.AllArgsConstructor;
import lombok.Builder;
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/repository/IUserRepository.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/repository/IUserRepository.java
new file mode 100644
index 0000000000000000000000000000000000000000..0c49df13a7ca119e9e28f530edd5abded64d0359
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/repository/IUserRepository.java
@@ -0,0 +1,14 @@
+package cn.atsuc.xfg.frame.domain.user.repository;
+
+import cn.atsuc.xfg.frame.domain.user.model.valobj.UserVO;
+
+import java.util.List;
+
+/**
+ * @description 仓储接口
+ */
+public interface IUserRepository {
+
+ List queryUserList();
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/service/UserService.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/service/UserService.java
new file mode 100644
index 0000000000000000000000000000000000000000..e28a82a8d6a85824874e12a7d07397904b82d696
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/service/UserService.java
@@ -0,0 +1,11 @@
+package cn.atsuc.xfg.frame.domain.user.service;
+
+import cn.atsuc.xfg.frame.domain.user.model.valobj.UserVO;
+
+import java.util.List;
+
+public interface UserService {
+
+ List queryUserList();
+
+}
diff --git a/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/service/impl/UserServiceImpl.java b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/service/impl/UserServiceImpl.java
new file mode 100644
index 0000000000000000000000000000000000000000..4e82c999372bf5fee643fbddcb2874170cdbdae9
--- /dev/null
+++ b/atsuc-frame-domain/src/main/java/cn/atsuc/frame/domain/user/service/impl/UserServiceImpl.java
@@ -0,0 +1,22 @@
+package cn.atsuc.xfg.frame.domain.user.service.impl;
+
+import cn.atsuc.xfg.frame.domain.user.model.valobj.UserVO;
+import cn.atsuc.xfg.frame.domain.user.repository.IUserRepository;
+import cn.atsuc.xfg.frame.domain.user.service.UserService;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+@Service
+public class UserServiceImpl implements UserService {
+
+ @Resource
+ private IUserRepository userRepository;
+
+ @Override
+ public List queryUserList() {
+ return null;
+ }
+
+}
diff --git a/xfg-frame-infrastructure/pom.xml b/atsuc-frame-infrastructure/pom.xml
similarity index 78%
rename from xfg-frame-infrastructure/pom.xml
rename to atsuc-frame-infrastructure/pom.xml
index 7a0175795ac8dff381a630597c6e00b14e7e2f9f..d2483cc742f85098ad000436fd0f4b79de1bd6aa 100644
--- a/xfg-frame-infrastructure/pom.xml
+++ b/atsuc-frame-infrastructure/pom.xml
@@ -3,14 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- xfg-frame-ddd
- cn.bugstack
+ atsuc-frame-ddd
+ cn.atsuc
1.0-SNAPSHOT
4.0.0
jar
- xfg-frame-infrastructure
+ atsuc-frame-infrastructure
@@ -23,20 +23,20 @@
- cn.bugstack
- xfg-frame-domain
+ cn.atsuc
+ atsuc-frame-domain
1.0-SNAPSHOT
- cn.bugstack
- xfg-frame-types
+ cn.atsuc
+ atsuc-frame-types
1.0-SNAPSHOT
- xfg-frame-infrastructure
+ atsuc-frame-infrastructure
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/IUserDao.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/IUserDao.java
similarity index 58%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/IUserDao.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/IUserDao.java
index bbecaaf65fc8d8f4d60a4f39a9fee5d8f3098858..6f8cefe6aa4dcf369c91d07cf47c83e023e6ebfc 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/IUserDao.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/IUserDao.java
@@ -1,6 +1,6 @@
-package cn.bugstack.xfg.frame.infrastructure.dao;
+package cn.atsuc.xfg.frame.infrastructure.dao;
-import cn.bugstack.xfg.frame.infrastructure.po.UserPO;
+import cn.atsuc.xfg.frame.infrastructure.po.UserPO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeDao.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeDao.java
similarity index 54%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeDao.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeDao.java
index 106910fc000f966d11573b04524317af42af1038..965cfeb7e23063eee092452e0c230615c0332a4a 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeDao.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeDao.java
@@ -1,13 +1,9 @@
-package cn.bugstack.xfg.frame.infrastructure.dao;
-import cn.bugstack.xfg.frame.infrastructure.po.RuleTreePO;
+package cn.atsuc.xfg.frame.infrastructure.dao;
+import cn.atsuc.xfg.frame.infrastructure.po.RuleTreePO;
import org.apache.ibatis.annotations.Mapper;
/**
* @description: 规则树配置DAO
- * @author: 小傅哥,微信:fustack
- * @date: 2021/9/22
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Mapper
public interface RuleTreeDao {
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeNodeDao.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeNodeDao.java
similarity index 65%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeNodeDao.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeNodeDao.java
index 624db484ff6c97f1a087dc064c6f5bd2a19f827d..425b663580efe1f3c295338dbbcd55d4f420f2ad 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeNodeDao.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeNodeDao.java
@@ -1,15 +1,11 @@
-package cn.bugstack.xfg.frame.infrastructure.dao;
-import cn.bugstack.xfg.frame.infrastructure.po.RuleTreeNodePO;
+package cn.atsuc.xfg.frame.infrastructure.dao;
+import cn.atsuc.xfg.frame.infrastructure.po.RuleTreeNodePO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* @description: 规则树节点DAO
- * @author: 小傅哥,微信:fustack
- * @date: 2021/9/22
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Mapper
public interface RuleTreeNodeDao {
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeNodeLineDao.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeNodeLineDao.java
similarity index 60%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeNodeLineDao.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeNodeLineDao.java
index 534e7ffb5c439b6a1157a7924d5a5de2adc549f9..8f8363ec727935ffce7e4d1d724eb2f3f4bc6b2e 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/dao/RuleTreeNodeLineDao.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/dao/RuleTreeNodeLineDao.java
@@ -1,16 +1,12 @@
-package cn.bugstack.xfg.frame.infrastructure.dao;
+package cn.atsuc.xfg.frame.infrastructure.dao;
-import cn.bugstack.xfg.frame.infrastructure.po.RuleTreeNodeLinePO;
+import cn.atsuc.xfg.frame.infrastructure.po.RuleTreeNodeLinePO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* @description: 规则树节点连线DAO
- * @author: 小傅哥,微信:fustack
- * @date: 2021/9/22
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Mapper
public interface RuleTreeNodeLineDao {
diff --git a/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/package-info.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..02c28ae484453f9263e1f919fbd35b6025fe58c5
--- /dev/null
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 数据库操作
+ */
+package cn.atsuc.xfg.frame.infrastructure;
\ No newline at end of file
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreeNodeLinePO.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreeNodeLinePO.java
similarity index 67%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreeNodeLinePO.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreeNodeLinePO.java
index 0757e26d52f2c218f0cd777a0f925bf7d38dcbf5..854726b665ada959cf154c125bbdea68a47ce980 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreeNodeLinePO.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreeNodeLinePO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.infrastructure.po;
+package cn.atsuc.xfg.frame.infrastructure.po;
import lombok.AllArgsConstructor;
import lombok.Data;
@@ -6,9 +6,6 @@ import lombok.NoArgsConstructor;
/**
* @description: 规则树节点连线
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreeNodePO.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreeNodePO.java
similarity index 66%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreeNodePO.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreeNodePO.java
index c4e6c58f6a8510d3a9422410d4a7300e14801056..a23f52390a798234249d74c182e5338fa2f37e85 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreeNodePO.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreeNodePO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.infrastructure.po;
+package cn.atsuc.xfg.frame.infrastructure.po;
import lombok.AllArgsConstructor;
import lombok.Data;
@@ -6,9 +6,6 @@ import lombok.NoArgsConstructor;
/**
* @description: 规则树节点
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreePO.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreePO.java
similarity index 64%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreePO.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreePO.java
index d36257cc3cfd9a9ade013c7222f594d6671794a6..49b033e502d637b40e07c9e6253863d93ad107fb 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/RuleTreePO.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/RuleTreePO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.infrastructure.po;
+package cn.atsuc.xfg.frame.infrastructure.po;
import lombok.AllArgsConstructor;
import lombok.Data;
@@ -8,10 +8,6 @@ import java.util.Date;
/**
* @description: 规则树
- * @author: 小傅哥,微信:fustack
- * @date: 2021/9/22
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Data
@AllArgsConstructor
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/UserPO.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/UserPO.java
similarity index 91%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/UserPO.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/UserPO.java
index a96141e6c4b5d86a7e40f5eae8a11842b36c075d..deba7397db32cfdffe61f18abaa1fcb6c3b81261 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/po/UserPO.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/po/UserPO.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.infrastructure.po;
+package cn.atsuc.xfg.frame.infrastructure.po;
import lombok.AllArgsConstructor;
import lombok.Data;
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/repository/RuleRepository.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/repository/RuleRepository.java
similarity index 73%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/repository/RuleRepository.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/repository/RuleRepository.java
index 80a67d392103facad153ae6a6c990a2b205e7a11..fb44b07e7adb4f248cb5e410c67ee4c0b47c8f4f 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/repository/RuleRepository.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/repository/RuleRepository.java
@@ -1,17 +1,17 @@
-package cn.bugstack.xfg.frame.infrastructure.repository;
+package cn.atsuc.frame.infrastructure.repository;
-import cn.bugstack.xfg.frame.domain.rule.model.aggregates.TreeRuleAggregate;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeNodeLineVO;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeNodeVO;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeRootVO;
-import cn.bugstack.xfg.frame.domain.rule.repository.IRuleRepository;
-import cn.bugstack.xfg.frame.infrastructure.dao.RuleTreeDao;
-import cn.bugstack.xfg.frame.infrastructure.dao.RuleTreeNodeDao;
-import cn.bugstack.xfg.frame.infrastructure.dao.RuleTreeNodeLineDao;
-import cn.bugstack.xfg.frame.infrastructure.po.RuleTreeNodeLinePO;
-import cn.bugstack.xfg.frame.infrastructure.po.RuleTreeNodePO;
-import cn.bugstack.xfg.frame.infrastructure.po.RuleTreePO;
-import cn.bugstack.xfg.frame.types.Constants;
+import cn.atsuc.frame.domain.rule.model.aggregates.TreeRuleAggregate;
+import cn.atsuc.frame.domain.rule.model.valobj.TreeNodeLineVO;
+import cn.atsuc.frame.domain.rule.model.valobj.TreeNodeVO;
+import cn.atsuc.frame.domain.rule.model.valobj.TreeRootVO;
+import cn.atsuc.frame.domain.rule.repository.IRuleRepository;
+import cn.atsuc.frame.types.Constants;
+import cn.atsuc.xfg.frame.infrastructure.dao.RuleTreeDao;
+import cn.atsuc.xfg.frame.infrastructure.dao.RuleTreeNodeDao;
+import cn.atsuc.xfg.frame.infrastructure.dao.RuleTreeNodeLineDao;
+import cn.atsuc.xfg.frame.infrastructure.po.RuleTreeNodeLinePO;
+import cn.atsuc.xfg.frame.infrastructure.po.RuleTreeNodePO;
+import cn.atsuc.xfg.frame.infrastructure.po.RuleTreePO;
import org.springframework.stereotype.Repository;
import javax.annotation.Resource;
@@ -22,10 +22,6 @@ import java.util.Map;
/**
* @description: 规则信息仓储服务
- * @author: 小傅哥,微信:fustack
- * @date: 2021/10/8
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
*/
@Repository
public class RuleRepository implements IRuleRepository {
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/repository/UserRepository.java b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/repository/UserRepository.java
similarity index 58%
rename from xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/repository/UserRepository.java
rename to atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/repository/UserRepository.java
index 2c3ba7755e1fe8a21242396e577eeaab82a37fe4..9fc10c8b1659c34fed110e331ee95f1c9e666363 100644
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/repository/UserRepository.java
+++ b/atsuc-frame-infrastructure/src/main/java/cn/atsuc/frame/infrastructure/repository/UserRepository.java
@@ -1,21 +1,15 @@
-package cn.bugstack.xfg.frame.infrastructure.repository;
+package cn.atsuc.xfg.frame.infrastructure.repository;
-import cn.bugstack.xfg.frame.domain.user.model.valobj.UserVO;
-import cn.bugstack.xfg.frame.domain.user.repository.IUserRepository;
-import cn.bugstack.xfg.frame.infrastructure.dao.IUserDao;
-import cn.bugstack.xfg.frame.infrastructure.po.UserPO;
+import cn.atsuc.xfg.frame.domain.user.model.valobj.UserVO;
+import cn.atsuc.xfg.frame.domain.user.repository.IUserRepository;
+import cn.atsuc.xfg.frame.infrastructure.dao.IUserDao;
+import cn.atsuc.xfg.frame.infrastructure.po.UserPO;
import org.springframework.stereotype.Repository;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
-/**
- * @author 小傅哥,微信:fustack
- * @description
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
@Repository
public class UserRepository implements IUserRepository {
diff --git a/xfg-frame-trigger/pom.xml b/atsuc-frame-trigger/pom.xml
similarity index 81%
rename from xfg-frame-trigger/pom.xml
rename to atsuc-frame-trigger/pom.xml
index aec9e9ea7fe4439a08540e575733a383579b91dc..3ad218b09960e7ec7c07b6302fc4b69e51f0ee7c 100644
--- a/xfg-frame-trigger/pom.xml
+++ b/atsuc-frame-trigger/pom.xml
@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- xfg-frame-ddd
- cn.bugstack
+ atsuc-frame-ddd
+ cn.atsuc
1.0-SNAPSHOT
4.0.0
jar
- xfg-frame-trigger
+ atsuc-frame-trigger
@@ -39,25 +39,25 @@
- cn.bugstack
- xfg-frame-domain
+ cn.atsuc
+ atsuc-frame-domain
1.0-SNAPSHOT
- cn.bugstack
- xfg-frame-api
+ cn.atsuc
+ atsuc-frame-api
1.0-SNAPSHOT
- cn.bugstack
- xfg-frame-types
+ cn.atsuc
+ atsuc-frame-types
1.0-SNAPSHOT
- xfg-frame-trigger
+ atsuc-frame-trigger
org.apache.maven.plugins
diff --git a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/http/Controller.java b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/http/Controller.java
similarity index 89%
rename from xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/http/Controller.java
rename to atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/http/Controller.java
index 68103ea3ebdfed6ebe0ca45d73798b7b4c4db399..c896d537b7601a8a1e3af441bd4e1ffa2eae1760 100644
--- a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/http/Controller.java
+++ b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/http/Controller.java
@@ -1,7 +1,7 @@
-package cn.bugstack.xfg.frame.trigger.http;
+package cn.atsuc.frame.trigger.http;
-import cn.bugstack.xfg.frame.types.Constants;
-import cn.bugstack.xfg.frame.types.Response;
+import cn.atsuc.frame.types.Constants;
+import cn.atsuc.frame.types.Response;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
diff --git a/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/http/package-info.java b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/http/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..bd1fbb2c6419b17f716a58fe8ccf73683065aed5
--- /dev/null
+++ b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/http/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 触发器;接收http请求
+ */
+package cn.atsuc.frame.trigger.http;
\ No newline at end of file
diff --git a/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/mq/package-info.java b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/mq/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..91bf8a82298adfa49c35380ce154be94b06f307f
--- /dev/null
+++ b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/mq/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 触发器;接收mq消费
+ */
+package cn.atsuc.frame.trigger.mq;
\ No newline at end of file
diff --git a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/AccountService.java b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/AccountService.java
similarity index 85%
rename from xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/AccountService.java
rename to atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/AccountService.java
index 535c577874962db3d55cef39e981dcb0bd592bd0..e07be21695c568f5cdb698ada27528e24ce4413c 100644
--- a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/AccountService.java
+++ b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/AccountService.java
@@ -1,6 +1,6 @@
-package cn.bugstack.xfg.frame.trigger.rpc;
+package cn.atsuc.frame.trigger.rpc;
-import cn.bugstack.xfg.frame.api.IAccountService;
+import cn.atsuc.frame.api.IAccountService;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
diff --git a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/RuleService.java b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/RuleService.java
similarity index 67%
rename from xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/RuleService.java
rename to atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/RuleService.java
index 4d91f901474c3bad4210b0c16b9cb1bd6d40c039..a32cadd808287900385b7da1b07cca48bffbefa2 100644
--- a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/RuleService.java
+++ b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/RuleService.java
@@ -1,25 +1,19 @@
-package cn.bugstack.xfg.frame.trigger.rpc;
+package cn.atsuc.frame.trigger.rpc;
-import cn.bugstack.xfg.frame.api.IRuleService;
-import cn.bugstack.xfg.frame.api.model.request.DecisionMatterRequest;
-import cn.bugstack.xfg.frame.api.model.response.DecisionMatterResponse;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.EngineResultEntity;
-import cn.bugstack.xfg.frame.domain.rule.service.engine.EngineFilter;
-import cn.bugstack.xfg.frame.types.Constants;
-import cn.bugstack.xfg.frame.types.Response;
+import cn.atsuc.frame.api.IRuleService;
+import cn.atsuc.frame.api.model.request.DecisionMatterRequest;
+import cn.atsuc.frame.api.model.response.DecisionMatterResponse;
+import cn.atsuc.frame.domain.rule.model.entity.DecisionMatterEntity;
+import cn.atsuc.frame.domain.rule.model.entity.EngineResultEntity;
+import cn.atsuc.frame.domain.rule.service.engine.EngineFilter;
+import cn.atsuc.frame.types.Constants;
+import cn.atsuc.frame.types.Response;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import javax.annotation.Resource;
-/**
- * @author 小傅哥,微信:fustack
- * @description
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
@Slf4j
@DubboService(version = "1.0.0")
public class RuleService implements IRuleService {
diff --git a/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/package-info.java b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..67edee2727fd480fc162f3b6bc43faba94f6f8b4
--- /dev/null
+++ b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/rpc/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 触发器;接收rpc调用
+ */
+package cn.atsuc.frame.trigger.rpc;
\ No newline at end of file
diff --git a/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/task/package-info.java b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/task/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..f37a1e3ea7cc0176152e752435b110e6a0f642e0
--- /dev/null
+++ b/atsuc-frame-trigger/src/main/java/cn/atsuc/frame/trigger/task/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 触发器;接收调度任务
+ */
+package cn.atsuc.frame.trigger.task;
\ No newline at end of file
diff --git a/xfg-frame-types/pom.xml b/atsuc-frame-types/pom.xml
similarity index 86%
rename from xfg-frame-types/pom.xml
rename to atsuc-frame-types/pom.xml
index a9bc85c14ea338a5c741dc6b74289d403ff820c9..09e1bac1a6cb856afc5519f5b57d50abc48ee499 100644
--- a/xfg-frame-types/pom.xml
+++ b/atsuc-frame-types/pom.xml
@@ -3,13 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- xfg-frame-ddd
- cn.bugstack
+ atsuc-frame-ddd
+ cn.atsuc
1.0-SNAPSHOT
4.0.0
- xfg-frame-types
+ atsuc-frame-types
@@ -25,7 +25,7 @@
- xfg-frame-types
+ atsuc-frame-types
org.apache.maven.plugins
diff --git a/xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/Constants.java b/atsuc-frame-types/src/main/java/cn/atsuc/frame/types/Constants.java
similarity index 97%
rename from xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/Constants.java
rename to atsuc-frame-types/src/main/java/cn/atsuc/frame/types/Constants.java
index 4c376375882f405dcf694a0d767429e0cc3d43b1..25ef2ecbeac2f0d0786990a2db80f756154feff7 100644
--- a/xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/Constants.java
+++ b/atsuc-frame-types/src/main/java/cn/atsuc/frame/types/Constants.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.types;
+package cn.atsuc.frame.types;
import lombok.AllArgsConstructor;
import lombok.Getter;
diff --git a/xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/Response.java b/atsuc-frame-types/src/main/java/cn/atsuc/frame/types/Response.java
similarity index 89%
rename from xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/Response.java
rename to atsuc-frame-types/src/main/java/cn/atsuc/frame/types/Response.java
index cd7aa95e5ed7b1da5902834c168c3dbbba5a8e44..7905877bfd91ac611b5fccfff4aa51582ee5c921 100644
--- a/xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/Response.java
+++ b/atsuc-frame-types/src/main/java/cn/atsuc/frame/types/Response.java
@@ -1,4 +1,4 @@
-package cn.bugstack.xfg.frame.types;
+package cn.atsuc.frame.types;
import lombok.AllArgsConstructor;
import lombok.Builder;
diff --git a/atsuc-frame-types/src/main/java/cn/atsuc/frame/types/package-info.java b/atsuc-frame-types/src/main/java/cn/atsuc/frame/types/package-info.java
new file mode 100644
index 0000000000000000000000000000000000000000..df0f2c936c394af0142143ee13f58b8a51d14d4f
--- /dev/null
+++ b/atsuc-frame-types/src/main/java/cn/atsuc/frame/types/package-info.java
@@ -0,0 +1,4 @@
+/**
+ * 通用类型设定
+ */
+package cn.atsuc.frame.types;
\ No newline at end of file
diff --git a/docs/dev-ops/environment/environment-docker-compose.yml b/docs/dev-ops/environment/environment-docker-compose.yml
index 0743faaacfa5ecbdd1f5376d4d6f724d64d91066..25bec52b4997e82b3ccb54872e902d267613b00e 100644
--- a/docs/dev-ops/environment/environment-docker-compose.yml
+++ b/docs/dev-ops/environment/environment-docker-compose.yml
@@ -3,7 +3,7 @@ version: '3'
services:
# MySQL 5.7
mysql:
- image: mysql:5.7
+ image: mysql:8.0.29
container_name: mysql
restart: always
environment:
diff --git a/pom.xml b/pom.xml
index 454b62e80746b7f194949e41dbc465cf11a8a534..c81dc5cbdf42537a1e03478c0956427c75e5ab09 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,17 +4,17 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- cn.bugstack
- xfg-frame-ddd
+ cn.atsuc
+ atsuc-frame-ddd
1.0-SNAPSHOT
- xfg-frame-api
- xfg-frame-app
- xfg-frame-domain
- xfg-frame-trigger
- xfg-frame-infrastructure
- xfg-frame-types
+ atsuc-frame-api
+ atsuc-frame-app
+ atsuc-frame-domain
+ atsuc-frame-trigger
+ atsuc-frame-infrastructure
+ atsuc-frame-types
pom
@@ -47,7 +47,7 @@
mysql
mysql-connector-java
- 5.1.34
+ 8.0.29
com.alibaba
@@ -120,7 +120,7 @@
- xfg-frame
+ atsuc-frame
org.apache.maven.plugins
diff --git a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/IRuleService.java b/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/IRuleService.java
deleted file mode 100644
index c6c426b3451b27a1c1d7731911492fce2f295a77..0000000000000000000000000000000000000000
--- a/xfg-frame-api/src/main/java/cn/bugstack/xfg/frame/api/IRuleService.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package cn.bugstack.xfg.frame.api;
-
-import cn.bugstack.xfg.frame.api.model.request.DecisionMatterRequest;
-import cn.bugstack.xfg.frame.api.model.response.DecisionMatterResponse;
-import cn.bugstack.xfg.frame.types.Response;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description 规则服务
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public interface IRuleService {
-
- Response doRule(DecisionMatterRequest request);
-
-}
diff --git a/xfg-frame-app/build.sh b/xfg-frame-app/build.sh
deleted file mode 100644
index c8193b60e0d857ca07a374a9f55d9bfc3be5c1b3..0000000000000000000000000000000000000000
--- a/xfg-frame-app/build.sh
+++ /dev/null
@@ -1 +0,0 @@
-docker build -f ./Dockerfile -t fuzhengwei/xfg-frame-app:1.3 .
\ No newline at end of file
diff --git a/xfg-frame-app/src/main/bin/stop.sh b/xfg-frame-app/src/main/bin/stop.sh
deleted file mode 100644
index e4160431785511d14250cd095217eb227c74c97c..0000000000000000000000000000000000000000
--- a/xfg-frame-app/src/main/bin/stop.sh
+++ /dev/null
@@ -1 +0,0 @@
-docker stop xfg-frame-app
\ No newline at end of file
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/aop/package-info.java b/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/aop/package-info.java
deleted file mode 100644
index c8cb17c3fc57708046aed2d5bf13a4178e1a2987..0000000000000000000000000000000000000000
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/aop/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 统一切面管理
- */
-package cn.bugstack.xfg.frame.aop;
\ No newline at end of file
diff --git a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/package-info.java b/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/package-info.java
deleted file mode 100644
index a3385954a95d2a8b0bb0524e87440bbcae5f871d..0000000000000000000000000000000000000000
--- a/xfg-frame-app/src/main/java/cn/bugstack/xfg/frame/config/package-info.java
+++ /dev/null
@@ -1,5 +0,0 @@
-/**
- * 配置启动项
- */
-package cn.bugstack.xfg.frame.config;
-
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/aggregates/OrderAggregate.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/aggregates/OrderAggregate.java
deleted file mode 100644
index cea1d06ba578002e03875648aabc09140f1f4b67..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/aggregates/OrderAggregate.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.model.aggregates;
-
-import cn.bugstack.xfg.frame.domain.order.model.entity.OrderItemEntity;
-import cn.bugstack.xfg.frame.domain.order.model.valobj.OrderIdVO;
-
-import java.util.List;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description 订单聚合对象
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public class OrderAggregate {
-
- private OrderIdVO orderId;
- private List items;
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/entity/OrderItemEntity.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/entity/OrderItemEntity.java
deleted file mode 100644
index 27954bfbdeb03bedd8883dc3cc47e4bb519aa156..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/entity/OrderItemEntity.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.model.entity;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description 订单条目实体
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public class OrderItemEntity {
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/entity/ProductEntity.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/entity/ProductEntity.java
deleted file mode 100644
index eb595a67d0aeaee778ba218ec895644a1f604f42..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/entity/ProductEntity.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.model.entity;
-
-import cn.bugstack.xfg.frame.domain.order.model.valobj.ProductDescriptionVO;
-import cn.bugstack.xfg.frame.domain.order.model.valobj.ProductNameVO;
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description 产品实体
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-public class ProductEntity {
-
- private ProductNameVO product;
- private ProductDescriptionVO productDescription;
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/OrderIdVO.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/OrderIdVO.java
deleted file mode 100644
index 4a273992e91f48e213e65dff645f3def4b80cf84..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/OrderIdVO.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.model.valobj;
-
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-public class OrderIdVO {
-
- private String orderId;
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/ProductDescriptionVO.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/ProductDescriptionVO.java
deleted file mode 100644
index 5e090d8ec7525966a8e351ef7d467fca12b47892..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/ProductDescriptionVO.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.model.valobj;
-
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description 产品明细值信息
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-public class ProductDescriptionVO {
-
- private String description;
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/ProductNameVO.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/ProductNameVO.java
deleted file mode 100644
index 34fea71db661b195cd2aa22467844f610e2bf340..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/model/valobj/ProductNameVO.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.model.valobj;
-
-import lombok.AllArgsConstructor;
-import lombok.Data;
-import lombok.NoArgsConstructor;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description 产品值信息
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Data
-@AllArgsConstructor
-@NoArgsConstructor
-public class ProductNameVO {
-
- private String name;
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/repository/IOrderRepository.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/repository/IOrderRepository.java
deleted file mode 100644
index a3b3a9e857042a302aa1ab440332fc7fd6a661d1..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/repository/IOrderRepository.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.repository;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public interface IOrderRepository {
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/repository/package-info.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/repository/package-info.java
deleted file mode 100644
index 1266b4b6a52fc35e423dab23565fe52b1f87e0dd..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/repository/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 仓储接口
- */
-package cn.bugstack.xfg.frame.domain.order.repository;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/service/OrderService.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/service/OrderService.java
deleted file mode 100644
index 3b323d1c38c4766218fbe7ab09a069252d50f9bb..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/service/OrderService.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package cn.bugstack.xfg.frame.domain.order.service;
-
-import org.springframework.stereotype.Service;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Service
-public class OrderService {
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/service/package-info.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/service/package-info.java
deleted file mode 100644
index cd1a8d94c80a29dc7bddfcc8ab338d6174197327..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/order/service/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 具体业务实现
- */
-package cn.bugstack.xfg.frame.domain.order.service;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/repository/IRuleRepository.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/repository/IRuleRepository.java
deleted file mode 100644
index 8e8f16aa926c8cc6a2ff3257c46513268c74824a..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/repository/IRuleRepository.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package cn.bugstack.xfg.frame.domain.rule.repository;
-
-import cn.bugstack.xfg.frame.domain.rule.model.aggregates.TreeRuleAggregate;
-
-/**
- * @description: 规则信息仓储服务接口
- * @author: 小傅哥,微信:fustack
- * @date: 2021/10/8
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public interface IRuleRepository {
-
- /**
- * 查询规则决策树配置
- *
- * @param treeId 决策树ID
- * @return 决策树配置
- */
- TreeRuleAggregate queryTreeRuleRich(Long treeId);
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/repository/package-info.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/repository/package-info.java
deleted file mode 100644
index 27972a457d7bd3ec023a991da79b8c4f9ccd60a3..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/repository/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 仓储接口
- */
-package cn.bugstack.xfg.frame.domain.rule.repository;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineFilter.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineFilter.java
deleted file mode 100644
index 65313f10cfd50b5a57b277340a01950decc6b25e..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/EngineFilter.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package cn.bugstack.xfg.frame.domain.rule.service.engine;
-
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.EngineResultEntity;
-
-/**
- * @description: 规则过滤器引擎
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public interface EngineFilter {
-
- /**
- * 规则过滤器接口
- *
- * @param matter 规则决策物料
- * @return 规则决策结果
- */
- EngineResultEntity process(final DecisionMatterEntity matter);
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/impl/RuleEngineHandle.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/impl/RuleEngineHandle.java
deleted file mode 100644
index d72f40e1e63246db5285d2e8739de04249c48771..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/engine/impl/RuleEngineHandle.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package cn.bugstack.xfg.frame.domain.rule.service.engine.impl;
-
-import cn.bugstack.xfg.frame.domain.rule.model.aggregates.TreeRuleAggregate;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.entity.EngineResultEntity;
-import cn.bugstack.xfg.frame.domain.rule.model.valobj.TreeNodeVO;
-import cn.bugstack.xfg.frame.domain.rule.repository.IRuleRepository;
-import cn.bugstack.xfg.frame.domain.rule.service.engine.EngineBase;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-
-/**
- * @description: 规则引擎处理器
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Service("ruleEngineHandle")
-public class RuleEngineHandle extends EngineBase {
-
- @Resource
- private IRuleRepository ruleRepository;
-
- @Override
- public EngineResultEntity process(DecisionMatterEntity matter) {
- // 决策规则树
- TreeRuleAggregate treeRuleRich = ruleRepository.queryTreeRuleRich(matter.getTreeId());
- if (null == treeRuleRich) {
- throw new RuntimeException("Tree Rule is null!");
- }
-
- // 决策节点
- TreeNodeVO treeNodeInfo = engineDecisionMaker(treeRuleRich, matter);
-
- // 决策结果
- return new EngineResultEntity(matter.getUserId(), treeNodeInfo.getTreeId(), treeNodeInfo.getTreeNodeId(), treeNodeInfo.getNodeValue());
- }
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/impl/UserAgeFilter.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/impl/UserAgeFilter.java
deleted file mode 100644
index af8dbb1c31aba26c1858f5489eea6847a0c91581..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/impl/UserAgeFilter.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package cn.bugstack.xfg.frame.domain.rule.service.logic.impl;
-
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.service.logic.BaseLogic;
-import org.springframework.stereotype.Component;
-
-/**
- * @description: 年龄规则
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Component
-public class UserAgeFilter extends BaseLogic {
-
- @Override
- public String matterValue(DecisionMatterEntity decisionMatter) {
- return decisionMatter.getValMap().get("age").toString();
- }
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/impl/UserGenderFilter.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/impl/UserGenderFilter.java
deleted file mode 100644
index 117ede624e0413cb06dada9eb50846dcfe53e4c0..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/logic/impl/UserGenderFilter.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package cn.bugstack.xfg.frame.domain.rule.service.logic.impl;
-
-import cn.bugstack.xfg.frame.domain.rule.model.entity.DecisionMatterEntity;
-import cn.bugstack.xfg.frame.domain.rule.service.logic.BaseLogic;
-import org.springframework.stereotype.Component;
-
-/**
- * @description: 性别规则
- * @author: 小傅哥,微信:fustack
- * @github: https://github.com/fuzhengwei
- * @Copyright: 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Component
-public class UserGenderFilter extends BaseLogic {
-
- @Override
- public String matterValue(DecisionMatterEntity decisionMatter) {
- return decisionMatter.getValMap().get("gender").toString();
- }
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/package-info.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/package-info.java
deleted file mode 100644
index 137995bfa9e07e2a319561f9cc03366797378e1b..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/rule/service/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 具体业务实现
- */
-package cn.bugstack.xfg.frame.domain.rule.service;
\ No newline at end of file
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/repository/IUserRepository.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/repository/IUserRepository.java
deleted file mode 100644
index 3c056ceab06e1ba8fe30f7816791b0a30327257b..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/repository/IUserRepository.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package cn.bugstack.xfg.frame.domain.user.repository;
-
-import cn.bugstack.xfg.frame.domain.user.model.valobj.UserVO;
-
-import java.util.List;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description 仓储接口
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public interface IUserRepository {
-
- List queryUserList();
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/service/UserService.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/service/UserService.java
deleted file mode 100644
index 3f42dabfa54cd89e818c7b4f3576fd2aea45c475..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/service/UserService.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package cn.bugstack.xfg.frame.domain.user.service;
-
-import cn.bugstack.xfg.frame.domain.user.model.valobj.UserVO;
-import org.springframework.stereotype.Service;
-
-import java.util.List;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-public interface UserService {
-
- List queryUserList();
-
-}
diff --git a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/service/impl/UserServiceImpl.java b/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/service/impl/UserServiceImpl.java
deleted file mode 100644
index 2ec998883cef28cfd964e5cb22f8606265c3cebf..0000000000000000000000000000000000000000
--- a/xfg-frame-domain/src/main/java/cn/bugstack/xfg/frame/domain/user/service/impl/UserServiceImpl.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package cn.bugstack.xfg.frame.domain.user.service.impl;
-
-import cn.bugstack.xfg.frame.domain.user.model.valobj.UserVO;
-import cn.bugstack.xfg.frame.domain.user.repository.IUserRepository;
-import cn.bugstack.xfg.frame.domain.user.service.UserService;
-import org.springframework.stereotype.Repository;
-import org.springframework.stereotype.Service;
-
-import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @author 小傅哥,微信:fustack
- * @description
- * @github https://github.com/fuzhengwei
- * @Copyright 公众号:bugstack虫洞栈 | 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获!
- */
-@Service
-public class UserServiceImpl implements UserService {
-
- @Resource
- private IUserRepository userRepository;
-
- @Override
- public List queryUserList() {
- return null;
- }
-
-}
diff --git a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/package-info.java b/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/package-info.java
deleted file mode 100644
index 3ea8cf9d048acef443d2abb480341db748be631b..0000000000000000000000000000000000000000
--- a/xfg-frame-infrastructure/src/main/java/cn/bugstack/xfg/frame/infrastructure/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 数据库操作
- */
-package cn.bugstack.xfg.frame.infrastructure;
\ No newline at end of file
diff --git a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/http/package-info.java b/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/http/package-info.java
deleted file mode 100644
index 372f01beb1c754f977f2c90aa652a2537ef59fa3..0000000000000000000000000000000000000000
--- a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/http/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 触发器;接收http请求
- */
-package cn.bugstack.xfg.frame.trigger.http;
\ No newline at end of file
diff --git a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/mq/package-info.java b/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/mq/package-info.java
deleted file mode 100644
index 82c7622cc8916b7c468fe505728f71cd8a713b9b..0000000000000000000000000000000000000000
--- a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/mq/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 触发器;接收mq消费
- */
-package cn.bugstack.xfg.frame.trigger.mq;
\ No newline at end of file
diff --git a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/package-info.java b/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/package-info.java
deleted file mode 100644
index 77dcd26ec452a030f5e72bac411c02dacff2611d..0000000000000000000000000000000000000000
--- a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/rpc/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 触发器;接收rpc调用
- */
-package cn.bugstack.xfg.frame.trigger.rpc;
\ No newline at end of file
diff --git a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/task/package-info.java b/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/task/package-info.java
deleted file mode 100644
index f1560f289a34d244b7154543a5c13c55bf89c7b1..0000000000000000000000000000000000000000
--- a/xfg-frame-trigger/src/main/java/cn/bugstack/xfg/frame/trigger/task/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 触发器;接收调度任务
- */
-package cn.bugstack.xfg.frame.trigger.task;
\ No newline at end of file
diff --git a/xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/package-info.java b/xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/package-info.java
deleted file mode 100644
index f6462d1eea5c3fc0d32b39512cd4bc5f8666e7c1..0000000000000000000000000000000000000000
--- a/xfg-frame-types/src/main/java/cn/bugstack/xfg/frame/types/package-info.java
+++ /dev/null
@@ -1,4 +0,0 @@
-/**
- * 通用类型设定
- */
-package cn.bugstack.xfg.frame.types;
\ No newline at end of file