API v1.1 - Lazily Create Queues

Registered by Kurt Griffiths

When a message is posted to a queue that does not yet exist, create it on the fly. Also, when listing messages in a queue or claiming messages, allow the queue to not exist (conceptually, queues "always exist" and if we don't have a record for the queue, we just treat it as being "empty").

P.S. - Error codes for the transport will need to be redefined on the wiki and in docs as well. Instead of 404, you will get empty lists and such.

P.S.S. - This change may encourage app developers to no longer think about managing the lifetime of queues. As part of this blueprint, we should consider ways to mitigate (or remove altogether) the cost of unused queue resources if users don't bother to delete them.

Blueprint information

Status:
Complete
Approver:
Flavio Percoco
Priority:
High
Drafter:
Kurt Griffiths
Direction:
Needs approval
Assignee:
Sriram
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
Kurt Griffiths
Completed by
Sriram

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/91804
    Implement Lazy Create Queue in v1.1 API

Slipping to juno-2 to ensure this patch is well-tested before merging. (kgriffs)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.