Commit Graph

136 Commits

Author SHA1 Message Date
wanghao 189334067a Remove V1 APIs from Zaqar
Currently, Zaqar has tree versions of APIs,
V1, V1_1 and V2. The V1 is the oldest apis that
there is no need for them right now. All new features
are implemented under V2 APIs. So it’s time to remove
V1 APIs and optimize the Zaqar's codes.

Change-Id: Ib227ffd428935cd1849c5bf84a22bfa4f542bc8e
Implements: blueprint remove-v1-api-code
2021-11-16 14:51:11 +08:00
wanghao abc208ec3b Add Xena and Yoga folders for specs
Change-Id: Ia65d8fd7886364fb89e39351843cf005091b3eef
2021-11-15 09:30:15 +08:00
wanghao 40bf1fc0ca Support Extra Specs to Subscription-confirming
This requirement came from a true scenario when
people use the subscription function of Zaqar,
for example, text messages, they need to return
some extra information like message authentication
code in confirming process.

Change-Id: Ia2a665207d4b267798d9d998d0284c2e68b247a4
Implements: blueprint support-extra-specs-to-subscription-confirming
2021-01-12 14:41:20 +08:00
wanghao 950f9dd50d Add spec folder for Wallaby
Change-Id: I0e7f079169198d788a3db94a69be1ca8c2a118c5
2020-10-23 14:17:54 +08:00
Andreas Jaeger 64d0a2a0de Cleanup docs building
a few cleanups:
- Remove obsolete sections from setup.cfg
- Switch to using sphinx-build
- Remove install_command from tox.ini, the default is fine
- Update pbr requirement
- Fix build problems
- Switch to py38 for testing following Victoria testing platforms

Change-Id: I1ff3853020d69aeceb8b81c21ce608b269015ece
2020-06-10 07:49:15 +02:00
Zuul 4d39e01563 Merge "Encrypted messages in Queue" 2020-06-05 04:51:20 +00:00
wanghao 224c353b58 Encrypted messages in Queue
This spec will support to encrypt messages before storing them
into backends.  This will enhance the security of messaging service.

Implements: blueprint encrypted-messages-in-queue
Signed-off-by: wanghao <sxmatch1986@gmail.com>

Change-Id: I2fce18ef574acdee52446ce241083d0cdb1e0cd9
2020-06-04 09:28:41 +08:00
Andreas Jaeger db26daa362 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable 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.

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: I9d8b24733842e364fc6ef05b9e9adebae2a66ee5
2020-06-01 16:25:41 +02:00
wanghao 909477c32d Add specs folder for Victoria cycle
Change-Id: If8dbb026eda9687cda04f9d91eeb7c8f4d67ff83
2020-05-11 15:29:09 +08:00
Zuul c15186aa4c Merge "Rename review.openstack.org to review.opendev.org" 2020-02-24 10:52:53 +00:00
wanghao 0cd4708ce7 Support to query queues with count for ussuri
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: Ic1ff218e4e975b4f6e16ebe4192f406efaeb94fe
Implements: blueprint query-queues-with-count
Signed-off-by: wanghao <sxmatch1986@gmail.com>
2020-01-02 10:39:04 +08:00
Ghanshyam Mann 7aa078296c Fix doc job, pep8 error and remove py27
This commit does multiple fix
1. Doc building still use deprcated oslosphinx and incompatible
version of yasfb which lead to error-

sphinx.errors.ExtensionError: Could not import extension yasfb (exception: cannot import name 'logging')

Replace oslosphinx with openstackdocstheme to fix the error.

2. Switch py27 job with py37
3. fix the pep8 error

Change-Id: I33ad4d0a2924082b7c56ac7c7973ad02ac6e9df5
2019-12-17 18:47:52 +00:00
melissaml cba0a9cf8e Rename review.openstack.org to review.opendev.org
There are many references to review.openstack.org, and while the
redirect should work, we can also go ahead and fix them.

Change-Id: I397b58c562079444553d393387d7c6323b06fba4
2019-05-13 20:17:59 +08:00
OpenDev Sysadmins f6f0864bfa OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:40 +00:00
gecong1973 01ced66a5d Remove pool group totally
In Queens, we support the old way to use pool_group and the
new way without it in Flavor both. In Stein, we will remove
the pool_group totally and only keep the new way in Flavor
and Pool.

Change-Id: Ie0bf6e4b5e6ca7b97037b2ea493465803f4eb898
Implements: bp remove-pool-group-totally
2019-01-08 18:23:15 -08:00
Zuul 85e7309865 Merge "fix tox python3 overrides" 2018-11-07 07:12:50 +00:00
98k b736c7cf0d Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: Ie3379b54b354984348a10ec32bf6d245d1c04847
Closes-Bug: #1801816
2018-11-07 06:58:03 +00:00
Doug Hellmann f8f1f87efa fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ife18281cb3f1a28d1ccc52196ca708e7ace14395
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-11-07 06:57:38 +00:00
xywang 902103fb29 Fix CI
Change-Id: I4b8faf7490ef1cf3d2d095fcff9b970e25c8e500
2018-11-06 04:03:15 +00:00
wangqiangbj 0004a98248 fix wrong spelling of 'password'
Change-Id: Ia5170a4a8d39afbc7a2799def8cb22d8224db72f
2018-10-29 18:49:24 +08:00
wanghao a3eb9e632d Update specs for stein
Move spec which is not implemented yet to stein folder.

Change-Id: I8839b20b560fcd9e3f3c6d120d70db8eff186634
2018-09-29 17:29:40 +08:00
Zuul 8d17afd39c Merge "Spec of bp delete-message-with-claim-id support" 2018-09-28 05:30:58 +00:00
yangzhenyu c180ddf93e Spec of bp delete-message-with-claim-id support
Delete Message with claim id means that when a user deletes a message, the
message must be claimed. If you want to delete a message, you will have to use
both message id and claim id. This can improve the security of the message.

Change-Id: I81f505e6ac3ee8f8ab42ce0c1b80ecc878f67b78
blueprint: delete-message-with-claim-id
2018-09-28 10:33:53 +08:00
Zuul 1357878797 Merge "import zuul job settings from project-config" 2018-09-13 09:04:46 +00:00
Andreas Jaeger b5e14a0e42 Fix RST building
Specs repos now build with tox -e docs and this fails since warnings are
treated as errors. Fix issues, see below for details.

tox -e docs fails with:

1)
queens/remove-pool-group-from-zaqar.rst:402: WARNING: Inline emphasis start-string without end-string.

Fix RST syntax.

2) queens/support-md5-of-body.rst:: WARNING: document isn't included in any toctree

Include document in toctree.

3) rocky/queue-filter-support.rst:38: WARNING: Literal block expected; none found.

Fixed RST.

4) rocky/remove-format-constraint-of-client-id.rst:13: WARNING: Title overline too short.

Fixed RST.

5) rocky/remove-format-constraint-of-client-id.rst:37: ERROR: Unexpected indentation.
Fixed RST.

6) rocky/subscription-filtering-tags.rst:82: WARNING: Bullet list ends without a blank line; unexpected unindent.
Fixed RST.

Change-Id: Ide32b348d68e35f8f531c30ddae680d085553b68
2018-09-13 10:31:53 +02:00
changyufei 00e6ac6008 The spec of Zaqar mail delivery
This work is aimed to enable Zaqar to send email subscription
without the third part tools.

Change-Id: Id775c3dae4ee92198cf1bb9e20f5f83e3ad27e44
implements: blueprint zaqar-email-delivery
2018-08-27 09:34:58 +08:00
98k 6ef0bf5722 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I756e2fde7a70682f079c477e9a9c426e3605f5f2
Story: #2002586
Task: #24346
2018-08-24 06:41:15 +00:00
Zuul 2701ac016d Merge "Add the missing index" 2018-08-24 00:48:38 +00:00
wanghao 13e26908fe Add spec folder for Stein cycle
Change-Id: I0ec9a244844e9cfbcbf08670845a0b41da408f77
2018-08-20 09:19:50 +08:00
Vu Cong Tuan 0eacde7e30 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I47130ea63d4427074bf51957032c89c55f7a8dcf
2018-07-10 11:18:36 +07:00
xywang f083f47037 Add the missing index
Change-Id: I6e84821723bc3d927bbf12cc9497eaeed0c14b25
2018-06-27 09:59:33 +08:00
wanghao 2f9c6054ed Remove format constraint of client id
Describe Zaqar how to remove the format constraint of
client id.

Change-Id: Ibb551d33cb4148c5ff3344a23467e4055fe6ba89
Implements: blueprint remove-format-constraint-of-client-id
2018-06-20 11:06:57 +08:00
yangzhenyu 210374edfe Spec of subscription filtering tags support
By default, a subscriber of zaqar topic receives every message published
to the topic. To receive only a subset of the messages, a subscriber
assigns a filter policy to the topic subscription. So in this case,
zaqar need to support message filtering

Change-Id: I55e39c1eb403fc4d6287c3a54de3a46fd96fa7e1
blueprint: subscription-filtering-tags
2018-04-20 10:25:46 +08:00
wanghao 5380bd4b13 Introduce topic resource for notification
We want to introduce a new resource called Topic into Zaqar.
Topic is a concept from AWS SNS, it will has
relevance with subscriptions.
User can send message to a topic, and then the subscribers
will get the message according to different protocols,
like http, email, sms, etc.

