magnum/magnum/tests
Ghanshyam Mann e0045705f4 [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.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Icfd9e2a75d8fdfb24cbd1c850f498aadee91f543
2021-02-11 12:53:53 -06:00
..
contrib [goal] Deprecate the JSON formatted policy file 2021-02-11 12:53:53 -06:00
functional Use oslo_serialization instead of the json module directly 2019-01-21 16:28:03 -08:00
unit [goal] Deprecate the JSON formatted policy file 2021-02-11 12:53:53 -06:00
__init__.py Remove redundant FunctionalTest class 2015-07-15 03:39:11 +08:00
base.py Use unittest.mock instead of third party mock 2020-04-29 17:10:23 +03:00
conf_fixture.py Centralize config option: trust section 2016-09-22 05:57:46 +00:00
fake_notifier.py Emit notifications when bay operations get executed 2016-05-19 15:29:56 +08:00
fakes.py Use unittest.mock instead of third party mock 2020-04-29 17:10:23 +03:00
output_fixture.py ci: Add output stream fixture to fix CI 2019-10-01 10:34:55 +00:00
policy_fixture.py [goal] Deprecate the JSON formatted policy file 2021-02-11 12:53:53 -06:00
utils.py Remove redundant code from magnum.test.utils 2015-07-20 21:53:12 +08:00