refactor: make raw archive store optional
This commit is contained in:
@@ -52,6 +52,17 @@ class MavenModuleProfileTest {
|
||||
.containsExactly("modules/services/vehicle-state-service");
|
||||
}
|
||||
|
||||
@Test
|
||||
void rawArchiveStorePrototypeIsOptionalAndOutsideDefaultProductionReactor() 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");
|
||||
}
|
||||
|
||||
@Test
|
||||
void xindaIsLegacyOnlyAndOutsideDefaultProductionReactor() throws Exception {
|
||||
Document pom = rootPom();
|
||||
@@ -121,6 +132,7 @@ 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")
|
||||
.doesNotContain("## ADR-004 信达 Push:保留模块但彻底重写\n- **Status**: Accepted")
|
||||
.doesNotContain("Spring Boot 3.4.x");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user