| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | A new module, ``cyborg.wsgi``, has been added as a place to gather WSGI |
| 5 | ``application`` objects. This is intended to ease deployment by providing |
| 6 | a consistent location for these objects. For example, if using uWSGI then |
| 7 | instead of: |
| 8 | |
| 9 | .. code-block:: ini |
| 10 | |
| 11 | [uwsgi] |
| 12 | wsgi-file = /bin/cyborg-api-wsgi |
| 13 | |
| 14 | You can now use: |
| 15 | |
| 16 | .. code-block:: ini |
| 17 | |
| 18 | [uwsgi] |
| 19 | module = cyborg.wsgi.api:application |
| 20 | |
| 21 | This also simplifies deployment with other WSGI servers that expect module |
| 22 | paths such as gunicorn. |
| 23 | deprecations: |
| 24 | - | |
| 25 | The cyborg-api-wsgi console script is deprecated for removal |
| 26 | in a future release. This artifact is generated using a setup-tools |
| 27 | extension that is provide by PBR which is also deprecated. |
| 28 | Due to the changes in python packaging this custom extensions |
| 29 | is planned to be removed form all OpenStack projects in a future |
| 30 | PBR release in favor of module based wsgi applications entry points. |