This adds a wsgi entrypoint module which can be used with a wsgi runner, such as uwsgi, to launch Ironic API processes without the need of a separate script. The legacy WSGI script is currently being installed by PBR, and as part of the migration to a pyproject.yaml-compatible PBR, we cannot use the wsgi-scripts plugin anymore, and will be removing the script installed by it in a future Ironic release. The new WSGI script, because it has statements at the module top-level, cannot be autodocumented; we now exclude it. Also we don't treat all warnings as errors in pdf docs builds to allow the use of mock autosummary, starting with including the wsgi module. Co-Authored-By: Doug Goldstein <cardoe@cardoe.com> Change-Id: I584ac6a25c4e6cd9744a609b50d12b434a930dc6
5.5 KiB
5.5 KiB