Commit Graph

553 Commits

Author SHA1 Message Date
Tony Breeds 2c4701236a Retire Packaging Deb project repos
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
2017-09-12 16:02:12 -06:00
Jenkins 6696c55574 Merge "Add CLI for event trigger operations" 2017-07-25 08:38:00 +00:00
Jenkins 9b4892e4ac Merge "Update and optimize documentation links" 2017-07-25 04:52:28 +00:00
Jenkins 0f2837237b Merge "String interpolation should be delayed" 2017-07-24 15:27:35 +00:00
Jenkins 72c0c79490 Merge "Apply Pike document structure" 2017-07-24 13:58:48 +00:00
Sharat Sharma fec9664699 String interpolation should be delayed
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
2017-07-21 17:42:38 +05:30
Adriano Petrich 8298675d5a Give better tox output
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
2017-07-21 10:45:25 +01:00
Sharat Sharma caea13c29c Apply Pike document structure
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
2017-07-21 07:10:29 +00:00
OpenStack Proposal Bot d94b82b3bc Updated from global requirements
Change-Id: I8627c0b1aeabf42ded24ede96fabf37648596e75
2017-07-21 05:07:19 +00:00
Hangdong Zhang d3e1f74e22 Update and optimize documentation links
1. Update URLs according to document migration
2. Update the dead and outdated links
3. Optimize (e.g. http -> https)

Change-Id: I482921e10cb93a7ff87a568b2dad9693ec93edb2
2017-07-21 09:57:38 +08:00
Jenkins 6cb80802d4 Merge "Enable warning-is-error in doc build" 2017-07-20 12:35:17 +00:00
Sharat Sharma 331574d926 Enable warning-is-error in doc build
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
2017-07-14 05:33:03 +00:00
OpenStack Proposal Bot 91cae332c5 Updated from global requirements
Change-Id: I9989764c2d2afdeb75d78f576ee05dbc49a3c8f5
2017-07-13 14:24:09 +00:00
Sharat Sharma b7acbde407 Add CLI for event trigger operations
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
2017-07-11 16:48:17 +05:30
Sharat Sharma fabec4fafc Set the default value of --limit parameter
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
2017-07-11 11:53:02 +05:30
Jenkins f302e1ce80 Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-05 10:27:54 +00:00
Jenkins 64ed297e69 Merge "Enable some off-by-default checks" 2017-07-05 10:02:13 +00:00
Sharat Sharma 70202760f6 Switch from oslosphinx to openstackdocstheme
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
2017-07-05 05:10:54 +00:00
OpenStack Proposal Bot d4d41137ac Updated from global requirements
Change-Id: I37d0cfb410492d4b32a608dfaf58c403222f0656
2017-06-27 12:21:53 +00:00
wangzhenyu 5473625e66 Enable some off-by-default checks
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
2017-06-27 16:55:56 +08:00
Jenkins 4ba4f6a274 Merge "Replace request mocking in test_httpclient with requests-mock" 2017-06-21 14:53:36 +00:00
Tovin Seven c9699085aa Make --profile load from environment variables
--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
2017-06-19 13:37:32 +07:00
OpenStack Proposal Bot cbfe42acae Updated from global requirements
Change-Id: Ibdcb452661e6a73b268322a398f36df1056f991a
2017-06-10 21:48:21 +00:00
OpenStack Proposal Bot 591b855365 Updated from global requirements
Change-Id: I81972cc13691f8e11ea408b0d210ccbe7b6a7132
2017-06-02 22:06:57 +00:00
Sharat Sharma 5ed35370b4 Replace request mocking in test_httpclient with requests-mock
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
2017-05-31 11:23:03 +00:00
OpenStack Proposal Bot 7704c5523b Updated from global requirements
Change-Id: Ib63f6cce860606a8ca88f032234bfd24c1d01808
2017-05-23 11:59:23 +00:00
Jenkins d721cbb619 Merge "doc: Remove cruft from conf.py" 2017-05-19 14:39:01 +00:00
OpenStack Proposal Bot e2506df42d Updated from global requirements
Change-Id: I27253a089fa5ed37c9354e1d5c50cc510910e32c
2017-05-17 03:58:03 +00:00
Jenkins edf1b1f1a6 Merge "Change service type to workflowv2" 2017-05-10 05:28:04 +00:00
Jenkins 67fc1b8335 Merge "Add a missing space to the help message for execution-create" 2017-05-07 12:34:18 +00:00
Boris Bobrov b8946b7049 Change service type to workflowv2
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
2017-05-05 14:25:18 +03:00
OpenStack Proposal Bot 0f97a492eb Updated from global requirements
Change-Id: I20807c9f467f1ccb68aa9e0bcf91a71992f0518b
2017-05-04 13:30:43 +00:00
OpenStack Proposal Bot 5b36b07300 Updated from global requirements
Change-Id: Ic99855a3591a86b6caed84756c087d745f3e4869
2017-05-01 13:40:32 +00:00
OpenStack Proposal Bot fd5ddcc743 Updated from global requirements
Change-Id: I9eb1f6a051b68e3a9f5a4f4638b2fc67ee5b6235
2017-04-26 18:19:06 +00:00
Dougal Matthews 2a770dca15 Add a missing space to the help message for execution-create
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
2017-04-25 12:12:32 +00:00
Jenkins bf4b8085ec Merge "Explicitly set 'builders' option" 2017-04-25 06:07:53 +00:00
Doug Hellmann ddbb43a36c fix release note formatting
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>
2017-04-24 11:01:32 -04:00
Stephen Finucane 25a29b7337 Explicitly set 'builders' option
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
2017-04-24 10:09:30 +01:00
Stephen Finucane 8c57d07e0c doc: Remove cruft from conf.py
Change-Id: Id36c33ec77ab5b3dfc443f43c3efde50a53ad2ec
2017-04-24 06:06:44 +00:00
Sharat Sharma 6c8a32c6de Fix doc generation for python 3
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
2017-04-17 16:14:58 +05:30
Jenkins 9e6ff999c1 Merge "Optimize the link address" 2017-04-12 10:44:33 +00:00
OpenStack Proposal Bot dcf143813f Updated from global requirements
Change-Id: I3f7037e19e47b824ec02e81da23a2e086ea024c3
2017-04-12 04:21:29 +00:00
Sharat Sharma 0cd144dfcc Optimize the link address
Use https instead of http to ensure the safety

Change-Id: I65e01fc31ba9ddf6e57cfe2e8166ae471a57051e
2017-04-10 17:07:38 +05:30
Jenkins f87b28da71 Merge "Remove log translations" 2017-03-29 10:00:35 +00:00
Jenkins 09fdd04a27 Merge "Update the gitingore" 2017-03-24 17:36:00 +00:00
Jenkins 75849ce0d0 Merge "Add release note for region name bugfix" 2017-03-24 17:35:30 +00:00
Lingxian Kong 4b8fc0262c Add release note for region name bugfix
For https://review.openstack.org/#/c/448321/

Change-Id: I780b459466914e39c84815b412997465749ebbc8
2017-03-24 10:38:08 +13:00
Brad P. Crochet 4075484cb5 Take DST into account when converting to UTC
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
2017-03-23 08:33:11 -04:00
Lingxian Kong 6ae1bad9a0 Fix region support in mistralclient
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
2017-03-22 15:21:01 +13:00
Sharat Sharma 5b02531b13 Update the gitingore
Updating the gitingore files for *.swp, egg and coverage files.

Change-Id: I5349a2c16e5f286a9131a4d9bd356f837d8a8680
2017-03-22 02:43:12 +05:30