diff options
Diffstat (limited to 'releasenotes/notes/deprecate-policy-file-json-format-e1921f15b5d00287.yaml')
-rw-r--r-- | releasenotes/notes/deprecate-policy-file-json-format-e1921f15b5d00287.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/releasenotes/notes/deprecate-policy-file-json-format-e1921f15b5d00287.yaml b/releasenotes/notes/deprecate-policy-file-json-format-e1921f15b5d00287.yaml new file mode 100644 index 0000000..b02a9d8 --- /dev/null +++ b/releasenotes/notes/deprecate-policy-file-json-format-e1921f15b5d00287.yaml @@ -0,0 +1,12 @@ +--- +deprecations: + - | + ``policy_file`` support for JSON formatted file is deprecated. Use + YAML formatted file which will be default in future. + Use `oslopolicy-convert-json-to-yaml <https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html>`_ + tool to convert the existing JSON to YAML formatted policy file in + backward compatible way. + + JSON format support and ``--format`` option in ``oslopolicy-sample-generator`` + and ``oslopolicy-policy-upgrade`` tools are also deprecated. In future + release, ``--format`` option will be removed. |