atlanticwave-sdx / sdx-controller

Central Controller for AtlanticWave SDX.
https://www.atlanticwave-sdx.net
MIT License
1 stars 3 forks source link

Make sdx controller a WSGI app #215

Closed sajith closed 6 months ago

sajith commented 6 months ago

Resolves #135. These commands should work now:

$ flask --app sdx_controller.app [run|routes|shell]

The above should work for development purposes. For production, we should be using:

$ uvicorn sdx_controller.app:app

Further, docker compose up will run uvicorn sdx_controller.app:app.

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 7715376992


Changes Missing Coverage Covered Lines Changed/Added Lines %
sdx_controller/init.py 29 30 96.67%
sdx_controller/messaging/rpc_queue_consumer.py 4 7 57.14%
sdx_controller/app.py 0 9 0.0%
<!-- Total: 33 46 71.74% -->
Totals Coverage Status
Change from base Build 7706014685: 0.9%
Covered Lines: 605
Relevant Lines: 1416

💛 - Coveralls