cinder/releasenotes/notes/add-cinder-wsgi-module-ae72ad42bfebbea8.yaml
Stephen Finucane 50eb89ccdc Add wsgi module
This allows deployment tooling to easily switch from passing a binary
path to passing a Python module path. We'll use it shortly.

Change-Id: I7a50ba8ce16184dce3b8a3dec7801155c7a605cd
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-05-14 15:30:35 +01:00

23 lines
564 B
YAML

---
features:
- |
A new module, ``cinder.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/cinder-wsgi
You can now use:
.. code-block:: ini
[uwsgi]
module = cinder.wsgi.api:application
This also simplifies deployment with other WSGI servers that expect module
paths such as gunicorn.