Commit Graph

282 Commits

Author SHA1 Message Date
Tony Breeds 6174592d15 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: I6cf3a777f59c1ef4798af4e0293c00afb2ead5c4
2017-09-12 15:55:40 -06:00
Jenkins ee17a4cd9a Merge "Docs: switch to openstackdocstheme" 2017-07-24 17:44:38 +00:00
Jenkins f6ab244e22 Merge "Update documentation URLs" 2017-07-17 21:43:04 +00:00
Hanxi Liu d9802e0275 Docs: switch to openstackdocstheme
Project documents are being reprocessed due to document migration[1].
Update the docs theme to openstackdocstheme instead of oslosphinx.

[1] https://review.openstack.org/#/c/472275/

Change-Id: I749481139eddc4df012d2a63a4c5c258a72692d1
Co-Authored-By: chenxing <chen.xing@99cloud.net>
2017-07-17 13:46:04 +00:00
Mehdi Abaakouk ddb1dd404c Fix gnocchi/pifpaf requirements
Don't use gnocchi from master.

Use gnocchi flavor of pifpaf.

Change-Id: I0a97772c6f494dd366803b27e540b6150ac1a065
2017-07-17 11:29:47 +02:00
Tovin Seven d80704a474 Update documentation URLs
Just update some dead links after a huge wave of document migration.

Change-Id: If9d511c11f8fa58ad8241e093403dd139986818b
2017-07-14 14:02:06 +07:00
Julien Danjou b40bd10601 Fix Gnocchi tarball URL
Change-Id: I65c8a9d82f960c2e4037b967987050dea6eb490c
2017-05-22 12:43:26 +02:00
Jenkins 9eb47e722b Merge "cleanup coveragerc" 2017-05-18 21:27:55 +00:00
gord chung f0b5c1da3c block sphinx 1.6.1
causing doc gen issues: https://github.com/sphinx-doc/sphinx/issues/3766

