ranger/orm/tests/unit/rms/config.py
jh629g a41951c6f7 update policy.json
policy.json will be updated to become
monolithic under orm/ directory, maintaining
all previous rules. Also update policy.json to
allow for ranger project as an authorized project
to use for authing through ranger. Also removes
unused git classes.

Change-Id: I547cb601318b507f759c264644c781743673be72
2020-01-30 14:27:25 -06:00

49 lines
1.1 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": "3",
"policy_file": "etc/policy.json",
"user_domain_name": "default",
"project_domain_name": "default"
}