Refactor DB layer

Registered by Eoghan Glynn on 2012-05-30

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:
milestone icon 2012.2
Started by
Brian Waldon on 2012-05-31
Completed by
Brian Waldon on 2012-07-18

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-db-layer,n,z

Addressed by: https://review.openstack.org/7991
    Move glance.registry.db to glance.db

Addressed by: https://review.openstack.org/8006
    Create 'simple' db driver

Addressed by: https://review.openstack.org/8011
    Begin replacement of sqlalchemy driver imports

Addressed by: https://review.openstack.org/8046
    Move RequestContext.is_image_* methods to db layer

Addressed by: https://review.openstack.org/8049
    Import db driver through configuration

Addressed by: https://review.openstack.org/8507
    Convert db testing to use inheritance

Addressed by: https://review.openstack.org/8929
    Reduce 'global' usage in sqlalchemy db driver

Addressed by: https://review.openstack.org/8978
    Simplify sqlalchemy imports in driver

Addressed by: https://review.openstack.org/8992
    Remove image members joinedload

Addressed by: https://review.openstack.org/9024
    Combine same-time tests with main db test case

Addressed by: https://review.openstack.org/9036
    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

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.