From 27b421d49ba31aeac1eacbd9a353919ddd108784 Mon Sep 17 00:00:00 2001 From: lingniu Date: Tue, 23 Jun 2026 15:58:51 +0800 Subject: [PATCH] build: add split service app modules --- modules/apps/gb32960-ingest-app/pom.xml | 66 +++++++++++++++++++ modules/apps/vehicle-analytics-app/pom.xml | 66 +++++++++++++++++++ modules/apps/vehicle-history-app/pom.xml | 74 ++++++++++++++++++++++ pom.xml | 18 ++++++ 4 files changed, 224 insertions(+) create mode 100644 modules/apps/gb32960-ingest-app/pom.xml create mode 100644 modules/apps/vehicle-analytics-app/pom.xml create mode 100644 modules/apps/vehicle-history-app/pom.xml diff --git a/modules/apps/gb32960-ingest-app/pom.xml b/modules/apps/gb32960-ingest-app/pom.xml new file mode 100644 index 00000000..65b80f2e --- /dev/null +++ b/modules/apps/gb32960-ingest-app/pom.xml @@ -0,0 +1,66 @@ + + + 4.0.0 + + com.lingniu.ingest + lingniu-vehicle-ingest + 0.1.0-SNAPSHOT + ../../../pom.xml + + + gb32960-ingest-app + gb32960-ingest-app + GB32960 protocol ingress runtime: TCP decode, auth, Kafka production, and ACK. + + + + com.lingniu.ingest + ingest-core + + + com.lingniu.ingest + session-core + + + com.lingniu.ingest + observability + + + com.lingniu.ingest + protocol-gb32960 + + + com.lingniu.ingest + sink-mq + + + org.springframework.boot + spring-boot-starter + + + org.springframework.boot + spring-boot-starter-test + test + + + + + gb32960-ingest-app + + + org.springframework.boot + spring-boot-maven-plugin + + --sun-misc-unsafe-memory-access=allow + + + + + repackage + + + + + + + diff --git a/modules/apps/vehicle-analytics-app/pom.xml b/modules/apps/vehicle-analytics-app/pom.xml new file mode 100644 index 00000000..7aec22a3 --- /dev/null +++ b/modules/apps/vehicle-analytics-app/pom.xml @@ -0,0 +1,66 @@ + + + 4.0.0 + + com.lingniu.ingest + lingniu-vehicle-ingest + 0.1.0-SNAPSHOT + ../../../pom.xml + + + vehicle-analytics-app + vehicle-analytics-app + Vehicle state, daily statistics, alarms, and analytics runtime. + + + + com.lingniu.ingest + ingest-api + + + com.lingniu.ingest + observability + + + com.lingniu.ingest + sink-mq + + + com.lingniu.ingest + vehicle-state-service + + + com.lingniu.ingest + vehicle-stat-service + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-test + test + + + + + vehicle-analytics-app + + + org.springframework.boot + spring-boot-maven-plugin + + --sun-misc-unsafe-memory-access=allow + + + + + repackage + + + + + + + diff --git a/modules/apps/vehicle-history-app/pom.xml b/modules/apps/vehicle-history-app/pom.xml new file mode 100644 index 00000000..f9dfeedb --- /dev/null +++ b/modules/apps/vehicle-history-app/pom.xml @@ -0,0 +1,74 @@ + + + 4.0.0 + + com.lingniu.ingest + lingniu-vehicle-ingest + 0.1.0-SNAPSHOT + ../../../pom.xml + + + vehicle-history-app + vehicle-history-app + Vehicle raw archive, event history, and GB32960 frame query runtime. + + + + com.lingniu.ingest + ingest-api + + + com.lingniu.ingest + observability + + + com.lingniu.ingest + sink-mq + + + com.lingniu.ingest + sink-archive + + + com.lingniu.ingest + event-file-store + + + com.lingniu.ingest + event-history-service + + + com.lingniu.ingest + protocol-gb32960 + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-test + test + + + + + vehicle-history-app + + + org.springframework.boot + spring-boot-maven-plugin + + --sun-misc-unsafe-memory-access=allow + + + + + repackage + + + + + + + diff --git a/pom.xml b/pom.xml index e2f81ed8..ab3285a8 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,9 @@ modules/inbound/inbound-mqtt modules/inbound/inbound-xinda-push modules/apps/command-gateway + modules/apps/gb32960-ingest-app + modules/apps/vehicle-history-app + modules/apps/vehicle-analytics-app modules/apps/bootstrap-all @@ -222,6 +225,21 @@ command-gateway ${project.version} + + com.lingniu.ingest + gb32960-ingest-app + ${project.version} + + + com.lingniu.ingest + vehicle-history-app + ${project.version} + + + com.lingniu.ingest + vehicle-analytics-app + ${project.version} +