nova/nova/api/openstack
Chris Dent 0fc4f95914 [placement] disallow additional fields in allocations
Back in microversion 1.12, when the allocations structure was extended
to allow project_id and user_id on PUT /allocations/{uuid},
"additionalProperties" was not set in the JSON schema, so it has been
possible since then to include unused fields in the input. The schema
was then reused in the creation of subsequent schema for new
microversions and for new URIs, such as POST /allocations and the
forthcoming /reshaper.

This change fixes it by fixing the old microversion. This is the "just
fix it" option from the discussion on the associated bug. The other
option is to create a new microversion that corrects the behavior. This
is more complex than it might initially sound because of the way in
which the original schema is used to compose new ones.

Change-Id: Ied464744803864e61a45e03c559760a8a2e2581f
Closes-Bug: #1782340
2018-07-19 10:46:13 +01:00
..
compute Merge "API: add support to abort queued live migration in microversion 2.65" 2018-07-18 17:45:24 +00:00
placement [placement] disallow additional fields in allocations 2018-07-19 10:46:13 +01:00
__init__.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00
api_version_request.py API: add support to abort queued live migration in microversion 2.65 2018-07-16 13:57:11 -04:00
auth.py Noauth should also use request_id from compute_req_id.py 2018-04-04 14:21:01 -04:00
common.py conf: Remove deprecated 'allow_instance_snapshots' opt 2018-03-12 14:40:11 +00:00
identity.py Adapter raise_exc=False by default 2018-06-22 09:40:33 -05:00
requestlog.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00
urlmap.py Use of six.PY3 should be forward compatible 2016-01-17 03:32:34 +00:00
versioned_method.py Implement microversion support on api methods 2014-12-05 09:54:41 +08:00
wsgi.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00
wsgi_app.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00