Files
masakari/releasenotes/notes/add-masakari-wsgi-module-a5f5a649a2ec460c.yaml
Stephen Finucane 300fa732dc Add new masakari.wsgi module
We also update our devstack plugin to take advantage of it. The existing
masakari.wsgi module is moved to masakari.api.wsgi.

Change-Id: I374abe948f1be95cb68a524e04ab452809c5e854
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-05-08 14:17:39 +01:00

23 lines
570 B
YAML

---
features:
- |
A new module, ``masakari.wsgi``, has been added as a place to gather WSGI
``application`` objects. This is intended to ease deployment by providing
a consistent location for these objects. For example, if using uWSGI then
instead of:
.. code-block:: ini
[uwsgi]
wsgi-file = /bin/masakari-wsgi
You can now use:
.. code-block:: ini
[uwsgi]
module = masakari.wsgi.api:application
This also simplifies deployment with other WSGI servers that expect module
paths such as gunicorn.