fix: keep telemetry fields out of default history api
This commit is contained in:
@@ -25,7 +25,12 @@ import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
@RestController
|
||||
@ConditionalOnProperty(prefix = "lingniu.ingest.event-history", name = "enabled", havingValue = "true")
|
||||
@ConditionalOnProperty(
|
||||
name = {
|
||||
"lingniu.ingest.event-history.enabled",
|
||||
"lingniu.ingest.tdengine-history.telemetry-fields-enabled"
|
||||
},
|
||||
havingValue = "true")
|
||||
@ConditionalOnBean(TdengineHistoryReader.class)
|
||||
@RequestMapping("/api/event-history/telemetry")
|
||||
@Tag(name = "telemetry-field-history-controller", description = "遥测字段历史分页查询接口。")
|
||||
|
||||
Reference in New Issue
Block a user