promenade/promenade/options.py
Samantha Blanco a3b79eabc0 Add policy to validatedesign
Adds policy enforcement to validatedesign and adds testing for
validatedesign endpoint. Also fixes error when raising
ValidationException.

Change-Id: Ie48fc49a05f7890866d2dd3480c4d6333ef3a087
2018-03-19 19:58:34 -04:00

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')