docs: align active ingest runbooks
This commit is contained in:
@@ -115,6 +115,7 @@ class PortainerComposeResourceLimitsTest {
|
||||
|
||||
assertThat(tdengineVerification)
|
||||
.contains("TDengine `raw_frames`")
|
||||
.doesNotContain("20482")
|
||||
.doesNotContain("三个服务必须共用同一个 `SINK_ARCHIVE_PATH`")
|
||||
.doesNotContain("再回读共享 archive")
|
||||
.doesNotContain("读取共享 archive 中的原始 `.bin`")
|
||||
@@ -129,6 +130,26 @@ class PortainerComposeResourceLimitsTest {
|
||||
.doesNotContain("shared volume mounted to all three services");
|
||||
}
|
||||
|
||||
@Test
|
||||
void splitRunbookDocumentsAllActiveProductionAppsAndTopics() throws IOException {
|
||||
String splitRunbook = Files.readString(repositoryRoot()
|
||||
.resolve("docs/operations/gb32960-service-split-runbook.md"));
|
||||
String activeBuildCommand =
|
||||
"mvn -pl :gb32960-ingest-app,:jt808-ingest-app,:yutong-mqtt-app,:vehicle-history-app,:vehicle-analytics-app -am package -Dmaven.test.skip=true";
|
||||
|
||||
assertThat(splitRunbook)
|
||||
.contains("| Yutong MQTT ingest | `:yutong-mqtt-app`")
|
||||
.contains("`vehicle.raw.mqtt-yutong.v1`")
|
||||
.contains("`vehicle.event.mqtt-yutong.v1`")
|
||||
.contains("`vehicle.dlq.mqtt-yutong.v1`")
|
||||
.contains(activeBuildCommand)
|
||||
.contains("modules/apps/yutong-mqtt-app/target/yutong-mqtt-app.jar")
|
||||
.doesNotContain("20482")
|
||||
.doesNotContain("mvn -pl :gb32960-ingest-app,:vehicle-history-app,:vehicle-analytics-app")
|
||||
.doesNotContain("mvn -pl :gb32960-ingest-app,:jt808-ingest-app,:vehicle-history-app,:vehicle-analytics-app")
|
||||
.doesNotContain("repackaged all three app jars");
|
||||
}
|
||||
|
||||
@Test
|
||||
void architectureDocsNameKafkaInsteadOfGenericMq() throws IOException {
|
||||
String decisions = Files.readString(repositoryRoot().resolve("DECISIONS.md"));
|
||||
|
||||
Reference in New Issue
Block a user