Change-Id: Iea78a20a2dde677620908f8d20a36b18d93d7664
Implements: bp introduce-topic-resource-for-notification
2018-04-10 09:39:42 +08:00
gecong1973 93dbc58d46 Support queue filter for zaqar
Introduce queue filter to Zaqar.

Change-Id: I7a6982faab782047a34778d086205af792abb099
2018-04-01 18:37:26 -07:00
gecong1973 8c163d8282 Add rocky release dir in zaqar-specs
Add the dir and index.rst.

Change-Id: I96c65ca73b955669e2ca82cb07dbf1cf59779309
2018-02-28 17:14:04 -08:00
baiwenteng 04de5d3ad7 replace proccess with process
Change-Id: Idceae610c388e1eca63339db67ad10274a700a07
2018-02-07 17:34:18 +08:00
wanghao ffad0d80c2 Remove pool group from pool and flavor resource
Currently pool group is used in pool and flavor resource,
but the pool group only supports a 1:1 mapping with flavor.
So it's not necessary to keep it since we can map
1 flavor : N pool directly.

For making a clarification to end user,
this bp proposes to remove useless pool group from Zaqar,
just keeps the pool resource.

Change-Id: I5927aea4e1ffa632bb78e3fa9d340c3d812bad2a
Implements: blueprint remove-pool-group-from-zaqar
2018-01-19 17:15:46 +08:00
sunyandi 2329ccb19d update sphinx-doc links
Change-Id: I7dbfef4fa0b8767cd3be057fceaa356e92d077f7
2018-01-17 17:02:44 +08:00
yangzhenyu 66c299e3dd Spec of bp support-md5-of-body support
Now, Zaqar will add a non-URL-encoded message body MD5 validation function.
This is essential for the security of the message body, it can prevent the
message from being tampered.

Change-Id: Ic01e37be1ab59a42d10c53ffadfb6569ffccce2b
blueprint: support-md5-of-body
2018-01-16 11:23:22 +08:00
wanghao 1acf71d316 Remove duplicate template.rst from Zaqar-Spec
Now there is two same template.rst under root folder
and specs folder. Just remove the one from root folder
to keep consistent with other projects.

Change-Id: I849ded5791bf9bd9ab5b1d3cb686fc02872b0815
2017-11-22 09:33:16 +08:00
yangzhenyu ce55e17c7e Spec of delayed queues support
Now one of the big function gaps of Zaqar is the delayed queue.
Currently, all the message posted to the queue will be visible
immediately. That's enough for most of the user cases. However,
for some user case, user want the message to be unavailable to
end users for a specific period of time.

Change-Id: I2610a8f89568f8af1cb292f0c8dea8f7deb4e4a3
blueprint: delayed-queues
2017-11-16 10:39:13 +08:00
gecong1973 a2ad677cbb Support more backoff functions
Introduce more backoff functions to Zaqar.

Change-Id: I5bf310f31d632cbd06447e0675084f1ac86fe30a
2017-10-18 15:29:26 +00:00
gengchc2 91514b5e1c support redis as mgmt storage backend
Change-Id: Ia4f3a87dc699585bdaae6c25c7491551df81e478
Implements: blueprint support-redis-as-management-storage-backend
2017-10-17 02:25:12 +00:00
zhangbailin 9dbe2ebe9c Fix outdated links
Update doc links according to OpenStack document migration.
Use https instead of http for docs links.
Closes-Bug:#1717171

Change-Id: I97ea62e22d8ae0913562fdd51226e1464416a66d
2017-09-13 23:00:50 -07:00
Jenkins 7f7daecc39 Merge "Update and replace http with https for doc links in zaqar-specs" 2017-09-10 22:14:14 +00:00
shangxiaobj db9f53ed4f [Trivialfix]Fix typos
Fix the typos found in zaqar-specs.

Change-Id: Ia072c6f313a885418dcd96df27586e87f36f3fb0
2017-09-07 23:38:20 -07:00
shangxiaobj 96358f7814 Update and replace http with https for doc links in zaqar-specs
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I9f6943d01b4e408d8873d1dfb0afd2a3032f7fc7
2017-09-07 23:31:43 -07:00
gecong1973 c7da52e084 Add queens release dir in zaqar-specs
Add the dir and index.rst.

Change-Id: I81f6afafd1d1c5ad32928bd59dc4af27a8cae412
2017-09-01 08:00:39 +00:00
wanghao db632d7d63 Update the default value of maximum_delay
Now we have decided to update the default value
of maximum_delay from 60 to 30 seconds in
notification retry policy.

That could reduce the unnecessary workload in Zaqar.

Change-Id: I21a2bc9415eb3956c09dfc9d61eadaca8e187d97
Closes-Bug: #1709231
2017-08-08 11:22:20 +08:00