Merge "Add keystone parameters to authenticate webhook notifications"

This commit is contained in:
Zuul 2018-08-09 09:42:39 +00:00 committed by Gerrit Code Review
commit 471c0fb8ce
2 changed files with 11 additions and 0 deletions

View File

@ -122,3 +122,13 @@ logging: # Used in logging.dictConfig
statsd:
host: 'localhost'
port: %MONASCA_STATSD_PORT%
keystone:
auth_required: False
auth_url: '%KEYSTONE_URL%'
username: 'admin'
password: 'password'
project_name: 'admin'
user_domain_name: 'default'
project_domain_name: 'default'
auth_type: 'password'

View File

@ -102,6 +102,7 @@ configure_monasca-notification() {
s|%MONASCA_STATSD_PORT%|${MONASCA_STATSD_PORT}|g;
s|%MONASCA_NOTIFICATION_LOG_DIR%|${MONASCA_NOTIFICATION_LOG_DIR}|g;
s|%GRAFANA_URL%|http:\/\/${SERVICE_HOST}:3000|g;
s|%KEYSTONE_URL%|http:\/\/${SERVICE_HOST}\/identity\/v3|g;
" -i ${MONASCA_NOTIFICATION_CONF}
sudo install -d -o ${STACK_USER} ${MONASCA_NOTIFICATION_GATE_CFG_LINK}