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
We don't support Python 2 anymore so we don't need this
compatibility library.
Convert six usage to Python3 code.
Change-Id: Iadf47e805c8d0dd32239456e69d8fdc78f77f30d
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
Change-Id: I9a9da22aef5ff16f9a1ea462e7e1543d5099399b
oslo project provide jsonutils, and the others project use it now,
this PS to update json moudule to oslo jsonutils for consistency.
Change-Id: Ifbf7b16e7c81dc0f85b07b77599ab4e404f2cdd4
This adds basic framework for freezer-manager-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.
Change-Id: I21d4c7ff5e659b332d6692352d996b3216b56bc9
Story: 2003657
Task: 26129
Moving freezer-api to oslo.policy and modified freezer context
to be injected through paste configuration
Change-Id: I20b9ac48cf3419015ff54f6c57de5f00c8e6d5f2
Implements: blueprint switch-freezer-api-oslo-policy
Need oslo.middleware to run a simple instance.
Use oslo.middleware version from openstack/requirements repo
in global-requirements.txt file.
Change-Id: I9f3ed506c6a142580538c5b1e2508382dd13cab1
Start using Paste and Paste deploy for providing some flexability
to system administrator while deploying freezer-api.
Implements blueprint move-to-paste
Change-Id: I3f68a98ae7822495627791edb5be125556ff0b98
Switch freezer-api to use oslo.context to enhance the logging and
check for admin functions through the FreezerContext
Implements: blueprint use-oslo-context
Change-Id: I4fe9a1abb85a797f9d67d16d60bf11b4b0d342e5
Depends-on: Id3648a67298a680162e1311c1f7953b25e60af77
Switching freezer-api to oslo config opts and oslo logging opts to
follow Openstack standards and benfit from oslo libraries
Change-Id: I1b97db2e02087dccca3be25246c275d4e778094f
Implements: blueprint switch-api-to-oslo-config
Align to the other Openstack project and
use testr instead of pytest
Includes:
- pylint and pep8 fixes.
- py34 compliance
- requirements updated
- updated path to dsvm gate job
Change-Id: I10a5ea8d581029eba8f3ab5e016a1dd1919fa117
Depends-On: I4f9050cd551e87d2e398b6f94dc904154d0b1b13
Now requirements.txt and test-requirements.txt are
aligned to global-requirements.txt of stable/Liberty.
Testing requirements are now move to test-requirements.txt
from tox.ini
Also the author, author-email and home-page are now update to
reflect Freezer Team and openstack-dev ml.
Change-Id: I27f2ea875778f19d2ffb542b9b8fbf29d1a740fe
The latest version of falcon might not be available
in some deployment environment.
The requirement now is limited to falcon version <0.2.0
Change-Id: I9eba7758b73bc67abb7d0d120ac332316b3a1a77