zaqar/releasenotes/notes/support-turnoff-deprecated-versions-44656aeb8ebb8881.yaml
Flavio Percoco f38cecfdfc Disable DEPRECATED API versions by default
API v1.0 has been deprecated for a while and v1.1 will be deprecated
soon. We shouldn't be enabling deprecated API versions by default. This
patch adds a decorator to disable deprecated APIs by default unless they
have been explicitly enabled in the environment.

Co-Authored-By: Fei Long Wang <flwang@catalyst.net.nz>

Change-Id: I62fb4d18bc6c9f5455bff0d56e42269b4590b454
2016-09-04 11:55:24 +12:00

8 lines
398 B
YAML

---
features:
- Currently, the v1 API is still accessible though it has been deprecated
for a while. And we're going to deprecate v1.1 soon. To keep the backward
compatibility, a new config option - ``enable_deprecated_api_versions``
is added so that operator can totally turn off an API version or still
support it by adding the API version to the list of the new config option.