Change-Id: I497526dcfaffe5c9bab04ebdc9377454919a19fe
2017-05-18 19:22:42 +00:00
gord chung 4355decbed cleanup coveragerc
aodhclient/openstack/* does not exist

Change-Id: I1649c52d1a55a93fd005b7764fd5dd367fe2c109
2017-05-16 19:19:39 +00:00
Jenkins 484a5ee113 Merge "Remove log translations" 2017-03-30 12:26:54 +00:00
Julien Danjou d59ae539e3 tests: stop using Ceilometer legacy resource types
Change-Id: Ifb600c8b0d3eb0ebd9be9a3d69c5e20a1a394e28
2017-03-21 15:56:13 +01:00
Rui Yuan Dou c394cd1330 Remove log translations
Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I960205582732dc12a29c5376549435a3a0f9f885
2017-03-21 15:09:26 +08:00
Julien Danjou eb827601af Remove upper cap on pbr
Change-Id: I119e5c0601994ff22a42db375e54fa3e90edda6d
Signed-off-by: Julien Danjou <julien@danjou.info>
2017-03-01 17:43:49 +01:00
liusheng 8a4e9b0776 Clean deprecated "query" paremeter in alarm.list()
Change-Id: I233dde6a89c57af39ac968a84a012627a6672571
2017-02-21 08:54:41 +08:00
Jenkins d7a96eafc8 Merge "Trivial-fix: make the capabilities help message more specific in OSC" 2017-02-18 13:33:22 +00:00
Jenkins 103ea32685 Merge "Remove the duplicated __version__ definition" 2017-02-18 13:28:59 +00:00
liusheng 09caf83ee8 Correct the port number of gnocchi endpoint
Change-Id: I0277b6df1050c8a39f5e119c974636f490e5a7ee
2017-02-15 17:19:03 +08:00
liusheng 929103779a Trivial-fix: make the capabilities help message more specific in OSC
This change make the capabilities message more specific in OpenStackclient
CLI.

Change-Id: I2cad2629dc14e5842e7f2edc1ea08a36e8d0c35d
2017-02-14 09:43:45 +08:00
liusheng 62559471f4 Remove the duplicated __version__ definition
Change-Id: I98e5bad0eff7f93609a1a81bb51045fa37c42062
2017-02-10 08:42:47 +08:00
Hanxi Liu e4e2982eb3 Trivial: remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I6285c437afecf838ec1357633369b01d31599e5c
2017-02-10 00:04:04 +08:00
OpenStack Release Bot 9b0e8d2d89 Update reno for stable/ocata
Change-Id: Id2d097053c5b21b2292f6f30a0578ea5f28e60dc
2017-01-31 23:36:19 +00:00
Julien Danjou 87885be347 Remove unused test dependency
Change-Id: Ib2c69d3f22e67c1e33a6e117155fa4c88c68e836
2017-01-22 09:48:51 +01:00
Jenkins 2f7a9c4dac Merge "Modified the help info." 2017-01-22 01:25:23 +00:00
Julien Danjou d028ca5ff4 Extras usage for test requirements + basic auth against Gnocch
This switches the deps in test/doc section in extras.
Also fix Gnocchi authentication with pifpaf which is by default to basic now
(Gnocchi 3.1).

Change-Id: Ida3be5d986941c8c312a72c9066672fbb6ea8c25
2017-01-21 10:58:07 +01:00
houweichao b5e29ecd29 Modified the help info.
When get or set the state of alarm, the help infomation is shown
as "Delete the alarm" which is wrong. This commit modified the
help infomation.

Change-Id: I148e1a2b0fe44cc136a81cac1ac3a425449bfa61
2017-01-17 07:11:59 +00:00
Jenkins 98135d6b74 Merge "Replaces uuid.uuid4 with uuidutils.generate_uuid()" 2017-01-04 09:04:43 +00:00
Kevin_Zheng 223405b5ef Enable coverage report in console output
Enable coverage report in console output

Change-Id: Ia03a5c9814054e02ad1114281814378fc4931311
2017-01-04 08:55:07 +08:00
Tony Breeds b9f4451ca3 [doc] Note lack of constraints is a choice
Change-Id: I4abd68b08a7f1520106407dea2a9e55e5f6eef2f
2016-12-21 09:47:38 +11:00
zhangguoqing a286b162e2 Replaces uuid.uuid4 with uuidutils.generate_uuid()
Openstack common has a wrapper for generating uuids. We should
use that function when generating uuids for consistency.

Change-Id: I3ea3355a7f04d5b86c8b0b197fcdbe2f0644b191
Closes-Bug: #1082248
2016-12-07 04:53:54 +00:00
Julien Danjou fc26f0fc81 Bump hacking to 0.12
Change-Id: Id63575911ca1897602f62b5050dc4cdcec708930
Signed-off-by: Julien Danjou <julien@danjou.info>
2016-11-07 22:45:07 +01:00
KATO Tomoyuki 7f0ce54249 Add plug-in summary for osc doc
Stevedore Sphinx extension handles this comment.
http://docs.openstack.org/developer/python-openstackclient/plugin-commands.html

Change-Id: Id999b32cf00a79b1344a8fbaff55f8bd33b5b13d
2016-10-14 13:56:35 +09:00
Andreas Jaeger 6c185c5e68 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: Ia09573b300c05c53b5cee68472b0bb2b8945c391
2016-10-06 20:48:47 +02:00
Thomas Bechtold 4547e0e4a3 Add missing pyparsing to requirements.txt
It's used in aodhclient/utils.py .

Change-Id: I3709de4e99089b294d2b5e22622b73299c9d6b4c
2016-09-27 10:22:50 +02:00
Cao Xuan Hoang 15c5191693 Clean imports in code
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I188257e8b678ccf8fa9d43d32832b574becb0cf7
2016-09-23 15:43:31 +07:00
Jenkins 957cc6412c Merge "Update reno for stable/newton" 2016-09-13 13:47:50 +00:00
Doug Hellmann 028a4af377 Update reno for stable/newton
In order to support automatically updating the release notes when we
create stable branches, we want the pages to be in a standard order.
This patch updates the order to be reverse chronological, so the most
recent notes appear at the top.

Change-Id: If79ffa54e2a541f0fd983930de915fbea4be8bd9
2016-09-07 17:14:29 -04:00
xiaozhuangqing b5a438e879 Remove 'MANIFEST.in'
Everything in this file is automatically generated by pbr.
There appears to be no good reason to keep it around.

Change-Id: I87856acf2e5f200aa1cb7bf3f641c6081bcc935d
2016-09-05 14:24:35 +08:00
Jenkins 9ea45584f2 Merge "add default value for http_status in ClientException" 2016-08-29 13:54:42 +00:00
Jon Schlueter db33c2c561 Use osc-lib instead of openstackclient
osc-lib is a package of common support modules for writing
OSC plugins.  all common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.

So use osc-lib instead of openstackclient

Depends-On: I095209c241876c6ab48595962e07144fc5cc34a6
Change-Id: Id864c001b35c2ff3f3d92cdd8df97d0206c607c3
2016-08-23 07:46:57 -04:00
Hanxi Liu 54b396cd76 Trival: Remove unused logging import
Change-Id: Iedcc4e478b9d1276773d47a401d442b0165e7dcb
2016-08-05 01:24:23 +00:00
Jenkins 0f4892a4ed Merge "Fix incorrect string format mapping" 2016-08-03 12:54:09 +00:00
Mehdi Abaakouk a3eeac27d2 Fix incorrect string format mapping
Change-Id: I07919b53036ce07eb4372f2479110d0bb81c9bbf
2016-08-02 15:31:42 +02:00
Jenkins 492b71c523 Merge "Remove discover from test-requirements" 2016-07-26 12:30:30 +00:00
Swapnil Kulkarni (coolsvap) ac4c3ddd0d Remove discover from test-requirements
It's only needed for python < 2.7 which is not supported

Change-Id: If8071230a4fca0f468cec99349bf352b1b435bd6
2016-07-21 17:14:27 +00:00
Jenkins 65d2e625ee Merge "Support get/set alarm state interfaces" 2016-07-18 06:19:26 +00:00
PanFengyun 2a559933c1 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: Ieefefface8c9d40d60f9a11e7fc789dc4ae76cb5
2016-07-14 11:21:04 +08:00
Kevin_Zheng f39ec4348d Add event_id for alarm-history display
We only shows timestamp, type, and detail when calling alarm-history show;
As for the pagination implementation, alarm-history can only marked using
event_id, so it is not easy to use for CLI users, we should also provide
event_id when we display the results.

Change-Id: I2f8cf1d2dd9d6ddf28652ad8ccb4a25d2ec1082b
Closes-bug: #1589480
2016-06-16 14:09:44 +08:00
Kevin_Zheng 3f3087f534 Add pagination support in Aodhclient
Aodh now supports pagination. We should add it for
aodh client.

Change-Id: Ia0163cf1330dfec8880058c88966263c2e971f3c
Closes-Bug: #1538927
2016-06-16 11:17:30 +08:00
Kevin_Zheng 93080b86a1 Split alarm query and alarm list in SDK layer.
As discussed in the review of
https://review.openstack.org/#/c/321394/
split alarm query and list in the
SDK layer will make the code more
easier to understand.

Change-Id: Ic1ec81b1e25f6bf3a7913b68310f2fc853fcc5d5
2016-06-15 13:59:48 +00:00