validation of API input parameters

Bug #1642520 reported by Seeni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Valence
Fix Committed
High
Anusha

Bug Description

We could implements a set of standard validation functions to check the inputs
of valence APIs.

for example, criteria is mandatory for compose, if criteria is absent in the parameter now, an error will raise at PODM side. Rather we could implement parameter validation at API part.

Seeni (snivas)
summary: - validation of input parameters for APIs
+ validation of API input parameters
Revision history for this message
Seeni (snivas) wrote :

As the flask reqparse is slated for removal, shall we use voluptuous/schema/valideer or to have our own?

Revision history for this message
Lin Yang (lin-a-yang) wrote :

Use schema to validate those parameters sounds great to me.

Lin Yang (lin-a-yang)
Changed in openstack-valence:
importance: Undecided → High
Anusha (anusha-iiitm)
Changed in openstack-valence:
assignee: nobody → Anusha (anusha-iiitm)
Anusha (anusha-iiitm)
Changed in openstack-valence:
status: New → In Progress
Anusha (anusha-iiitm)
Changed in openstack-valence:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.