The queue in Zaqar will support to encrypt
messages before storing them into storage backends,
also could support to decrypt messages when those
are claimed by consumer. This feature will enhance
the security of messaging service.
Implements: blueprint encrypted-messages-in-queue
Signed-off-by: wanghao <sxmatch1986@gmail.com>
Change-Id: Icecfb9a232cfeefc2f9603934696bb2dcd56bc9c
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_auto_name to use 'project' as name.
Change pygments_style to 'native' since old theme version always
used 'native' and the theme now respects the setting and using 'sphinx'
can lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not
needed during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the
renames before the next release removes them. A couple of variables
are also not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Ie623e7a2389c292ffc71a285f0fc2d4bb9820c3f
Zaqar will support query queues with 'with_count' to
return the amount of the queues. This will help users to
quickly get the exact total number of queues which they own.
Change-Id: I1d2cdc802ecd76c01671cd5660ae79dd39505d43
Implements: blueprint query-queues-with-count
Signed-off-by: wanghao <sxmatch1986@gmail.com>
Three response parameters about dead_letter_queue is
missing in response doc.
Change-Id: Ibc92ae20306c6a733109e66ed87a4f270ee2d328
Closes-Bug: #1801678
Since some clients use different format of client id not only uuid,
so Zaqar will support this function.
Add one option 'client_id_uuid_safe' to allow user to control
the validation of client id.
Add two options 'min_length_client_id' and 'max_length_client_id'
to allow user to control the length of client id if not using uuid.
This also requires user to ensure the client id is immutable.
Implements: blueprint remove-format-constraint-of-client-id
Change-Id: I96bc2620b09394419b66a733484ff3d8f0d56313
This patch updates the documentation for the Zaqar API to properly
describe when a delete is invoked with the pop query parameter.
Change-Id: Id586797eb4707f5db9d751c80035ba07270627c3
Closes-Bug: 1768157
This patch will support to query queues filtered by
name and metadata in mongodb backend.
Other backends will support in following patchs.
Co-Authored-By: gecong <ge.cong@zte.com.cn>
Change-Id: I5fc6a5959e5d94942aebce9cedb22666e5577cb8
Partial-implements: blueprint queue-filter-support
Rather than our freeform way of listing response codes in our
api-ref, we should be using the os-api-ref extension option to
get nicely formatted response code listings.
https://docs.openstack.org/os-api-ref/latest/usage.html#rest-status-code
Change-Id: I70b5f0c20089d0eaa201ab9d9bbf9ec1464ec636
We support dead letter queue in Queens. There
are some new reserved metadatas which should be
returned.
Change-Id: Iba5add5b75fa67e025ec89a887db0d04fb61548a
Curly quotes usually input from Chinese input method.
When read from english context, it makes some confusion.
Change-Id: I7224650e2a52e813077bb84ad3ceddb9d87f934e
From openstackdocstheme 1.18.0, valid Git URLs can be retrieved by
openstackdocstheme[1], we do not need giturl option anymore.
[1] https://review.openstack.org/532163
Change-Id: Ifd6b12d021dbcb8c025a3c1ed66e57b091edd61d
In api doc, when getting the queues list,
the 'queues' in response body is optional,
but it should be required even if there is empty list.
Change-Id: I1503ec3828b2107df9488ec48164b502a2244e4d
Closes-Bug: #1710583
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
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.
Change-Id: I502588bf0ce1fff0be34e9b21ef55be95d2d7bc1
Closes-Bug:#1693670
Actually, the correct usage of mailto protocol should be
mailto:youremail@example.com instead of mailto://youremail@example.com
Closes-Bug:#1697449
Change-Id: I24135c4c6d6f6a8a15da4a33e38e1a518bddee50
The current os-api-ref and Sphinx packages warn about a couple of
problems. Fix them all:
* wrong order of entries in parameters.yaml
* missing parameter
* too short underline
Also, treat warnings as errors for Sphinx to avoid regressions.
Change-Id: Id129cc709df38385a8cfe6dc12ffca6d4ba4857e
The following file(s) added utf-8 encoding but never used. So we can
remove them at all.
zaqar/tests/tempest_plugin/tests/v2/test_claims_negative.py
zaqar/tests/tempest_plugin/tests/v2/test_queues_negative.py
api-ref/source/conf.py
doc/source/conf.py
releasenotes/source/conf.py
Change-Id: I4a7b138f72ef61787636efcca9ef319d527be72c
Now Zaqar has supported to qurge queue,
add api ref for it.
Partially Implements: blueprint purge-queue
Change-Id: If9f4f5aec92bf8c4bd5e9e0f0ca833bc8214b121
Now Zaqar uses "claim expiration time > current message TTL"
to judge whether to extend message ttl or not.
The explanation of grace "If a claimed message would normally
live longer than the grace period, its expiration is not adjusted."
is not very clear to users.
So we reword the description of grace to "If a claimed message
would normally live longer than the claim's live period,
its expiration is not adjusted."
Change-Id: Ib9b042e99116fb4c4656696d413a778e4f07f4c6
Closes-Bug: #1632629
The os-api-ref 1.0.0 is out. We can remove the support to older version now.
Reference:
6d41feb58d
Change-Id: I1946a4c3cf51001b3c759008ce9c7da2ab646ee4
Currently, zaqar api-ref is not configured with logABug feature.
When users click "Report bug" button, it leads to "openstack-manuals"
which is default.
Change-Id: I94c15bb27ca3f920ba4f1a9622222ca891e1e663
Based on test result, response body of claim messages API
includes a top level key "messages" whose vlaue is a list of
messages being successfully claimed. This patch revises
corresponding sample in API reference.
Change-Id: I72b7b7a59e9c54c398448e474d2d13f77454e29c
Request and response examples for posting messages are not
cited correctly in API reference. This patch fixes it.
Change-Id: Id7c12b5e63e4cc4936e10e0380c7fed6ff94b032