diff --git a/modules/apps/vehicle-history-app/src/main/resources/application.yml b/modules/apps/vehicle-history-app/src/main/resources/application.yml index 2c8b25b4..91d53624 100644 --- a/modules/apps/vehicle-history-app/src/main/resources/application.yml +++ b/modules/apps/vehicle-history-app/src/main/resources/application.yml @@ -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: diff --git a/modules/apps/vehicle-history-app/src/test/java/com/lingniu/ingest/historyapp/VehicleHistoryAppDefaultsTest.java b/modules/apps/vehicle-history-app/src/test/java/com/lingniu/ingest/historyapp/VehicleHistoryAppDefaultsTest.java index 89f87754..70424de5 100644 --- a/modules/apps/vehicle-history-app/src/test/java/com/lingniu/ingest/historyapp/VehicleHistoryAppDefaultsTest.java +++ b/modules/apps/vehicle-history-app/src/test/java/com/lingniu/ingest/historyapp/VehicleHistoryAppDefaultsTest.java @@ -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"); }