This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I59dd6c58e15d7d0b5b12bbc892aadfdc662305c3
From [1], string interpolation should be delayed to be handled by
the logging code, rather than being done at the point
of the logging call.
[1] https://docs.openstack.org/oslo.i18n/latest/user/
guidelines.html#adding-variables-to-log-messages
Change-Id: I58ee3e1b4b04ce895a4922491f22094aab0d16d9
Closes-Bug: #1705634
One of the tests would output stderr and it would not be captured by tox
resulting in output like this http://paste.openstack.org/show/616128/
The tests are working fine but that output gives a false impression to the
developer that something is wrong
I captured the stderr during that test so that would not show.
Change-Id: I7f76da0cb1a57280848d7d831e2a686e4ec5c81a
This change aligns the mistralclient documents folder structure to
the one specified for Pike.
test-requirements.txt updated with the missing module (tooz)
Change-Id: Ie6940ed66b4ff3161e1dc7d4ca623dc1fabea05f
1. Update URLs according to document migration
2. Update the dead and outdated links
3. Optimize (e.g. http -> https)
Change-Id: I482921e10cb93a7ff87a568b2dad9693ec93edb2
Clean up python build warnings to enable warning-is-error.
Adding a simple doc page for the api
Part of doc-migration work
Change-Id: Ia6ad528c207e194c3b48155a8f9f4e67dafb792d
The CLI for event-trigger operations is missing. This patch
adds it.
Co-Authored-By: Sharat Sharma <sharat.sharma@nectechnologies.in>
Change-Id: I7d171930563d0488ce9d97829a59974745c55ca2
Closes-Bug: 1650971
The "--limit" parameter of heavy CLI commands should not be
infinite by default. For commands like "mistral task-list" and
"execution-list" we need to set --limit parameter by default to
some reasonable value. The proposal is 100. Otherwise it's easy
to cause a huge load on a server if the result set is not limited.
A warning message is thrown whenever these commands are executed
without using "--limit" parameter.
Change-Id: If0fead181171e5b9c590f3f4c852c6ad2541ff94
Implements: blueprint mistral-cli-default-limit-parameter
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: I7648dc5681020ffa34c65244117a8e243c29a51d
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
Change-Id: I1539758b4a02ad1d597482d168c95babe6a74e94
--profile argument can be loaded from OS_PROFILE environment variables
to avoid repeating --profile in client commands.
Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: Ia24144f5858d05566ffa32a329884dc4dd7ec570
Similar to the client functions replace the requests mocking in
test_httpclient file with calls to requests-mock. This means we
test the actual data on the wire instead of the exact calls to
requests so they can change in future.
Change-Id: Id65374e14e3b18dfed46f0c78a95ff10502ce785
workflowv2 is currently used type for Mistral. Old service type did not
really cause any issues, because if not specified, the default value
from --os-mistral-service-type is used, which is correct. Anyway, it is
worth fixing so that it doesn't cause confusion.
Change-Id: I2c4f33d38d9ce487bde6b99455bfdb42f4f21f85
Closes-Bug: 1688219
The error can be seen in the output from `mistral help execution-create`
which currently shows:
Workflow ID or name. Workflow name will be deprecated sinceMitaka.
Note the lack of space between "since" and "Mitaka"
Change-Id: I87dbbc6d05fc39aedbf8d93889d73b437ee74775
The release notes sections need to be lists of strings. The backticks
(`) starting the string in fix-region-name need to be escaped for
the YAML parser, so mark the list entry as literal text.
Change-Id: Ib245a0098c9fab722c0edeb7a8741ced0c49fddb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
An upcoming release of pbr will require explicitly stating which
builders are requested, rather than defaulting to html and man. Head off
any potential impact this may cause by explicitly setting this
configuration now.
Change-Id: I4f960757d84a3d958caa2bef8e913b4f5dd01ccd
Fix the Sphinx html_last_updated_fmt for Python3. The
html_last_updated_fmt option is interpeted as a byte string in
python3, causing Sphinx build to break. This patch makes it
utf-8 string.
Change-Id: Ib38acb2385bc55bc1167460cff10af5e5287467e
The UTC conversion was not taking DST into account. Now, it will be
properly calculated. Added more tests to cover.
Change-Id: I991dcf1fa6fddad28a1ab9e341c55d4396e4496f
Closes-Bug: #1675388
Although mistral client already supports '--os-region-name', but it's
not passed to mistral service properly. Even user has specified
region when using CLI, mistral will still ignore the region when
initialize other openstack service client
Change-Id: Ia06779e7a5b657d044066ea4df6e4a18d035d27f