This is the openstack governance goal that the config files should
be merged into one folder to make the code to be better understood
and managed.
Change-Id: I33dd85145d9f5b0384323ffa51b4d68de0aeb5b7
This commit going to remove --ignore D000 which had raised
alot of issues, such as:
- "D000 Cannot analyze code. Pygments package not found."
- Cannot check LOG which have '_' symbol in code-base.
And they also fixed in https://review.openstack.org/#/c/568729/
Change-Id: Ic5258e0262c11b9f878d867a3354aa7d1f6e67b4
Now when running functional and unit tests, if user wants
to use a custom MongoDB instance, he needs to set
two environment variables: "ZAQAR_TEST_MONGODB_URL" and
"ZAQAR_TEST_MONGODB".
Change-Id: I98fe958bfb4fb7f3913de0d0bdc2490f3b441f1b
Beginning with the Queens release, the keystone install guide
recommends running all interfaces on the same port.So this patch
updates the install guide to reflect that change.
Change-Id: I8b1c290c9dcfb721946b6052da4c14f5bf00378e
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.
[1]https://review.openstack.org/#/c/508522/
Change-Id: Ieff5b69018e3824074b5a528a7b9d2a00dd7fb2e
zuulv3 has been replaced by zuul so the document should be updated
in file:
doc/source/contributor/jenkins.rst
Change-Id: I38d7b843718d5d3a6e6c3881fa3016c54913ed59
Curly quotes usually input from Chinese input method.
When read from english context, it makes some confusion.
Change-Id: I7224650e2a52e813077bb84ad3ceddb9d87f934e
According to "code conventions" [1], do not use "-y" option.
Instead, use apt-get install package, yum install package,
or zypper install package.
[1] https://docs.openstack.org/doc-contrib-guide/writing-style/
code-conventions.html
Change-Id: I58d11d0bb8976941ceda56a95112783090d211bf
This patch introduces more retry backoff function the delivery
retry policy into Zaqar. It will work when Zaqar failed to send
the notification to the subscriber. Users can define the retry
backoff function in the options of subscription or metadata
of queue.
Change-Id: I0bffd9249f8a0d466ecea1ac36d8adc37b742238
Implement: blueprint support-more-backoff-functions
Fix for typo in zaqar documentation -:
* Ref doc link - Doc Link - https://docs.openstack.org/project-install-guide/messaging/newton/verify.html
* There is typo in string "X-Auth-ToKen:
* Instead it should be "X-Auth-Token:
* This patch fixes the typo for letter k in string Token
Change-Id: I6644b2601754914166d29cf1e1af98f8e8f265e8
Closes-Bug: #1718414
Fixes the zaqar documentation
* Ref to Doc Url - URL: https://docs.openstack.org/zaqar/latest/install/install-ubuntu.html
* It is not spelled to copy the files on /etc/zaqar
* Later on it is mentioend to copy the sample policy.json file to /etc/zaqar
* Adding the root folder path for it on the string "sample file to the directory etc/zaqar/:"
* It is mentioned to make a directory but the directory name and path is missing.
* As per the above we have to create the directory "/etc/zaqar"
* This patch would update the missing folder path on the documentation.
Change-Id: Ib538857ef0abef9617d44e3f803b4bcd191bc546
Closes-Bug: #1718366
doc8 is a linter for documents and used in openstack-manuals. It is better to
enforce document linters for simple checking.
The current rules are really simple like:
- line length check (80 chars)
- new line at the end of file
- Trailing whitespace
Change-Id: I328e2b2b82739696b95eca4a4130ca347893b0dc
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
1. Update URLs according to document migration
2. Update the dead and outdated links
3. Optimize (e.g. http -> https)
Change-Id: I374aefe56d8fbe6c606e0f327314609a7375deb5
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
* 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
There's now an api-ref document, so the user-guide directory is not
needed. Remove the obsolete and outdated user-guide XML docs.
Change-Id: Ic3594eb08f7ef4e025968dfdeb1b9c3319dedaee
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: Id4399e3c8c30716d7622dc7ed8ab91433cad813b
If users don't use devstack, message_pipeline will not be set by
default. Update the doc to remind users it.
Change-Id: I5f452778093c23d75a80e97961f1e359d558cc43
Zaqar has already dropped py34[1], so the text "py34" and
"Runs the Python unit tests with a Python 3.4 environment."
need to be deleted. Besides, we should support py35.
[1]https://review.openstack.org/#/c/418170/
Change-Id: Id5aa108160582b71a792d58b793c7b1da1096305
Closes-Bug: #1686038
By default, CORS middleware can allow requests from any origin. So it's not
necessary to use the 'enabled' option.
Closes-bug: #1677049
Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
Change-Id: Id80e17466400937bba9fbb4aa2a2b65de9d62252
Add the new middleware CORS for Zaqar
It only supports for WSGI.
Websocket doesn't need this feature.
Change-Id: Ifc6d2d1c5dde5152cab6e3aa2f3cf9f207481267
Implements: blueprint support-cors
Now we have keystone and osprofiler middleware, and we will add
cors middleware next. So it's better to move them to a common
folder. Then they can be mantained and read easily.
Change-Id: Ic7e365860a29adaf9cbde665c16986262cff5f2b
Implements: blueprint support-cors
Guru is a mechanism whereby developers
and system administrators can generate
a report about the state of a running
Zaqar executable.
This report is called a *Guru Meditation Report*
This mechanism will help developer or operator
to fix issues in (production) deployments without
stopping Zaqar service.
Implements: blueprint introduce-guru-to-zaqar
Change-Id: I72885be396be7eb0a9dd8fd564d706a8351b02c6
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.
Fix also problems found:
* code-blocks that could not be parsed
* Usage of :option: without declaring the option.
* Add blank lines to properly end markup.
* Fix a typo.
* Fix wrong markup of docstring
* Fix title underlinings.
Change-Id: I69ddde706a04f26bfccda072822dc0d230cb330e