Skip to content

Live sensor API router not integrated into main application #6

@SL-Mar

Description

@SL-Mar

Problem

The live sensor API module (api/live.py) defines a complete router with WebSocket and REST endpoints for real-time SBG sensor data streaming. However, the router is never included in the main FastAPI application. The include_in_app() function exists but is never called from api/main.py.

Impact

All /api/live/* endpoints are unreachable, making real-time monitoring and the live dashboard non-functional.

Steps to fix

  1. Import include_in_app from api/live in api/main.py
  2. Call include_in_app(app) in the create_app() function
  3. Verify endpoints are accessible
  4. Add integration tests

Files

  • api/main.py (create_app function)
  • api/live.py (endpoint definitions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Priority: criticalbackendBackend relatedbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions