Queues management operations
Marconi client should provide a simple interface for a user to create, destroy, update and list queues, and also to get metadata and stats from those queues.
Blueprint information
- Status:
- Complete
- Approver:
- Flavio Percoco
- Priority:
- Undefined
- Drafter:
- Flavio Percoco
- Direction:
- Needs approval
- Assignee:
- Flavio Percoco
- Definition:
- New
- Series goal:
- Accepted for icehouse
- Implementation:
-
Implemented
- Milestone target:
- None
- Started by
- Flavio Percoco
- Completed by
- Flavio Percoco
Related branches
Related bugs
Sprints
Whiteboard
# Working with queues
>> queue = client.
'fizz': 'buzz',
'size': 'extra-large'
})
>> client.queues # list queue, generator return Optional params : limit
(<Queue ...>, <Queue ...>, ...)
>> client.
>> client.
(<Queue ...>, <Queue ...>, ...)
>> queue.name # as per below - no renames, read-only property
u'megapipes'
>> queue.metadata
{
'fizz': 'buzz',
'size': 'extra-large'
}
>> queue.stats
{
'stat1': 123497,
'stat2': 923,
'stat_
'speed': 100,
'bytes': 1025
}
}
>> queue.put() # posts all changes to marconi server - Single call for all creates & updates
>> queue.delete() # sends DELETE to marconi server for this queue
Gerrit topic: https:/
Addressed by: https:/
feat(Implement Queue Controller):
Addressed by: https:/
feat(
Gerrit topic: https:/
Addressed by: https:/
Implement queue's API methods
Work Items
Dependency tree

* Blueprints in grey have been implemented.