monasca-common/monasca_common
Ghanshyam Mann c491b34888 [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: Ibb26169656785330e7d86a362fd110222fb63a07
2021-02-02 17:44:35 +00:00
..
confluent_kafka Allow passing config options to Kafka producer 2019-11-18 11:06:12 +01:00
healthcheck Invalid kafka check script name 2016-04-05 06:17:46 +02:00
kafka Remove six 2020-11-23 15:20:59 +08:00
kafka_lib Remove six 2020-11-23 15:20:59 +08:00
monasca_query_language Remove six 2020-11-23 15:20:59 +08:00
policy [goal] Deprecate the JSON formatted policy file 2021-02-02 17:44:35 +00:00
repositories Updated pep8 checks 2018-04-04 14:39:41 +00:00
rest Remove six 2020-11-23 15:20:59 +08:00
simport TrivialFix: Remove logging import unused 2016-09-23 17:07:11 +07:00
tests Remove six 2020-11-23 15:20:59 +08:00
validation Remove six 2020-11-23 15:20:59 +08:00
__init__.py Remove unnecessary executable permissions 2016-05-24 09:28:30 +02:00