96e13dad75
api-config.conf is the deprecated path for the configuration file. The new path is /etc/monasca/monasca-api.conf . Story: 2004708 Task: 28987 Change-Id: If06d9114529c3ef4520247dfc7c32d3769f07084
634 B
634 B
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
).