chore: document local archive storage only
This commit is contained in:
@@ -191,6 +191,7 @@ class MavenModuleProfileTest {
|
||||
.contains("Eclipse Paho " + projectProperty(pom, "paho-mqtt.version"))
|
||||
.contains("session-core/ 设备会话 + 鉴权 + Token + Redis SessionStore")
|
||||
.contains("| 事件流 | **Kafka**(唯一生产消息通道,vin 分区,保证单车有序) |")
|
||||
.contains("| 冷存 | 本地文件系统 |")
|
||||
.contains("| 构建 | Maven |")
|
||||
.contains("protocol-jt1078/ JT/T 1078(optional-command-gateway profile")
|
||||
.contains("protocol-jsatl12/ 苏标主动安全报警附件(optional-attachments profile)")
|
||||
@@ -210,6 +211,7 @@ class MavenModuleProfileTest {
|
||||
.doesNotContain("其他 MQ 后端")
|
||||
.doesNotContain("Spotless")
|
||||
.doesNotContain("ArchUnit")
|
||||
.doesNotContain("S3 / OSS / 本地")
|
||||
.doesNotContain("mvn clean install -DskipTests")
|
||||
.doesNotContain("-DskipTests")
|
||||
.doesNotContain("Caffeine 内存降级")
|
||||
@@ -224,6 +226,26 @@ class MavenModuleProfileTest {
|
||||
.doesNotContain("| 消息队列 |");
|
||||
}
|
||||
|
||||
@Test
|
||||
void archiveBuildSurfaceDocumentsLocalFilesystemOnly() throws Exception {
|
||||
String archivePom = Files.readString(repositoryRoot().resolve("modules/sinks/sink-archive/pom.xml"));
|
||||
String moduleDataFlow = Files.readString(repositoryRoot().resolve("docs/module-data-flow.html"));
|
||||
|
||||
assertThat(archivePom)
|
||||
.contains("原始报文冷存:本地文件系统实现。")
|
||||
.doesNotContain("S3/OSS")
|
||||
.doesNotContain("MinIO")
|
||||
.doesNotContain("software.amazon.awssdk")
|
||||
.doesNotContain("com.aliyun.oss");
|
||||
assertThat(moduleDataFlow)
|
||||
.contains("sink-archive<br/>RawArchive 到本地文件系统冷存")
|
||||
.contains("归档文件的真实本地路径只属于 ArchiveStore")
|
||||
.contains("原始报文冷存,当前为本地文件系统实现")
|
||||
.doesNotContain("本地/S3/OSS")
|
||||
.doesNotContain("S3/OSS")
|
||||
.doesNotContain("MinIO");
|
||||
}
|
||||
|
||||
@Test
|
||||
void yutongMqttBuildSurfaceUsesOnlyPahoClient() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
Reference in New Issue
Block a user