Remove duplicated schemas from nailgun/objects

Bug #1487449 reported by Przemyslaw Kaminski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Artem Roma

Bug Description

Modules in nailgun/objects have unnecessary json schemas. They are used in such strange ways as validating fields in filter_by:

https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/objects/base.py#L61-L74

We already have json schemas in api/v1/validators/json_schemas, let's keep all such things there.

Revision history for this message
Przemyslaw Kaminski (pkaminski) wrote :
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Przemyslaw Kaminski (pkaminski)
status: New → In Progress
Revision history for this message
Andriy Popovych (popovych-andrey) wrote :
Changed in fuel:
assignee: Przemyslaw Kaminski (pkaminski) → Fuel Python Team (fuel-python)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: In Progress → Confirmed
Artem Roma (aroma-x)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Artem Roma (aroma-x)
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
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.