As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc and tests.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: Ibfb162f88cb04c0b2af3fbf41cfcd96bc7e351be
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit also adds python 3.7.
In Python3.7 async is a reserved keyword so replacing it with is_async.
[1] https://governance.openstack.org/tc/reference/runtimes/train.html
Change-Id: I05f40c4a9304cad551cefd4f10c3ba9a72d69a6f
Synchronise with default output from tox genconfig. Bring improvements
from monasca/monasca-docker repository.
Change-Id: I134a55610abe0cabc31881cee7c22b705d9e40ff
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