Adapt v2 links to match jsonschema draft

Registered by Mark Washenberger

The jsonschema draft document specifies link description objects as part of a schema document. A link description object defines a format for inferring link relations from the attributes of a document that is an instance of such a schema. Instead of following this format, the present glance v2 api follows the openstack compute api example of embedding link description objects directly in non-schema documents. This blueprint proposes changing version two of the glance api to adopt the jsonschema canonical approach.

Blueprint information

Status:
Complete
Approver:
Brian Waldon
Priority:
Essential
Drafter:
Mark Washenberger
Direction:
Approved
Assignee:
Mark Washenberger
Definition:
Approved
Series goal:
Accepted for folsom
Implementation:
Implemented
Milestone target:
milestone icon 2012.2
Started by
Brian Waldon
Completed by
Brian Waldon

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/api-v2-links,n,z

Addressed by: https://review.openstack.org/8619
    Add link descriptor objects to schemas

Gerrit topic: https://review.openstack.org/#q,topic:image-tag-schemas-final,n,z

Addressed by: https://review.openstack.org/8492
    Move the particulars of v2 schemas under v2

Gerrit topic: https://review.openstack.org/#q,topic:image-access-records,n,z

Gerrit topic: https://review.openstack.org/#q,topic:copy-links,n,z

Addressed by: https://review.openstack.org/8702
    Added schema links logic to image resources

Addressed by: https://review.openstack.org/10554
    Modify links in v2 api root resource.

Addressed by: https://review.openstack.org/10623
    Add in missing image collection schema link.

Addressed by: https://review.openstack.org/10630
    Fix dead link to image access collection schema

Addressed by: https://review.openstack.org/10694
    Add links to image access schema

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.