[zaqarclient] limit param of Queue.claim() forward inaccurately to server.

Bug #1402470 reported by MATSUMURA, Shuntaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Zaqar
Confirmed
Undecided
MATSUMURA, Shuntaro

Bug Description

The claim function: Queue.claim() sends the following request message to a server.

-- begin --
POST /v1/queues/{queue_name}/claims
Content-Type: application/json
...

{
    "ttl": {claim_ttl},
    "grace": {message_grace},
    "limit": {limit} <- URL parameter by the specification.
}
-- end --

The message is different from the specification,
   (https://wiki.openstack.org/wiki/Zaqar/specs/api/v1#Claim_Messages)
-- begin --
POST /v1/queues/{queue_name}/claims?limit={limit}
Content-Type: application/json
...

{
    "ttl": {claim_ttl},
    "grace": {message_grace}
}
-- end --

affects: zaqar → python-zaqarclient
Revision history for this message
Akanksha Srivastava (akanksha-dlf) wrote :

So I checked the create claim function out in /python-zaqarclient/zaqarclient/queues/v1 and I can see that it does indeed have a limit parameter. Is that still a bug? And what difference does it make if the limit param does exist.

Changed in python-zaqarclient:
status: New → Confirmed
Changed in python-zaqarclient:
assignee: nobody → MATSUMURA, Shuntaro (matsumura-shuntaro)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.