Subscriptions listing is not written good and causes many potential and real problems.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python client library for Zaqar |
Fix Released
|
Medium
|
Eva Balycheva |
Bug Description
Problem 1(core problem):
See this: https:/
I think this is not good, let's not modify response from Zaqar.
The queue name information is already under the key 'source'. There's no need for adding duplicate 'queue_name' key.
This can add big confusion to the other developers, for example for the creator of the https:/
Problem 2:
This problem is only possible because of problem 1.
See this function: https:/
I think it's written incorrectly, it just made to work with the code listed in Problem 1.
When the function is used by https:/
Traceback (most recent call last):
File "/home/
list_
File "/home/
for sub in queue.subscript
File "/home/
return self._create_
File "/home/
return lambda kwargs: Subscription(
KeyError: 'queue_name'
Problem 3:
This problem is only possible because of problem 1.
This response body from Zaqar does not represent real response which is bad. It is missing 'source' key-value pair for each subscription in the body.
description: | updated |
Changed in python-zaqarclient: | |
assignee: | nobody → Eva Balycheva (ubershy) |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Subscriptions listing does not work + Subscriptions listing is not written good and causes many potential and + real problems. |
Changed in python-zaqarclient: | |
importance: | Undecided → Medium |
status: | In Progress → Confirmed |
Fix proposed to branch: master /review. openstack. org/272909
Review: https:/