Octavia uses wsme library to validate the request bodies, it is deprecated

Registered by Pradeep Kumar Singh on 2017-06-06

Currently octavia uses wsme to validate input parameters which is no longer maintained[1][2]

[1] http://osdir.com/ml/openstack-dev/2016-01/msg00987.html
[2] https://openstack.nimeyo.com/76822/openstack-dev-all-reminder-wsme-being-actively-maintained

One option is to use jsonschema (https://pypi.python.org/pypi/jsonschema). A jsonschema validator object can be used to check each resource against an appropriate schema for that resource. If the validation passes, the request can follow the existing flow of control to the resource manager to the backend. If the request body parameters fail the validation specified by the resource schema, a validation error will be returned from the server.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Pradeep Kumar Singh
Direction:
Needs approval
Assignee:
Pradeep Kumar Singh
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.