2015-11-15 18:53:00 +00:00
|
|
|
# Set up default directories
|
|
|
|
#---------------------------
|
|
|
|
|
|
|
|
ZAQAR_DIR=$DEST/zaqar
|
|
|
|
ZAQARCLIENT_DIR=$DEST/python-zaqarclient
|
|
|
|
ZAQAR_CONF_DIR=/etc/zaqar
|
|
|
|
ZAQAR_CONF=$ZAQAR_CONF_DIR/zaqar.conf
|
|
|
|
ZAQAR_POLICY_CONF=$ZAQAR_CONF_DIR/policy.json
|
|
|
|
ZAQAR_UWSGI_CONF=$ZAQAR_CONF_DIR/uwsgi.conf
|
|
|
|
ZAQAR_UWSGI_MASTER_PIDFILE=/tmp/uwsgizaqarmasterprocess.pid
|
|
|
|
ZAQAR_API_LOG_DIR=/var/log/zaqar
|
|
|
|
ZAQAR_API_LOG_FILE=$ZAQAR_API_LOG_DIR/queues.log
|
|
|
|
ZAQAR_AUTH_CACHE_DIR=${ZAQAR_AUTH_CACHE_DIR:-/var/cache/zaqar}
|
|
|
|
|
|
|
|
# Support potential entry-points console scripts
|
|
|
|
ZAQAR_BIN_DIR=$(get_python_exec_prefix)
|
|
|
|
|
|
|
|
# Set up database backend
|
|
|
|
ZAQAR_BACKEND=${ZAQAR_BACKEND:-mongodb}
|
|
|
|
|
|
|
|
# Set Zaqar repository
|
|
|
|
ZAQAR_REPO=${ZAQAR_REPO:-${GIT_BASE}/openstack/zaqar.git}
|
|
|
|
ZAQAR_BRANCH=${ZAQAR_BRANCH:-master}
|
|
|
|
|
|
|
|
# Set client library repository
|
|
|
|
ZAQARCLIENT_REPO=${ZAQARCLIENT_REPO:-${GIT_BASE}/openstack/python-zaqarclient.git}
|
|
|
|
ZAQARCLIENT_BRANCH=${ZAQARCLIENT_BRANCH:-master}
|
|
|
|
|
2016-10-08 06:24:00 +00:00
|
|
|
# Set Zaqar UI repository
|
2016-11-11 02:13:58 +00:00
|
|
|
ZAQARUI_DIR=$DEST/zaqar-ui
|
2016-10-08 06:24:00 +00:00
|
|
|
ZAQARUI_REPO=${ZAQARUI_REPO:-${GIT_BASE}/openstack/zaqar-ui.git}
|
|
|
|
ZAQARUI_BRANCH=${ZAQARUI_BRANCH:-$ZAQAR_BRANCH}
|
|
|
|
|
2015-11-15 18:53:00 +00:00
|
|
|
# Set Zaqar Connection Info
|
|
|
|
ZAQAR_SERVICE_HOST=${ZAQAR_SERVICE_HOST:-$SERVICE_HOST}
|
|
|
|
ZAQAR_SERVICE_PORT=${ZAQAR_SERVICE_PORT:-8888}
|
|
|
|
ZAQAR_WEBSOCKET_PORT=${ZAQAR_WEBSOCKET_PORT:-9000}
|
|
|
|
ZAQAR_SERVICE_PROTOCOL=${ZAQAR_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
|
2016-06-08 14:06:28 +00:00
|
|
|
# Set Zaqar trust configuration
|
|
|
|
ZAQAR_TRUSTEE_USER=${ZAQAR_TRUSTEE_USER:-zaqar}
|
|
|
|
ZAQAR_TRUSTEE_PASSWORD=${ZAQAR_TRUSTEE_PASSWORD:-$SERVICE_PASSWORD}
|
|
|
|
ZAQAR_TRUSTEE_DOMAIN=${ZAQAR_TRUSTEE_DOMAIN:-default}
|
|
|
|
|
2017-09-18 09:37:54 +00:00
|
|
|
GITREPO["zaqar-tempest-plugin"]=${ZAQARTEMPEST_REPO:-${GIT_BASE}/openstack/zaqar-tempest-plugin.git}
|
|
|
|
GITBRANCH["zaqar-tempest-plugin"]=${ZAQARTEMPEST_BRANCH:-master}
|
|
|
|
GITDIR["zaqar-tempest-plugin"]=$DEST/zaqar-tempest-plugin
|
|
|
|
|
2015-07-15 14:17:10 +00:00
|
|
|
enable_service zaqar-websocket zaqar-wsgi
|