build: remove raw archive store prototype
This commit is contained in:
@@ -53,14 +53,17 @@ class MavenModuleProfileTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void rawArchiveStorePrototypeIsOptionalAndOutsideDefaultProductionReactor() throws Exception {
|
||||
void rawArchiveStorePrototypeIsRemovedFromBuildSurface() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
assertThat(defaultModules(pom))
|
||||
.doesNotContain("modules/sinks/raw-archive-store");
|
||||
|
||||
assertThat(profileModules(pom, "optional-raw-archive-store"))
|
||||
.containsExactly("modules/sinks/raw-archive-store");
|
||||
.as("raw bytes are written by sink-archive; raw-archive-store was an unused prototype")
|
||||
.isEmpty();
|
||||
assertThat(Files.exists(repositoryRoot().resolve("modules/sinks/raw-archive-store")))
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -153,7 +156,7 @@ class MavenModuleProfileTest {
|
||||
assertThat(profileDependencyManagementArtifacts(pom, "optional-latest-state"))
|
||||
.containsExactly("vehicle-state-service");
|
||||
assertThat(profileDependencyManagementArtifacts(pom, "optional-raw-archive-store"))
|
||||
.containsExactly("raw-archive-store");
|
||||
.isEmpty();
|
||||
assertThat(profileDependencyManagementArtifacts(pom, "optional-event-file-store"))
|
||||
.isEmpty();
|
||||
assertThat(profileDependencyManagementArtifacts(pom, "legacy-xinda"))
|
||||
@@ -328,11 +331,12 @@ class MavenModuleProfileTest {
|
||||
.contains("Xinda Push 仅保留在 `legacy-xinda` profile")
|
||||
.contains("JSATL12 仅保留在 `optional-attachments` profile")
|
||||
.contains("vehicle-state-service 仅保留在 `optional-latest-state` profile")
|
||||
.contains("raw-archive-store 仅保留在 `optional-raw-archive-store` profile")
|
||||
.contains("raw-archive-store 原型已删除")
|
||||
.contains("协议接入应用不直接写业务库")
|
||||
.contains("`vehicle-analytics-app` 写入 MySQL `vehicle_stat_metric`")
|
||||
.doesNotContain("event-file-store")
|
||||
.doesNotContain("optional-event-file-store")
|
||||
.doesNotContain("optional-raw-archive-store")
|
||||
.doesNotContain("## ADR-004 信达 Push:保留模块但彻底重写\n- **Status**: Accepted")
|
||||
.doesNotContain("Spring Boot 3.4.x");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user