abc5a8838a
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: Ia67d3b1b2e80b8b2096cb86ba85f47047e89a3d2 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
23 lines
572 B
YAML
23 lines
572 B
YAML
---
|
|
features:
|
|
- |
|
|
A new file, ``glance/wsgi/api.py``, has been added as a place to hold a
|
|
WSGI ``application`` object. 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/glance-wsgi-api
|
|
|
|
You can now use:
|
|
|
|
.. code-block:: ini
|
|
|
|
[uwsgi]
|
|
module = glance.wsgi.api:application
|
|
|
|
This also simplifies deployment with other WSGI servers that expect module
|
|
paths such as gunicorn.
|