Add WSGI alias under ironic.wsgi.api

This is the OpenStack standard place for it, apparently. Even though
Ironic only has one WSGI server, we still need to add the extra module
layer.

Assisted-by: Claude code
Signed-off-by: Jay Faulkner <jay@jvf.cc>
Change-Id: Ia046124ede28991be6e1fe43b29819f2f28c8c9a
This commit is contained in:
Jay Faulkner
2025-09-18 13:37:36 -07:00
parent 247ae57a22
commit 65dd9a6601
2 changed files with 20 additions and 0 deletions

15
ironic/wsgi/api.py Normal file
View File

@@ -0,0 +1,15 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""WSGI API application alias for consistency with other OpenStack projects."""
from ironic.wsgi import application # noqa

View File

@@ -0,0 +1,5 @@
other:
- |
For consistency with other OpenStack projects, Ironic API's wsgi server can
now be launched via `ironic.wsgi.api:application` as well as
`ironic.wsgi:application`.