Extract Domain Logic out of DB and API layers

Registered by Brian Waldon

There is a lot of logic that lives in the db layer and the v1/v2 API layers that should really be handled in a single layer.

- policy checking
- notifications
- etc.

Blueprint information

Status:
Complete
Approver:
Brian Waldon
Priority:
High
Drafter:
Brian Waldon
Direction:
Approved
Assignee:
Mark Washenberger
Definition:
Drafting
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Brian Waldon
Completed by
Mark Washenberger

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/glance-domain-logic-layer,n,z

Addressed by: https://review.openstack.org/15707
    Add an image domain model and related helpers.

Addressed by: https://review.openstack.org/15708
    Add an image repo to encapsulate db api access

Addressed by: https://review.openstack.org/16556
    Add an image proxy to handle stored image data

Addressed by: https://review.openstack.org/16557
    Add an image repo proxy that handles notifications

Addressed by: https://review.openstack.org/16558
    Add domain proxies that do policy.enforce checks

Addressed by: https://review.openstack.org/16993
    Add domain proxies that stop unauthorized actions

Addressed by: https://review.openstack.org/17512
    Modify the v2 image controller to use domain model

Addressed by: https://review.openstack.org/18158
    Modify the v2 image tags to use domain model

Addressed by: https://review.openstack.org/22518
    Extend the domain model to v2 image data

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.