magnum/magnum/api
Bharat Kunwar 0e6d178939 Only allow zero node count from microversion 1.10
At present, all clients can request resize of cluster nodes to zero.
This PS ensures that only requests with 1.10 microversion header or more
are fulfilled.

Story: 2007851
Task: 41841

Additionally, unit tests are also included to ensure that the
microversions are respected for create, update and resizing clusters
with zero node count.

Additionally, unit tests for the following APIs are tested explictly:
- resize API with microversion 1.7
- upgrade API with microversion 1.8
- nodegroup API with microversion 1.9

Story: 2005054
Task: 41840

Change-Id: Iba9d619d2e92abcbaa3eca5da68f5e0f203dea8d
2021-02-16 14:04:36 +00:00
..
controllers Only allow zero node count from microversion 1.10 2021-02-16 14:04:36 +00:00
middleware Update hacking for Python3 2020-03-31 20:09:46 +02:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
app.py api: Do not guess based on name extension 2020-05-26 16:31:00 +00:00
app.wsgi Add app.wsgi to target of pep8 2017-11-18 01:27:34 -08:00
attr_validator.py Fix validation for master_lb_enabled 2021-01-05 16:28:10 +00:00
config.py Fix api access with public acl routes 2016-02-29 13:59:20 +08:00
expose.py Drop XML support in Magnum 2015-07-13 20:03:23 -05:00
hooks.py Add support for www_authenticate_uri in ContextHook 2018-12-06 20:07:23 +00:00
http_error.py Update api-ref location 2019-07-22 18:30:23 +02:00
rest_api_version_history.rst Update API version history doc 2021-02-05 14:28:09 +00:00
servicegroup.py Remove the usage of MagnumObjectDictCompat from magnum_service 2017-01-06 03:25:28 +00:00
utils.py Labels override 2020-05-13 08:07:29 +00:00
validation.py [k8s] Support updating k8s cluster health status 2020-04-09 16:59:26 +12:00
versioned_method.py Fix some typos 2017-02-16 00:20:01 -08:00