c023e36802
When updating reservation values, the reservation ID is a required parameter. However, if the value of "reservation.id" is set to an empty string, null, or an incorrect UUID, Blazar currently returns a 200 OK response instead of a 400 Bad Request. This patch fixes it by raising an InvalidInput exception if an invalid value is passed for reservation.id. APIImpact: The response code is changed from 200 OK to 400 Bad Request if an invalid reservation ID is passed to the Update Lease API. Change-Id: I83e7c3cc0b6ca79aab2b8bb23ba82fceb96646e2 Closes-Bug: #1793743
21 lines
667 B
Plaintext
21 lines
667 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
|
|
|
ddt>=1.0.1 # MIT
|
|
mock>=2.0.0 # BSD
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
testscenarios>=0.4 # Apache-2.0/BSD
|
|
testtools>=2.2.0 # MIT
|
|
coverage!=4.4,>=4.0 # Apache-2.0
|
|
oslotest>=3.2.0 # Apache-2.0
|
|
oslo.context>=2.19.2 # Apache-2.0
|
|
|
|
# Documentation
|
|
reno>=2.5.0 # Apache-2.0
|
|
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
|
openstackdocstheme>=1.18.1 # Apache-2.0
|
|
os-api-ref>=1.4.0 # Apache-2.0
|