Cleanup Validation

Registered by Graham Hayes

Today, validations are duplicated between the V1 and V2 APIs, and validations
will be required in additional places going forward (Inbound AXFR, DynamicDNS
etc). Centralizing these validations into the Designate Objects provides a
single re-usable home for all entry points to use.

Blueprint information

Status:
Complete
Approver:
Designate Drivers
Priority:
Medium
Drafter:
Graham Hayes
Direction:
Needs approval
Assignee:
Graham Hayes
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
Graham Hayes
Completed by
Kiall Mac Innes

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/validation-cleanup,n,z

Addressed by: https://review.openstack.org/160552
    Create ObjectAdaptorMixin and API Mixins

Addressed by: https://review.openstack.org/160553
    Move Zones to ObjectAdaptorMixin for API interactions

Addressed by: https://review.openstack.org/161340
    Create DesignateAdapter and surrounding infrastructure

Addressed by: https://review.openstack.org/161341
    Move Zones to DesignateAdapter for APIv2 interactions

Addressed by: https://review.openstack.org/161342
    Move RecordSets to DesignateAdapter for APIv2 interactions

Addressed by: https://review.openstack.org/163131
    Added Schemas to DesignateObjects

Addressed by: https://review.openstack.org/164241
    Added ValidationErrorMiddleware

Addressed by: https://review.openstack.org/164326
    Move the DesignateAdapter to return non-wrapped objects

Addressed by: https://review.openstack.org/164327
    Add API_v2 Adapter Objects

Addressed by: https://review.openstack.org/164328
    Add API_v1 Adapter Objects

Addressed by: https://review.openstack.org/165453
    Added FloatingIP object to DesignateObjects

Addressed by: https://review.openstack.org/166982
    Validation Error Middleware does translation of keys to new format

Addressed by: https://review.openstack.org/166983
    Replace API_v2 views with Adapters

Gerrit topic: https://review.openstack.org/#q,topic:bp/bp,n,z

Addressed by: https://review.openstack.org/167672
    Add _to_string() methods on RRData Objects.

Addressed by: https://review.openstack.org/167600
    Add Schema to RRData Objects

Addressed by: https://review.openstack.org/168075
    Correct Pool Object

Addressed by: https://review.openstack.org/169044
    Enable Record Data Validation in v2 API

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.