
The wsgi_script feature is being removed because of some changes in underlying python packaging tooling. This makes aodh to vendor the wsgi module which can be used instead of the wsgi script, according to the proposed community goal[1]. The existing wsgi scripts are kept now for smooth transition. The exsiting app.wsgi file is deprecated in favor of the new wsgi module to follow the standard pattern to vendor the wsgi module. [1] https://review.opendev.org/c/openstack/governance/+/902807 Change-Id: I7ce471c7fbce960ba92bfd18203a73454088314e
37 lines
997 B
Plaintext
37 lines
997 B
Plaintext
# turn on all the aodh services by default
|
|
# API service
|
|
enable_service aodh-api
|
|
# Alarming
|
|
enable_service aodh-notifier aodh-evaluator
|
|
# Listener for Event Alarming
|
|
enable_service aodh-listener
|
|
|
|
# Default directories
|
|
AODH_DIR=$DEST/aodh
|
|
AODH_CONF_DIR=/etc/aodh
|
|
AODH_CONF=$AODH_CONF_DIR/aodh.conf
|
|
AODH_UWSGI_CONF=$AODH_CONF_DIR/aodh-uwsgi.ini
|
|
AODH_UWSGI=aodh.wsgi.api:application
|
|
|
|
# Set up database backend
|
|
AODH_BACKEND=${AODH_BACKEND:-mysql}
|
|
|
|
# Aodh connection info.
|
|
AODH_SERVICE_PROTOCOL=http
|
|
AODH_SERVICE_HOST=${AODH_SERVICE_HOST:-$SERVICE_HOST}
|
|
AODH_SERVICE_PORT=${AODH_SERVICE_PORT:-8042}
|
|
|
|
AODH_NOTIFICATION_TOPICS=${AODH_NOTIFICATION_TOPICS:-notifications}
|
|
|
|
AODH_COORDINATION_URL=${AODH_COORDINATION_URL:-}
|
|
|
|
# Set up default directories for client
|
|
GITDIR["python-aodhclient"]=$DEST/python-aodhclient
|
|
GITREPO["python-aodhclient"]=$GIT_BASE/openstack/python-aodhclient.git
|
|
|
|
# Get rid of this before done.
|
|
# Tell emacs to use shell-script-mode
|
|
## Local variables:
|
|
## mode: shell-script
|
|
## End:
|