ranger/orm/services/id_generator/config.py
hosingh000 c548c0ca31 Services pecan log Configuration – Debug Enabled/Disable
Switch to stestr

Change-Id: I6d268b3484b1107900b40a062010c540b61b04f6
2019-05-08 16:37:11 +00:00

26 lines
599 B
Python
Executable File

from orm import base_config as config
# Server Specific Configurations
server = {
'port': config.uuid['port'],
'host': config.orm_host,
'name': 'uuid'
}
# Pecan Application Configurations
app = {
'root': 'orm.services.id_generator.uuidgen.controllers.root.RootController',
'modules': ['orm.services.id_generator.uuidgen'],
'debug': config.pecan_debug,
}
app_module = app['modules'][0]
logging = config.get_log_config(config.uuid['log'], server['name'], app_module)
verify = config.ssl_verify
# DB configurations
database = {
'connection_string': config.db_connect
}