monasca-api/monasca_api
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
..
api Update hacking for Python3 2020-04-22 07:37:55 +00:00
cmd [goal] Deprecate the JSON formatted policy file 2021-02-02 14:36:06 +00:00
common [goal] Deprecate the JSON formatted policy file 2021-02-02 14:36:06 +00:00
conf Set legacy_kafka_client_enabled = False on default 2020-07-14 16:15:23 +02:00
db Stop to use the __future__ module. 2020-06-02 20:24:41 +02:00
expression_parser Update hacking for Python3 2020-04-22 07:37:55 +00:00
hacking Update hacking for Python3 2020-04-22 07:37:55 +00:00
healthcheck Skip authentication for version and healthcheck endpoints 2018-11-20 14:12:53 +01:00
policies Merge log-api and api 2019-09-26 12:02:20 +02:00
tests [goal] Deprecate the JSON formatted policy file 2021-02-02 14:36:06 +00:00
v2 Merge "Update hacking for Python3" 2020-04-23 11:08:18 +00:00
__init__.py Updated for Falcon 0.2 and clean-up 2015-06-06 21:47:03 -06:00
config.py Support standard config file path for monasca-api 2019-01-08 12:17:05 +01:00
healthchecks.py Using oslo.policy for monasca-api 2018-06-05 12:25:07 +00:00
version.py Prepare foundation for doc migration 2017-07-31 10:43:49 +00:00