File: deprecate-policy-file-json-format-e1921f15b5d00287.yaml

package info (click to toggle)
python-oslo.policy 4.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,012 kB
  • sloc: python: 6,099; makefile: 23; sh: 20
file content (12 lines) | stat: -rw-r--r-- 593 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
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.