Nailgun validators should be splitted and moved from handlers

Registered by Nikolay Markov

Currently we validate all business logic in HTTP validators. That's not quite right. I think, the proper way is leaving only JSON schema validation (without any DB queries) in HTTP validators and move all DB-related logic to object validators, which will check arguments of almost each method.

This will also allow modifying objects through shell without worrying about business logic validation.

Blueprint information

Status:
Not started
Approver:
Nikolay Markov
Priority:
Undefined
Drafter:
Nikolay Markov
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
Accepted for future
Implementation:
Not started
Milestone target:
milestone icon next

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/nailgun-validators-to-objects,n,z

Addressed by: https://review.openstack.org/94367
    New project structure for OS-like API versioning

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.