summaryrefslogtreecommitdiff
path: root/ceilometerclient/v1
Commit message (Collapse)AuthorAgeFilesLines
* Change default values from [] to NoneRoman Vasilets2015-06-251-1/+2
| | | | | | | | | Its well known fact that python default values initialized only once at the stage if creation function. So if we call function with parameter foo=[] as default value and change foo.append("bar") at the next call of the function default value would be ["bar"]. It will save. Change-Id: Iba9e55bc2d4dfd811ce7d068b6a9cceae7c000d6
* Merge "Triple double-quoted strings should be used for docstrings"Jenkins2015-01-201-2/+2
|\
| * Triple double-quoted strings should be used for docstringsLena Novokshonova2015-01-121-2/+2
| | | | | | | | Change-Id: Ib563a9817f6f24ce0d72fe7a8ba96cb6e35c4e46
* | Merge "Fix improper parameter setup for cacert and client certs"Jenkins2015-01-161-1/+1
|\ \
| * | Fix improper parameter setup for cacert and client certsSrinivas Sakhamuri2015-01-151-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The client passes cacert incorrectly, CA cert need to be passed in verify parameter to requests library. Also at present, key file is not being used, which if it is supplied need to be passed as a tuple in cert parameter Python requests library relevant doc link http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification Change-Id: Ie71e760bce6a78ed1444373adfa0a133e82ec434 Closes-Bug: 1408372
* | Remove redundant parentheses (except openstack.common)Dina Belova2014-12-101-7/+7
|/ | | | Change-Id: I594234648a37d283559a0365969a7fe3609079f8
* Use HTTPClient from common Oslo codeekudryashova2014-07-311-2/+21
| | | | | | | | | In the process of unification of the clients code we should reuse common functionality from Oslo. bp common-client-library-2 Change-Id: I0e027c33ee42b6de032d33269caeea33e7837f40
* Fix hacking rules: H302,H305,H307,H402ZhiQiang Fan2014-06-111-1/+1
| | | | | | | | | | Currently, OpenStack Proposal Bot tries to update requirements with global requirements, while the upgraded hacking has introduced some new rules which are not fully handled by current code. This patch fixes some simple rules which are quite straight-forward. Change-Id: If8334f69fb1ad34fbbd6ad898e0e92eb3f81e95a
* fixed several pep8 issuesChristian Berendt2014-05-161-2/+2
| | | | | | | | | | | * E122 continuation line missing indentation or outdented * E126 continuation line over-indented for hanging indent * E128 continuation line under-indented for visual indent * E265 block comment should start with '# ' Tested with pep8 version 1.5.6 (2014-04-14). Change-Id: Iaea72c74d3678061b0ac837eb8fe8c85a883bb4a
* Replace inheritance hierarchy with compositionAndrey Kurilin2014-01-151-7/+7
| | | | | | | | | In the process of unification of the clients code we should use composition to allow easier replacement with common HTTPClient. bp common-client-library-2 Change-Id: I98d2bc89d5b1a36c30771923cd1cda7925e563d5
* Replace unicode() with six.u()Kui Shi2013-10-141-2/+2
| | | | | | | | | | six.u(text) A fake unicode literal. text should always be a normal string literal. In Python 2, u() returns unicode, and in Python 3, a string. Partial Implement: blueprint py33-support Change-Id: I02849e540c1fbb1f8b02bcbfa4d9be4f60279926
* Use six.iteritems() for dictKui Shi2013-10-141-1/+3
| | | | | | | | | Fix the error: AttributeError: 'dict' object has no attribute 'iteritems' Partial Implement: blueprint py33-support Change-Id: I5dff17d1df01d6583f882f818434804d65726c51
* Replace OpenStack LLC with OpenStack FoundationZhiQiang Fan2013-09-203-3/+3
| | | | | Change-Id: Ia007da282714d8ee7337fd3b51f6dcc3b64d7ec3 Fixes-Bug: #1214176
* Ensure keystoneclient.auth_token is re-evaluatedEoghan Glynn2013-08-021-1/+1
| | | | | | | | | | Fixes bug 1207441 Force the re-evaluation of the keystoneclient.auth_token property so as to avoid missing out on the in-built refresh logic when expiry is imminent. Change-Id: I8319e9e9a71e33e089fbe2fbc812d2b6c15da927
* Start using pyflakesDirk Mueller2013-06-091-1/+1
| | | | | | | | Enable Pyflakes tests. Fix those warnings that occur. Also explicitely list the pep8 warnings that currently fail. Change-Id: Icfd7bf23007a99187cfee66cbd630e0e885bf7d3
* Fix pep H402 and H401 errorsAngus Salkeld2013-05-202-5/+5
| | | | | | This is an effort to get the pep ignores to be closer to nova. Change-Id: I451df579bbead00a8ff2c301c1a84e7c0a896002
* Correct the help info of resource-list sub-command.Jason Zhang2013-02-261-1/+1
| | | | | | Fixes: bug #1133823 Change-Id: I98691379c9c0adf78ef9ab761c2f2b203cd1ee6c
* v1-api: Added timestamp support.Lianhao Lu2013-02-202-9/+44
| | | | | | Added timestamp support for resource/sample api. Fixed bug #1118542. Change-Id: I644c480ca00f57549dc66bd387721c25d3b353c4
* v1-api: Adapted resouce/user api.Lianhao Lu2013-02-202-4/+20
| | | | | | | Added project-id support in resource api and source-id support in user api. Change-Id: I3295a36a4b3a57e9451cc042d542ead1354f8e61
* fix the fields in v1 do_meter_listAngus Salkeld2013-01-181-1/+1
| | | | Change-Id: I2ac7f9af13a38d1de0d61585f75e5955330284b7
* Pin pep8 to 1.3.3Chuck Short2013-01-072-2/+2
| | | | | | | | pep8 1.3.3 is pretty much standard across the openstack projects. Pin pep8 1.3.3 and fix associated warnings/errors. Change-Id: I7230857889d261320a0dab2c261c9f85dc0ee602 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Add support for metadata queryAngus Salkeld2012-12-122-6/+22
| | | | Change-Id: Iade319df3ab503e392f4216b2531b20642a20c31
* Fix testsJulien Danjou2012-12-062-2/+5
| | | | | Change-Id: I8c6a1c4bc4dec052fbb5f2544f519253bc8be143 Signed-off-by: Julien Danjou <julien@danjou.info>
* Revert "Remove the event class and use Meter instead."Angus Salkeld2012-11-303-19/+74
| | | | | | Just rename Event to Sample This reverts commit 46cedbcf1e0f7a329b8a895e1f97ca8b817dd319.
* Remove the event class and use Meter instead.Angus Salkeld2012-11-303-66/+13
| | | | Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
* Make sure the version is prependedAngus Salkeld2012-11-301-5/+5
| | | | Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
* Add basic functionalityAngus Salkeld2012-11-094-0/+305
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>