- move the relational data center to MySQL and a standalone workbench\n- add Interface Center API credentials, policies, logs, and DBeaver SSH guidance\n- harden authentication and deployment while retiring unused management surfaces
54 lines
2.0 KiB
Python
54 lines
2.0 KiB
Python
"""API router aggregation."""
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.plaza import router as plaza_router
|
|
from app.api.graph import router as graph_router
|
|
from app.api.ocr import router as ocr_router
|
|
from app.api.travel_assistant import public_router as travel_assistant_public_router
|
|
from app.api.travel_assistant import router as travel_assistant_router
|
|
from app.api.data_platform import router as data_platform_router
|
|
from app.api.interface_center import public_router as interface_center_public_router
|
|
from app.api.interface_center import router as interface_center_router
|
|
|
|
api_router = APIRouter(prefix="/v1/admin")
|
|
openapi_router = APIRouter(prefix="/v1/openapi")
|
|
|
|
# Auth
|
|
from app.api.auth import router as auth_router # noqa: E402
|
|
|
|
api_router.include_router(auth_router, tags=["auth"])
|
|
|
|
# Projects & Graph Releases
|
|
from app.api.projects import router as projects_router # noqa: E402
|
|
|
|
api_router.include_router(projects_router, tags=["projects"])
|
|
|
|
# Plaza
|
|
api_router.include_router(plaza_router, tags=["plaza"])
|
|
|
|
# Graph browser
|
|
api_router.include_router(graph_router, tags=["graph"])
|
|
api_router.include_router(travel_assistant_router, tags=["travel-assistant"])
|
|
api_router.include_router(ocr_router, tags=["ocr"])
|
|
api_router.include_router(data_platform_router, tags=["data-platform"])
|
|
api_router.include_router(interface_center_router, tags=["interface-center"])
|
|
|
|
# Agent call logs
|
|
from app.api.agent_call_logs import router as agent_call_logs_router # noqa: E402
|
|
|
|
api_router.include_router(agent_call_logs_router, tags=["agent-call-logs"])
|
|
|
|
# RBAC & accounts (P1)
|
|
from app.api.rbac import router as rbac_router # noqa: E402
|
|
|
|
api_router.include_router(rbac_router, tags=["rbac"])
|
|
|
|
# Super Agent (P1)
|
|
from app.api.super_agent import router as super_agent_router # noqa: E402
|
|
|
|
api_router.include_router(super_agent_router, tags=["super-agent"])
|
|
|
|
# Third-party integration APIs
|
|
openapi_router.include_router(travel_assistant_public_router, tags=["openapi-knowledge-qa"])
|
|
openapi_router.include_router(interface_center_public_router, tags=["openapi-data"])
|