From 56fe735bc884871f1227342d09e484cf065e8c79 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 8 Mar 2024 15:04:58 +0900 Subject: [PATCH] Add back wsgi script generated by setuptools This reverts the removal of wsgi script generated by setuptools. Directly removing the script is backword-incompatible change for any deployment tools. The approach is still being discussed in [1]. Until we determine the consistent solution and appropriate transition plan, let's at least keep the existing script. [1] https://review.opendev.org/c/openstack/governance/+/902807 Change-Id: If7e13b39f348938232177c6e1eccf0056227f5b0 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 5724c4c77..0373745cb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,6 +30,9 @@ console_scripts = mistral-server = mistral.cmd.launch:main mistral-db-manage = mistral.db.sqlalchemy.migration.cli:main +wsgi_scripts = + mistral-wsgi-api = mistral.api.app:init_wsgi + mistral.rpc.backends = oslo_client = mistral.rpc.oslo.oslo_client:OsloRPCClient oslo_server = mistral.rpc.oslo.oslo_server:OsloRPCServer