Nicholas Jones 8eae8053a4 Add oslo_config and oslo_log to Ranger
Adds basic functionality for oslo_config and oslo_log to Ranger uuidgen

Change-Id: I041e4e2013fec83d3ff0b5befc581a455cb04ffe
2017-11-07 08:10:49 -06:00

29 lines
593 B
Python
Executable File

from oslo_config import cfg
CONF = cfg.CONF
# Server Specific Configurations
server = {
'port': CONF.uuid.port,
'host': CONF.api.host
}
# Pecan Application Configurations
app = {
'root': 'orm.services.id_generator.uuidgen.controllers.root.RootController',
'modules': ['orm.services.id_generator.uuidgen'],
'debug': True,
}
verify = CONF.api.ssl_verify
database = {
'connection_string': CONF.database.connection + '/orm'
}
# Custom Configurations must be in Python dictionary format::
#
# foo = {'bar':'baz'}
#
# All configurations are accessible at::
# pecan.conf