fix(server): remove influxdb remnants
This commit is contained in:
@@ -7,7 +7,6 @@ from app.api.v1.endpoints import (
|
|||||||
scada,
|
scada,
|
||||||
extension,
|
extension,
|
||||||
snapshots,
|
snapshots,
|
||||||
# data_query,
|
|
||||||
users,
|
users,
|
||||||
schemes,
|
schemes,
|
||||||
misc,
|
misc,
|
||||||
@@ -87,7 +86,6 @@ api_router.include_router(visuals.router, tags=["Visuals"])
|
|||||||
|
|
||||||
# Simulation & Data
|
# Simulation & Data
|
||||||
api_router.include_router(simulation.router, tags=["Simulation Control"])
|
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(scada.router)
|
||||||
api_router.include_router(snapshots.router, tags=["Snapshots"])
|
api_router.include_router(snapshots.router, tags=["Snapshots"])
|
||||||
api_router.include_router(users.router, tags=["Users"])
|
api_router.include_router(users.router, tags=["Users"])
|
||||||
|
|||||||
@@ -27,11 +27,6 @@ class Settings(BaseSettings):
|
|||||||
TIMESCALEDB_DB_PORT: str = "5433"
|
TIMESCALEDB_DB_PORT: str = "5433"
|
||||||
TIMESCALEDB_DB_USER: str = "postgres"
|
TIMESCALEDB_DB_USER: str = "postgres"
|
||||||
TIMESCALEDB_DB_PASSWORD: str = "password"
|
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 Database Config (PostgreSQL)
|
||||||
METADATA_DB_NAME: str = "system_hub"
|
METADATA_DB_NAME: str = "system_hub"
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ import pytz
|
|||||||
import requests
|
import requests
|
||||||
import time
|
import time
|
||||||
from typing import Optional, Tuple
|
from typing import Optional, Tuple
|
||||||
import app.infra.db.influxdb.api as influxdb_api
|
|
||||||
import typing
|
import typing
|
||||||
import psycopg
|
import psycopg
|
||||||
import logging
|
import logging
|
||||||
|
|||||||
Reference in New Issue
Block a user