nova/nova/tests/functional/api/openstack
Chris Dent 10f8a9aa12 [placement] Require at least one resource class in allocation
If an allocation was made with an empty resources object, a 500 response
code would result. This change adjusts the schema to use minProperties
of 1 to say there must be at least one resource class and value pair in
the allocation. If there is not a 400 response is returned.

As this is fixing 500 response to a useful error, no microversion is
required. A previous gabbi file which demonstrated the problem has been
updated to demonstrate that the problem has been fixed.

Change-Id: I7d9c64c77586564fb3bdbe92c693bd2a1bc06f24
Closes-Bug: #1714072
2017-08-31 00:38:42 +00:00
..
placement [placement] Require at least one resource class in allocation 2017-08-31 00:38:42 +00:00
__init__.py Add initial framing of placement API 2016-07-29 10:31:36 +00:00