The previous patch to add support for apache breaks gunicorn. The gunicorn
setup loads the mistral.api.wsgi module and requires the application
variable be assigned. The support for apache make the assumption that the
mistral.api.wsgi be called as a python script. This patch moves the init
function required by apache to a different location.
Reviewed: https:/ /review. openstack. org/463870 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=b6de4720db0 c0e23ac2bd6d26b 585c8dc8ca612d
Committed: https:/
Submitter: Jenkins
Branch: master
commit b6de4720db0c0e2 3ac2bd6d26b585c 8dc8ca612d
Author: Winson Chan <email address hidden>
Date: Wed May 10 21:31:42 2017 +0000
Fix WSGI script for gunicorn
The previous patch to add support for apache breaks gunicorn. The gunicorn api.wsgi be called as a python script. This patch moves the init
setup loads the mistral.api.wsgi module and requires the application
variable be assigned. The support for apache make the assumption that the
mistral.
function required by apache to a different location.
Change-Id: Ib5af50a55d3f3b b9d0fa0d1ee6b8e 7564f909d70
Closes-Bug: #1689943