ranger/orm/tests/unit/rms/config.py
Nicholas Jones 6c4535da9d Move rms tests to top level folder
Moves unit tests under the rms directory to the root test directory

Change-Id: Idcb2d89f46669772328adb175f94a8d8bfa0ecaa
2017-09-12 14:07:08 -05:00

47 lines
1.0 KiB
Python
Executable File

# Server Specific Configurations
server = {
'port': '8080',
'host': '0.0.0.0'
}
# Pecan Application Configurations
app = {
'root': 'orm.services.region_manager.rms.controllers.root.RootController',
'modules': ['orm.services.region_manager.rms'],
'static_root': '%(confdir)s/../../public',
'template_path': '%(confdir)s/../templates',
'debug': True,
'errors': {
'404': '/error/404',
'__force_dict__': True
}
}
endpoints = {
'lcp': 'http://127.0.0.1:8082/lcp'
}
# user input validations
region_options = {
'allowed_status_values': [
'functional',
'maintenance',
'down'
],
'endpoints_types_must_have': [
'dashboard',
'identity',
'ord'
]
}
authentication = {
"enabled": True,
"mech_id": "admin",
"mech_pass": "stack",
"tenant_name": "admin",
# The Keystone version currently in use. Can be either "2.0" or "3"
"keystone_version": "2.0",
"policy_file": "/opt/app/orm/rms/rms/etc/policy.json"
}