nova/nova/api/openstack/compute/schemas
Takashi NATSUME d74d764c15 Retrun 400 if invalid query parameters are specified
The following APIs return 500 error currently
if an invalid sort key or an invalid sort direction
query parameter is specified.

- GET /flavors
- GET /flavors/detail

Make the APIs return 400 error in that case.

Change-Id: I1d6d2c1f734b28dbea5c67cf88717149dd4911d7
Closes-Bug: #1835925
(cherry picked from commit ae7ebdf45e)
(cherry picked from commit d7e4e47d57)
(cherry picked from commit 7b216e08cf)
2019-08-13 08:55:27 +09:00
..
__init__.py Add API input validation framework 2013-11-27 05:45:37 +09:00
admin_password.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
agents.py Implement query param schema for agent index 2017-09-24 15:05:13 +00:00
aggregates.py fix nova accepting invalid availability zone name with ':' 2017-09-24 15:12:43 +09:00
assisted_volume_snapshots.py Implement query param schema for delete assisted vol 2017-11-27 10:27:52 -05:00
attach_interfaces.py API support for tagged device attachment 2017-06-30 09:05:34 +03:00
block_device_mapping.py Allow None for block_device_mapping_v2.boot_index 2017-02-08 17:08:07 -05:00
block_device_mapping_v1.py Fix BDM JSON-Schema validation 2016-12-21 23:54:06 -08:00
cells.py Fixed typos in nova, nova/api, nova/cells directory 2016-08-01 07:14:04 +00:00
config_drive.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
console_output.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
create_backup.py Let schema validate image metadata type and key lengths 2016-09-27 17:41:15 -04:00
evacuate.py API change for verifying the scheduler when evacuating 2016-06-02 15:03:39 +02:00
fixed_ips.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
flavor_access.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
flavor_manage.py Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
flavors.py Retrun 400 if invalid query parameters are specified 2019-08-13 08:55:27 +09:00
flavors_extraspecs.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
floating_ip_dns.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
floating_ips.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
floating_ips_bulk.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
fping.py Implement query param schema for fping index 2017-11-25 02:54:04 +00:00
hosts.py Implement query param schema for host index 2017-10-21 01:13:17 +00:00
hypervisors.py Implement query param schema for GET hypervisor(2.33) 2017-09-26 11:48:49 +03:00
image_metadata.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
instance_actions.py Add pagination and changes-since for instance-actions 2017-12-14 07:42:17 +00:00
keypairs.py Use JSON-Schema to validate query parameters for keypairs API 2017-01-04 17:10:20 +08:00
limits.py check query param for used_limits function 2017-10-30 17:31:16 +08:00
migrate_server.py Enable cold migration with target host(2/2) 2017-11-29 20:48:16 -05:00
migrations.py Add pagination and Changes-since filter support for os-migrations. 2018-01-10 14:02:53 -05:00
multinic.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
multiple_create.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
networks.py Limit the min length of string for integer JSON-Schema 2017-05-27 10:14:28 +00:00
networks_associate.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
quota_classes.py Deprecate file injection 2017-12-12 09:22:21 -05:00
quota_sets.py Deprecate file injection 2017-12-12 09:22:21 -05:00
remote_consoles.py Explicitly define enum type as string in schema 2017-04-21 03:09:28 +00:00
rescue.py Strict ImageRef validation to UUID only 2016-08-04 02:22:15 +00:00
reset_server_state.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
scheduler_hints.py api-ref: document caveats with scheduler hints 2017-10-30 16:14:28 -04:00
security_groups.py Implement query param schema for sec group APIs 2017-11-25 01:47:27 +00:00
server_external_events.py Add ability to signal and perform online volume size change 2017-07-12 11:53:20 -04:00
server_groups.py check query param for server groups function 2017-11-29 01:50:16 +08:00
server_metadata.py Remove 'v3' directory for v2.1 json-schemas 2015-08-13 09:58:48 +08:00
server_migrations.py Add new API to force live migration to complete 2016-02-08 08:59:52 +01:00
server_tags.py Move tags validation code to json schema 2016-12-13 02:58:51 +00:00
servers.py Merge server create schema for availability zone extension 2018-01-25 03:12:06 +00:00
services.py check query param for service's index function 2017-09-24 05:55:15 +08:00
simple_tenant_usage.py Implement query param schema for simple_tenant_usage 2017-11-22 19:46:32 +00:00
tenant_networks.py Limit the min length of string for integer JSON-Schema 2017-05-27 10:14:28 +00:00
user_data.py Move user_data max length check to schema 2017-10-09 18:22:17 -04:00
volumes.py Implement query param schema for volume, snapshot API 2017-11-19 16:15:39 +03:00