murano/murano/common
Ghanshyam Mann 1c87ebf9a8 [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.

CONF object needs to be initialized before policy enforcer(). That
need to remove cfg.CONF.unregister_opts from TestAuthUtils cleanup
as this is taken care by cfg.clear() with proper workflow otherwise
it end up with error
"oslo_config.cfg.ArgsAlreadyParsedError: arguments
already parsed: reset before unregistering options"

- https://b132754ee7062a9ab187-9add4719a9922a9385555a8552fc2366.ssl.cf5.rackcdn.com/768520/5/check/openstack-tox-py38/7964354/testr_results.html

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

Change-Id: I1b6c6485bc651fd0b87244a68204036dd4aa37f4
2021-03-07 17:50:48 -06:00
..
helpers Remove six murano/common 2020-04-17 18:52:59 -07:00
messaging Bump to hacking 1.1.0 2019-07-04 11:51:47 +00:00
plugins Replace six.iteritems() with .items() 2017-05-03 09:17:18 +00:00
policies Remove murano default policy.json 2017-06-16 03:07:49 +00:00
__init__.py Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
app_loader.py Modified docstrings to comply with pep8 H405 style check 2016-05-10 20:18:23 +00:00
auth_utils.py Using trustor's session to delete the trust 2019-01-23 10:56:53 +08:00
cf_config.py Use HostAddressOpt for opts that accept IP and hostnames 2017-03-23 10:03:25 +08:00
config.py [goal] Deprecate the JSON formatted policy file 2021-03-07 17:50:48 -06:00
consts.py Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
engine.py Use common rpc pattern for all services 2021-01-19 12:24:08 -08:00
exceptions.py Replace HTTP 415 return code to HTTP 406 when it's correct 2016-02-10 13:02:53 +03:00
i18n.py Update the documentation link for doc migration 2017-07-31 16:54:11 +08:00
policy.py [goal] Deprecate the JSON formatted policy file 2021-03-07 17:50:48 -06:00
rpc.py Use common rpc pattern for all services 2021-01-19 12:24:08 -08:00
server.py Use common rpc pattern for all services 2021-01-19 12:24:08 -08:00
statservice.py Implement environment audit reports 2017-08-24 10:11:35 +00:00
utils.py Merge "Remove six murano/dsl" 2020-04-20 01:58:19 +00:00
uuidutils.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2017-03-27 10:36:35 +08:00
wsgi.py Remove six murano/common 2020-04-17 18:52:59 -07:00
xmlutils.py Add bandit job to the pep8 gate for Murano 2017-04-27 23:22:20 +00:00