[SQLAlchemy] Query Claim does not return messages list in response
Bug #1331517 reported by
Malini Kamalambal
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Incomplete
|
Undecided
|
peng fei wang |
Bug Description
Per API spec query claim should return,
{
"age": 19,
"ttl": 30,
"messages": [
...
]
}
The actual response retuned does not have a message list.
Instead it just has a body.
See below.
'{"body": {"QueuingKeyQue
Changed in marconi: | |
assignee: | nobody → peng fei wang (wpf) |
tags: | added: bugsmash |
To post a comment you must log in.
with the latest code, I can't reproduce it with http:// xxxxx:8888/ v1/queues/ samplequeue/ claims/ 63c9a59d
what I got as below:
{ samplequeue/ claims/ 63c9a59d" ,
"event" : "a",
"order" : 1 samplequeue/ messages/ 5c693a52? claim_id= 63c9a59d" ,
"event" : "b",
"order" : 1 samplequeue/ messages/ 5c693a51? claim_id= 63c9a59d" ,
"event" : "c",
"order" : 1 samplequeue/ messages/ 5c693a50? claim_id= 63c9a59d" ,
"event" : "d",
"order" : 1 samplequeue/ messages/ 5c693a57? claim_id= 63c9a59d" ,
"event" : "e",
"order" : 1 samplequeue/ messages/ 5c693a56? claim_id= 63c9a59d" ,
"event" : "f",
"order" : 1 samplequeue/ messages/ 5c693a55? claim_id= 63c9a59d" ,
"age": 90,
"href": "/v1/queues/
"messages": [{
"body": {
},
"age": 90,
"href": "/v1/queues/
"ttl": 3000
}, {
"body": {
},
"age": 90,
"href": "/v1/queues/
"ttl": 3000
}, {
"body": {
},
"age": 90,
"href": "/v1/queues/
"ttl": 3000
}, {
"body": {
},
"age": 90,
"href": "/v1/queues/
"ttl": 3000
}, {
"body": {
},
"age": 90,
"href": "/v1/queues/
"ttl": 3000
}, {
"body": {
},
"age": 90,
"href": "/v1/queues/
"ttl": 3000
}],
"ttl": 600
}