- 补充缺失的 API 类(DatabusMessage、DatabusBatchMessage、DatabusEventType) - 新增变更消息消费者(3个:部门、用户、岗位) - 新增数据提供者(3个:部门、用户、岗位) - 确认分发器服务(核心定向推送逻辑) - 确认全量同步与消息推送组件 - 确认管理后台 API(5个 Controller) - 确认 Service ��(4个核心服务) - 确认 DAL 层(7个 DO + Mapper) - 添加 databus-server starter 依赖到 pom.xml - 编译验证通过 Ref: docs/databus/implementation-checklist.md 任务 39-70
211 lines
7.0 KiB
XML
211 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
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">
|
|
<parent>
|
|
<artifactId>zt-module-databus</artifactId>
|
|
<groupId>com.zt.plat</groupId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
|
|
<artifactId>zt-module-databus-server</artifactId>
|
|
|
|
<name>${project.artifactId}</name>
|
|
<description>
|
|
Databus 模块。
|
|
</description>
|
|
|
|
<dependencies>
|
|
<!-- Spring Cloud 基础 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-env</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 依赖服务 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-module-system-api</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-module-infra-api</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-module-databus-api</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<!-- DataBus Server Starter -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-databus-server</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<!-- 业务组件 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-biz-data-permission</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-biz-tenant</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Web 相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
|
|
<!-- DB 相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-mybatis</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!-- RPC 远程调用相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-rpc</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Registry 注册中心相关 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Config 配置中心相关 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Job 定时任务相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-job</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 消息队列相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-mq</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Test 测试相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-test</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 工具类相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-excel</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 监控相关 -->
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-monitor</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zt.plat</groupId>
|
|
<artifactId>zt-spring-boot-starter-biz-business</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
<!-- Spring Integration & Flow Orchestration -->
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-http</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-scripting</artifactId>
|
|
</dependency>
|
|
<!-- Reactive HTTP client for internal REST orchestration -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Expression evaluation & caching utilities -->
|
|
<dependency>
|
|
<groupId>com.ibm.jsonata4java</groupId>
|
|
<artifactId>JSONata4Java</artifactId>
|
|
<version>2.5.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
<artifactId>caffeine</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mvel</groupId>
|
|
<artifactId>mvel2</artifactId>
|
|
<version>2.5.2.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Testing support -->
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
<artifactId>mockwebserver</artifactId>
|
|
<version>4.12.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<!-- 打包 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|