chore: hide history specialized api switch

This commit is contained in:
lingniu
2026-07-01 15:18:33 +08:00
parent 329f106e3c
commit 192c5eff00
2 changed files with 3 additions and 3 deletions

View File

@@ -92,8 +92,6 @@ lingniu:
initialization-fail-timeout-millis: ${TDENGINE_INITIALIZATION_FAIL_TIMEOUT_MILLIS:-1}
event-history:
enabled: true
api:
specialized-enabled: ${EVENT_HISTORY_SPECIALIZED_API_ENABLED:false}
management:
endpoints:

View File

@@ -107,12 +107,14 @@ class VehicleHistoryAppDefaultsTest {
.noneMatch(name -> name.startsWith("lingniu.ingest.vehicle-state."))
.noneMatch(name -> name.startsWith("lingniu.ingest.vehicle-stat."))
.noneMatch(name -> name.startsWith("lingniu.ingest.sink.archive."))
.noneMatch(name -> name.startsWith("lingniu.ingest.event-file-store."));
.noneMatch(name -> name.startsWith("lingniu.ingest.event-file-store."))
.noneMatch(name -> name.startsWith("lingniu.ingest.event-history.api."));
assertThat(properties.stringPropertyNames())
.noneMatch(name -> name.equals("lingniu.ingest.tdengine-history.telemetry-fields-enabled"));
assertThat(applicationYaml())
.doesNotContain("\n archive:\n")
.doesNotContain("sink.archive")
.doesNotContain("EVENT_HISTORY_SPECIALIZED_API_ENABLED")
.doesNotContain("KAFKA_ENABLED");
}