a3b79eabc0
Adds policy enforcement to validatedesign and adds testing for validatedesign endpoint. Also fixes error when raising ValidationException. Change-Id: Ie48fc49a05f7890866d2dd3480c4d6333ef3a087
14 lines
364 B
Python
14 lines
364 B
Python
from oslo_config import cfg
|
|
import keystoneauth1.loading
|
|
|
|
OPTIONS = []
|
|
|
|
|
|
def setup(disable_keystone=False):
|
|
cfg.CONF([], project='promenade')
|
|
cfg.CONF.register_opts(OPTIONS)
|
|
if disable_keystone is False:
|
|
cfg.CONF.register_opts(
|
|
keystoneauth1.loading.get_auth_plugin_conf_options('password'),
|
|
group='keystone_authtoken')
|