feat(video): Phase 0-4 WVP 代码搬迁、依赖、Redis 隔离、多租户配置

Phase 0: 前置检查完成(Java 21 语法无风险)
Phase 1: 574 个 Java 文件搬迁,包名替换 com.genersoft.iot.vmp → com.viewsh.module.video
Phase 2: pom.xml 添加 JAIN SIP/dom4j/okhttp/bouncycastle/fastjson2 等依赖
         application.yaml 添加 SIP/Media/UserSettings 配置段
Phase 3: RedisTemplate Bean 隔离(videoRedisTemplate),30+ 文件加 @Qualifier
Phase 4: 多租户配置(ignore-tables: wvp_media_server)

待 Phase 5: ORM 改造 + 编译修复

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
lzh
2026-04-05 23:46:07 +08:00
parent 50a826f157
commit d2c82d52c9
577 changed files with 78731 additions and 741 deletions

View File

@@ -114,6 +114,69 @@
<groupId>com.viewsh</groupId>
<artifactId>viewsh-spring-boot-starter-excel</artifactId>
</dependency>
<!-- ==================== WVP 迁移所需依赖 ==================== -->
<!-- T2.1: 必须依赖 -->
<!-- GB28181 SIP 协议栈JAIN SIP -->
<dependency>
<groupId>javax.sip</groupId>
<artifactId>jain-sip-ri</artifactId>
</dependency>
<!-- SIP XML 消息解析 -->
<dependency>
<groupId>org.dom4j</groupId>
<artifactId>dom4j</artifactId>
</dependency>
<!-- 调用 ZLMediaKit REST API -->
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
</dependency>
<!-- HTTP Digest 认证 -->
<dependency>
<groupId>io.github.rburgst</groupId>
<artifactId>okhttp-digest</artifactId>
</dependency>
<!-- SIP 认证加密 -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
</dependency>
<!-- Redis 序列化WVP 使用 FastJSON2与框架 Jackson 隔离) -->
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
</dependency>
<!-- Spring 6 适配(不能用 spring5 版本) -->
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2-extension-spring6</artifactId>
</dependency>
<!-- T2.2: 按需依赖 -->
<!-- AI MQTT 推送WVP AI 模块使用 MQTT v5 -->
<dependency>
<groupId>org.eclipse.paho</groupId>
<artifactId>org.eclipse.paho.mqttv5.client</artifactId>
</dependency>
<!-- 地理位置计算 -->
<dependency>
<groupId>org.locationtech.jts</groupId>
<artifactId>jts-core</artifactId>
</dependency>
<!-- AI 截图上传腾讯云 COS -->
<dependency>
<groupId>com.qcloud</groupId>
<artifactId>cos_api</artifactId>
</dependency>
</dependencies>
<build>