monasca-api/monasca_api/common/policy
Ghanshyam Mann dea6f95c15 [goal] Deprecate the JSON formatted policy file
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
2021-02-02 14:36:06 +00:00
..
__init__.py Merge monasca-common code into the monasca-api 2019-07-26 14:08:31 +02:00
i18n.py Merge monasca-common code into the monasca-api 2019-07-26 14:08:31 +02:00
policy_engine.py [goal] Deprecate the JSON formatted policy file 2021-02-02 14:36:06 +00:00