Refactor api v2 schemas
In the glance v2 api, schemas are used to communicate the expected format and attributes of image objects, access record objects, and image tags. These schemas are specific to v2. They are not used by v1 and would likely be changed in any future version. However, they presently live in project-global namespace. And they are served up by a single monolithic API object which is therefore required to know about all schemas.
This blueprint proposes to refactor schemas to individual objects and move them under the glance/api/v2 library umbrella. To make room, other libraries in glance.api.v2 may need to be moved around as well.
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:
-
2012.2
- Started by
- Brian Waldon
- Completed by
- Brian Waldon
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Move the particulars of v2 schemas under v2
Gerrit topic: https:/
Gerrit topic: https:/
Gerrit topic: https:/
Addressed by: https:/
Add image access records schema for image resources
Work Items
Dependency tree

* Blueprints in grey have been implemented.