Unable to get, post or update queue metadata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Environment : wsgi , mongodb
Requesting queue metadata:
How do we make a request to just know the queue metadata like in v1?
Is /metadata deprecated?
If its deprecated then is it not completely removed from v1_1 and v2 ?
Sorry too many questions! :)
Posting queue metadata :
Scenario1 : Queue is create with metadata ==> 201 Created
Scenario2 : Queue is created without metadata ==> 201 Created
curl -i -X PUT http://
HTTP/1.0 201 Created
curl -i -X PUT http://
HTTP/1.0 204 No Content
Updating queue metadata
curl -i -X PUT http://
HTTP/1.0 201 Created
curl -i -X PUT http://
HTTP/1.0 204 No Content
curl -i -X GET http://
HTTP/1.0 200 OK
{"_max_
Thank you :)
PUT meas to create a queue. /review. openstack. org/#/c/ 292843/
And you should use PATCH in v2 to update the queue's metadata: https:/
I have a client patch to add the update metadata command : https:/ /review. openstack. org/#/c/ 294368/ /review. openstack. org/#/c/ 305560/
also a patch to fix some errors : https:/
the request should be like: IP:8888/ v2/queues/ queue_name :"/metadata/ type",
PATCH http://
the request body should be like:
[
{
"op":"add",
"patch"
"value":"test"
}
]
then the queue's metadata will be like :{"_max_ messages_ post_size" : 262144, "_default_ message_ ttl": 1209600, "type": "test"}