Refactor DB layer
The glance DB code has grown organically over time and could benefit from a comprehensive re-visit.
Blueprint information
- Status:
- Complete
- Approver:
- Brian Waldon
- Priority:
- Low
- Drafter:
- Eoghan Glynn
- Direction:
- Approved
- Assignee:
- Brian Waldon
- 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 glance.registry.db to glance.db
Addressed by: https:/
Create 'simple' db driver
Addressed by: https:/
Begin replacement of sqlalchemy driver imports
Addressed by: https:/
Move RequestContext.
Addressed by: https:/
Import db driver through configuration
Addressed by: https:/
Convert db testing to use inheritance
Addressed by: https:/
Reduce 'global' usage in sqlalchemy db driver
Addressed by: https:/
Simplify sqlalchemy imports in driver
Addressed by: https:/
Remove image members joinedload
Addressed by: https:/
Combine same-time tests with main db test case
Addressed by: https:/
Refactor pagination db functional tests
Work Items
Work items:
pluggable db driver: DONE
relocate fake db driver to first-class simple driver: DONE
align db bootstrap with Nova: DONE