diff options
author | Ghanshyam Mann <gmann@ghanshyammann.com> | 2020-11-24 16:30:47 -0600 |
---|---|---|
committer | Dan Smith <dansmith@redhat.com> | 2021-01-29 15:31:47 -0800 |
commit | c107629f904a0a608aca98ed538b96e4f9349dd9 (patch) | |
tree | 989441d09eb30f8a0e4a079314d24321fa1d1a85 /requirements.txt | |
parent | cbc8519554362d49539e22dfe394c43df0448e11 (diff) | |
download | glance-c107629f904a0a608aca98ed538b96e4f9349dd9.tar.gz |
[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 convert the ./glance/tests/etc/policy.json to policy.yaml
file. 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
Depends-On: https://review.opendev.org/c/openstack/nova/+/773192
Change-Id: I17d0374dd4223688e5f95253802a4ae87377953a
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt index d45d13423..0417e186e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,10 +15,10 @@ sqlalchemy-migrate>=0.11.0 # Apache-2.0 sqlparse>=0.2.2 # BSD alembic>=0.9.6 # MIT httplib2>=0.9.1 # MIT -oslo.config>=5.2.0 # Apache-2.0 +oslo.config>=6.0.0 # Apache-2.0 oslo.concurrency>=3.26.0 # Apache-2.0 oslo.context>=2.22.0 # Apache-2.0 -oslo.upgradecheck>=0.1.0 # Apache-2.0 +oslo.upgradecheck>=1.3.0 # Apache-2.0 oslo.utils>=4.7.0 # Apache-2.0 stevedore!=3.0.0,>=1.20.0 # Apache-2.0 futurist>=1.2.0 # Apache-2.0 @@ -42,7 +42,7 @@ oslo.log>=3.36.0 # Apache-2.0 oslo.messaging>=5.29.0,!=9.0.0 # Apache-2.0 oslo.middleware>=3.31.0 # Apache-2.0 oslo.reports>=1.18.0 # Apache-2.0 -oslo.policy>=2.4.1 # Apache-2.0 +oslo.policy>=3.6.0 # Apache-2.0 retrying!=1.3.0,>=1.2.3 # Apache-2.0 osprofiler>=1.4.0 # Apache-2.0 |