Claims management operations

Registered by Victoria Martinez de la Cruz

Marconi client should provide a simple interface for a user to post, query, update and delete claims.

Blueprint information

Status:
Complete
Approver:
Flavio Percoco
Priority:
Undefined
Drafter:
Flavio Percoco
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon icehouse-3
Started by
Flavio Percoco
Completed by
Flavio Percoco

Related branches

Sprints

Whiteboard

>> queue.claim() - Required params: ttl, grace Optional param: limit
[{ "href": "xx", "ttl": 800,"age": 100,"body": {msg1}}, { "href": "xx", "ttl": 800,"age": 100,"body": {msg2}}......]

>> queue.claim_by_id(1)
{"age": 19,"ttl": 30, "messages": [ ... ]}

>> queue.update_claim(id, ttl)
{ "ttl": 300 }

>> queue.delete_claim(id)

>> claim.age
19

>> claim.ttl
30

>> claim.messages
(msg1, msg2....)

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

Addressed by: https://review.openstack.org/72614
    ** wip ** start of claims

Addressed by: https://review.openstack.org/72621
    Fix the message __repr__ formatter

Addressed by: https://review.openstack.org/72633
    Add an example for using claims

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.