Commit Graph

6 Commits

Author SHA1 Message Date
Ghanshyam Mann b5edbcbb6e [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: I9028875399b54ab961ae46ca13f9cf6e6fc7ad89
2020-12-25 15:39:08 +00:00
Erik Olof Gunnar Andersson 01eff94b76 Centralized configuration
Based upon the established conf paradigm used in Nova,
this patch moves the configuration to a central location.
Making config a lot easier to manage, as well a lot easier
to locate.

Additional changes
* Fixed missing notification section in example config.
* Moved external configs to generator config (e.g. osprofiler)

Change-Id: I8bca356768bd710d28361b50754ddcc249a32428
2019-12-03 11:08:44 -08:00
gaobin b421f39bde Minor error
Change-Id: Ifadcd638e10266ce0394770e02ee0f61cc59087d
2018-11-06 09:42:33 +08:00
Yuanbin.Chen c31f2c219c Fix documents title format error
Change-Id: If58658785d4fdf4e108e87a6233c873ad18b9c1a
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-02-27 17:37:32 +08:00
Dai Dang Van 4928a74a7d Implement policy in code - reno and doc (end)
- Add release note for supporting policy in code [1].
- Add documentation about policy file.

[1] https://governance.openstack.org/tc/goals/queens/policy-in-code.html

Change-Id: I6c05af32240f4a7484043a7da38d346fcffd04f3
Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
2017-10-20 09:59:23 +00:00
tengqm edf75cf9f2 Prepare for doc migration
This restructures the doc/source directory for doc migration.

Change-Id: I4c91096fbc94a2e6d8c76d1d8df8ae5ca86a98cc
Related-Bug: #1706186
2017-07-25 23:13:56 -04:00