Files
freezer-api/setup.cfg
Ghanshyam Mann e02a492817 [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: I066488c47e1bb6502b27b8677988113f66b9b09b
2021-03-08 19:52:30 -06:00

61 lines
2.0 KiB
INI

[metadata]
name = freezer-api
summary = OpenStack Backup and Restore API Service
description-file = README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
license = Apache-2
home-page = https://docs.openstack.org/freezer/latest/
python-requires = >=3.6
classifier =
Environment :: OpenStack
Programming Language :: Python
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.8
Development Status :: 5 - Production/Stable
Natural Language :: English
Intended Audience :: Developers
Intended Audience :: Financial and Insurance Industry
Intended Audience :: Information Technology
Intended Audience :: System Administrators
Intended Audience :: Telecommunications Industry
License :: OSI Approved :: Apache Software License
Operating System :: MacOS
Operating System :: POSIX :: BSD :: FreeBSD
Operating System :: POSIX :: BSD :: NetBSD
Operating System :: POSIX :: BSD :: OpenBSD
Operating System :: POSIX :: Linux
Operating System :: Unix
Topic :: System :: Archiving :: Backup
Topic :: System :: Archiving :: Compression
Topic :: System :: Archiving
[files]
packages =
freezer_api
[entry_points]
oslo.config.opts =
freezer-api = freezer_api.common.config:list_opts
oslo.config.opts.defaults =
freezer-api = freezer_api.common.config:set_lib_defaults
oslo.policy.policies =
freezer-api = freezer_api.common.policies:list_rules
console_scripts =
freezer-api = freezer_api.cmd.api:main
freezer-manage = freezer_api.cmd.manage:main
freezer-manager-status = freezer_api.cmd.status:main
wsgi_scripts =
freezer-api-wsgi = freezer_api.service:initialize_app
freezer.db.backends =
sqlalchemy = freezer_api.db.sqlalchemy.driver:SQLDriver
elasticsearch = freezer_api.db.elasticsearch.driver:ElasticSearchDB
[pytests]
where=tests
verbosity=2