feat(elevator): 对齐 V1 lib 的 Davinci/扫描/事件与部署配置

- davinci-manager-storage:FilePart 路径与基址按 V1 JAR(/portal/file、/part/*、GET /download)
- 启动类:扫描 cn.cloudwalk.serial 与 cn.cloudwalk.cwos.client.resource,补 UUIDSerial 与 ApplicationService
- deploy:v1/v2 application 中 cloudwalk.serial.enabled、Kafka 指向 192.168.3.12:9092;deploy/.gitignore 忽略日志
- cloudwalk-common-serial:补充 META-INF/spring.factories(Boot 自动配置)
- 电梯:Session 配置、Davinci Bean、Feign 包、MQTT/Visitor/Zone Feign;部署脚本与 API parity 工具更新
- 文档与根脚本若干;未纳入大体积 jar/zip 与 v1 CFR 对比目录

Made-with: Cursor

Former-commit-id: b76d142d13ebb5c0898de2d9d11bc583876829c2
This commit is contained in:
反编译工作区
2026-04-28 01:02:31 +08:00
parent be7a8e9d89
commit 418c7db202
61 changed files with 2967 additions and 461 deletions
+42 -15
View File
@@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.18.RELEASE</version>
<version>1.5.17.RELEASE</version>
<relativePath/>
</parent>
@@ -15,7 +15,7 @@
<version>2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>cw-elevator-application (Maven reactor)</name>
<description>聚合模块:common → data → service → web。release/cw-elevator-v1-lib-min-riskcloudwalk-common-service/event 与 V1 cw_lib 一致为 3.7.2部分第三方与 cw-elevator-application-V1.0.0.20211103/lib 文件名对齐。对照目录见 cw.elevator.v1.lib.dir。</description>
<description>聚合模块:common → data → service → web。内部件版本与 ../cw-elevator-application-V1.0.0.20211103/cw_lib 对齐(含 intelligent-cwoscomponent 2.9.2-xinghewan,不使用 3.0.0);cloudwalk-common 3.7.2;第三方与 V1 运行包一致:Spring Boot 1.5.17、Spring Cloud Edgware、mybatis-spring-boot 1.3.1 等。可选对照 V1 展开包 lib 目录见 cw.elevator.v1.lib.dir。</description>
<modules>
<module>cw-elevator-application-common</module>
@@ -32,24 +32,31 @@
<!-- 与 V1.0.0.20211103/cw_lib 中 cloudwalk-common-* 一致,降低与历史运行包 API 差异 -->
<cloudwalk.internal.version>3.7.2-Brussels-SRX</cloudwalk.internal.version>
<cloudwalk.legacy.public.version>3.7.2-Brussels-SRX</cloudwalk.legacy.public.version>
<intelligent.cwoscomponent.version>3.0.0-xinghewan</intelligent.cwoscomponent.version>
<!-- 以下与 V1.0.0.20211103/lib 中 *.pom 主版本对齐(保持 Spring Boot 2.1.18 以兼容当前源码) -->
<!-- 与 cw_lib 完全一致;禁止改为 3.0.0-xinghewan(与本产品线口径冲突) -->
<intelligent.cwoscomponent.version>2.9.2-xinghewan</intelligent.cwoscomponent.version>
<!-- 以下与 V1 fat-jar lib 目录文件名对齐(与 cw-elevator-application-V1.0.0.20211103 一致) -->
<fastjson.version>1.2.73</fastjson.version>
<guava.version>28.2-jre</guava.version>
<poi.version>4.1.2</poi.version>
<ant.version>1.10.12</ant.version>
<guava.version>20.0</guava.version>
<poi.version>3.15</poi.version>
<ant.version>1.9.6</ant.version>
<thumbnailator.version>0.4.8</thumbnailator.version>
<commons-io.version>2.5</commons-io.version>
<!-- Boot 1.5 父 POM 不托管 commons-lang3,显式与 1.5.x 栈常用版本一致 -->
<commons-lang3.version>3.5</commons-lang3.version>
<zip4j.version>2.6.2</zip4j.version>
<zxing.version>3.3.3</zxing.version>
<pagehelper.version>5.1.2</pagehelper.version>
<pagehelper-spring-boot.version>1.2.5</pagehelper-spring-boot.version>
<shardingsphere.version>4.0.0</shardingsphere.version>
<mybatis.version>3.5.6</mybatis.version>
<mybatis-spring.version>2.0.6</mybatis-spring.version>
<mybatis-spring-boot.version>2.0.1</mybatis-spring-boot.version>
<servlet-api.version>2.5</servlet-api.version>
<mybatis.version>3.4.6</mybatis.version>
<mybatis-spring.version>1.3.2</mybatis-spring.version>
<mybatis-spring-boot.version>1.3.1</mybatis-spring-boot.version>
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<!-- javax.annotation.Nullable 来自 JSR-305,非 javax.annotation-api -->
<jsr305.version>3.0.2</jsr305.version>
<cwos.sdk.resource.version>1.0.0-SNAPSHOT</cwos.sdk.resource.version>
<cwos.sdk.event.version>1.5.0-SNAPSHOT</cwos.sdk.event.version>
<intelligent.lock.version>1.1.1-SNAPSHOT</intelligent.lock.version>
<davinci.manager.storage.version>1.1.7-SNAPSHOT</davinci.manager.storage.version>
<!-- Nexus UI: http://192.168.3.12/#browse/welcome -->
@@ -57,8 +64,8 @@
<nexus.public.repo>${nexus.baseUrl}/repository/maven-public/</nexus.public.repo>
<formatter.maven.plugin.version>2.24.1</formatter.maven.plugin.version>
<alibaba.eclipse.codestyle.path>${project.basedir}/../docs/style/alibaba-eclipse-codestyle.xml</alibaba.eclipse.codestyle.path>
<!-- 与 Spring Boot 2.1.18 对齐的 OpenFeign/Cloud 版本(发布包可执行 JAR 需要 -->
<spring-cloud.version>Greenwich.SR6</spring-cloud.version>
<!-- 与 Spring Boot 1.5.x 配对的 Spring Cloud Edgwarespring-cloud-starter-openfeign;注解包为 netflix.feign -->
<spring-cloud.version>Edgware.SR6</spring-cloud.version>
<!-- spring-boot-maven-plugin repackage 产出的可执行 JAR 文件名(不含 .jar) -->
<elevator.release.finalName>cw-elevator-application-2.0.0</elevator.release.finalName>
</properties>
@@ -107,6 +114,11 @@
<artifactId>cwos-java-sdk-resource</artifactId>
<version>${cwos.sdk.resource.version}</version>
</dependency>
<dependency>
<groupId>cn.cloudwalk.cloud</groupId>
<artifactId>cwos-sdk-event</artifactId>
<version>${cwos.sdk.event.version}</version>
</dependency>
<dependency>
<groupId>cn.cloudwalk.intelligent</groupId>
<artifactId>cloudwalk-intelligent-component-lock</artifactId>
@@ -147,6 +159,11 @@
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
@@ -194,8 +211,18 @@
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet-api.version}</version>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet-api.version}</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.annotation-api.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
</dependency>
<dependency>
<groupId>javax.el</groupId>