This patch introduces the delivery retry policy into Zaqar.
It will work when the notification sent from Zaqar to the
subscriber failed.
User can define the retry policy in the options of subscription or
metadata of queue.
Change-Id: I1a74c2d5b69fb82826c303468099db34b3e41b5b
Implements: bp notification-delivery-policy
In the function{ClaimController:create} for mongodb backend, there
is an error when a message is inserted to the dead letter
queue.Because a mongodb collection(messages) is shared by
many queues, we need to delete first and then insert,
otherwise insert_one will cause the following error:
pymongo.errors.DuplicateKeyError: insertDocument :: caused by ::
11000 E11000 duplicate key error index: admin.test.$_id_ dup key:
{ : ObjectId('xxxxxxxxxxxxxxxxxxxxxx') }
Depends-On: I1ee88a8963e2bc80172710da5ab60313952495e4
Depends-On: I8c3642f3883ecc68853735636fc3a748b9c780b6
Closes-Bug: #1707814
Change-Id: If7824d135ecd6999716954e6fa4fa000434c4ed4
Now the three arguments 'paths', 'methods', 'expires' in body
are all optional, but it's required in api-ref doc.
So fix it soon.
Change-Id: I61dad6daa2d030a8ae14acaf1f9bed43cf0be060
when running tempest test, there are some DeprecationWarning:
Read-only property 'os' has moved to 'os_primary' in version 'Pike'
and will be removed in version 'Queens', this patch fix it.
Change-Id: I51511a06ca863f6a98801fef55a5c845fbf58619
The 'message' attribute has been deprecated and removed
from Python3.
For more details, please check:
https://www.python.org/dev/peps/pep-0352/
Change-Id: I0d8441745029e18aa040811a5dc6725f465aa797
Openstack common has a wrapper for generating uuids.
We should use that function to generate uuids for consistency.
Change-Id: If31cc81bbf2f386db660a760eb866c7c1abd786a
This patch refactor zaqar doc according to
the doc-migration spec.
api, cli, configuration and reference should
be added in the next few patches if need.
Change-Id: I74a4949f4eace423c06ab6e8d95838df1f312d93
when delete queue with mongodb storage, there was warning
"remove is deprecated. Use delete_one or delete_many ".
so we can replace remove with delete_one method now
Change-Id: I37f4f21bb1b3c6a9016429a5e7060ff0987dd458
* Remove generated comments
* Remove templates_path setting, there's no template to use.
* Do not set html_static_path, there's no _static directory to use.
Change-Id: Iab617f28a57fccfff8ed53da62b764a99705af6f