Multi-module Spring Boot ingest service for vehicle telemetry. Modules: - ingest-api / ingest-core / ingest-codec-common: shared SPI, dispatcher, Disruptor event bus, BCC/BCD codec helpers - protocol-gb32960: GB/T 32960.3 inbound (Netty + per-version parser packages v2016/v2025), platform login auth, VIN whitelist, idle handler - protocol-jt808 / protocol-jt1078 / protocol-jsatl12: JT/T inbound - inbound-mqtt / inbound-xinda-push: alternative ingest channels - session-core: per-channel session state - sink-archive / sink-mq: persistence sinks (local file / Kafka) - command-gateway: terminal control command gateway - bootstrap-all: aggregator Spring Boot app - observability: Micrometer / Actuator wiring Includes hex-dump golden samples under protocol-gb32960/src/test/resources and the GB/T 32960.3-2016 / 2025 reference PDFs under reference/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
108 lines
3.7 KiB
XML
108 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<parent>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>lingniu-vehicle-ingest</artifactId>
|
||
<version>0.1.0-SNAPSHOT</version>
|
||
</parent>
|
||
<artifactId>bootstrap-all</artifactId>
|
||
<name>bootstrap-all</name>
|
||
<description>一体化启动:默认集成全部协议与 Sink。生产环境通过配置开关按需启停。</description>
|
||
|
||
<dependencies>
|
||
<!-- Core -->
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>ingest-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>session-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>observability</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Sinks -->
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>sink-mq</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>sink-archive</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Protocols -->
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>protocol-gb32960</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>protocol-jt808</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>protocol-jt1078</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>protocol-jsatl12</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Inbound -->
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>inbound-mqtt</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>inbound-xinda-push</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Command Gateway (HTTP) -->
|
||
<dependency>
|
||
<groupId>com.lingniu.ingest</groupId>
|
||
<artifactId>command-gateway</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 测试 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>lingniu-vehicle-ingest</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<!-- JDK 24+ 对所有调用 sun.misc.Unsafe 的库(jctools、byte-buddy 等)
|
||
打弃用警告,每进程打一次,纯日志噪声。显式 allow 让 JVM 闭嘴,
|
||
等上游库迁移到 VarHandle 后即可去掉这个参数。 -->
|
||
<jvmArguments>--sun-misc-unsafe-memory-access=allow</jvmArguments>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project>
|