Monasca REST API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Bechtold 9066b6982b Add keystonemiddleware to oslo-config-generator conf 2 months ago
..
README.rst Replace api-config.conf with monasca-api.conf 3 months ago
__init__.py Config-generator for monasca-api 1 year ago
monasca-api.conf Add keystonemiddleware to oslo-config-generator conf 2 months ago
policy.conf Improve docs about configuring oslo.policy 6 months ago

README.rst

config-generator

To generate sample configuration file execute:

tox -e genconfig

To generate the sample policies execute:

tox -e genpolicy

After generation you will have sample available in etc/api-policy.yaml.sample. It contains default values for all policies. After you change it to suit your needs you will need to change monasca-api configuration to look for the new policy configuration with specific file name. Head to monasca-api.conf file and then you will need to replace in [oslo_policy] section policy_file to your desired file name (like api-policy.yaml).