fix(server): remove influxdb remnants

This commit is contained in:
2026-07-17 18:33:38 +08:00
parent 9b16e4e0a5
commit 9f225374de
3 changed files with 0 additions and 8 deletions
-2
View File
@@ -7,7 +7,6 @@ from app.api.v1.endpoints import (
scada,
extension,
snapshots,
# data_query,
users,
schemes,
misc,
@@ -87,7 +86,6 @@ api_router.include_router(visuals.router, tags=["Visuals"])
# Simulation & Data
api_router.include_router(simulation.router, tags=["Simulation Control"])
# api_router.include_router(data_query.router, tags=["Data Query & InfluxDB"])
api_router.include_router(scada.router)
api_router.include_router(snapshots.router, tags=["Snapshots"])
api_router.include_router(users.router, tags=["Users"])
-5
View File
@@ -27,11 +27,6 @@ class Settings(BaseSettings):
TIMESCALEDB_DB_PORT: str = "5433"
TIMESCALEDB_DB_USER: str = "postgres"
TIMESCALEDB_DB_PASSWORD: str = "password"
# InfluxDB
INFLUXDB_URL: str = "http://localhost:8086"
INFLUXDB_TOKEN: str = "token"
INFLUXDB_ORG: str = "org"
INFLUXDB_BUCKET: str = "bucket"
# Metadata Database Config (PostgreSQL)
METADATA_DB_NAME: str = "system_hub"
-1
View File
@@ -28,7 +28,6 @@ import pytz
import requests
import time
from typing import Optional, Tuple
import app.infra.db.influxdb.api as influxdb_api
import typing
import psycopg
import logging