summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Allow all pep8 checksDina Belova2015-01-126-34/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix H405 pep8 issue. H904 issue check was ignored, although there were no places in client code violating this rule. Change-Id: If3b84eb8abb03511d7f77cabfa2955f472a60f23
* | | | Merge "Fix H105 pep8 error"Jenkins2015-01-205-10/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Fix H105 pep8 errorDina Belova2015-01-125-10/+1
| | | | | | | | | | | | Change-Id: I4587bc2d57c35eef772fbaf3483dfb58c3ae9309
* | | Merge "Fix improper parameter setup for cacert and client certs"Jenkins2015-01-165-20/+46
|\ \ \
| * | | Fix improper parameter setup for cacert and client certsSrinivas Sakhamuri2015-01-155-20/+46
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Update hacking to global requirements"Jenkins2015-01-132-2/+3
|\ \ \ | | |/ | |/|
| * | Update hacking to global requirementsDina Belova2015-01-122-2/+3
| |/ | | | | | | Change-Id: I70ac868c35b2e8f07917657a05e0cd1141e687ab
* | Merge "Remove redundant parentheses (except openstack.common)"Jenkins2015-01-133-9/+9
|\ \
| * | Remove redundant parentheses (except openstack.common)Dina Belova2014-12-103-9/+9
| | | | | | | | | | | | Change-Id: I594234648a37d283559a0365969a7fe3609079f8
* | | event-list should sort by timestamp, not idZhiQiang Fan2015-01-132-1/+48
| |/ |/| | | | | | | | | | | | | | | | | Currently, event-list output will be sorted by message id, that is because table field 0 is the default sort field. But sort by id makes no sense, and REST API returns events by timestamp order, so let's keep consistent with upstream. Change-Id: I524b05ed5ff9db34430afd722991d02545c263cb Closes-Bug: #1406622
* | Updated from global requirementsOpenStack Proposal Bot2015-01-091-1/+1
| | | | | | | | Change-Id: Ia62d0716800d753504d29a687471712b303a8a1a
* | Merge "Support ceilometer-url and os-endpoint"Jenkins2015-01-094-25/+50
|\ \
| * | Support ceilometer-url and os-endpointZhiQiang Fan2015-01-084-25/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ceilometerclient has messed up with (ceilometer-url and os-endpoint) and (os-auth-token and token). This patch marks ceilometer-url and auth-token as deprecated, and unifies the two pairs arguments. Change-Id: Id55e5b603d8075018cf45b9833d397173439b3ce Closes-Bug: #1396811
* | | Merge "sync to latest oslo-incubator code"Jenkins2015-01-088-90/+195
|\ \ \
| * | | sync to latest oslo-incubator codeZhiQiang Fan2014-12-268-90/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch also syncs with latest oslo-incubator, to solve bug 1354470 and safe log auth token when --debug is enabled, see https://github.com/openstack/oslo-incubator/blob/master/openstack/common/apiclient/client.py#L128 Note, this patch also removes importutils.py since it is no longer used. Change-Id: I4f2d18ef05c3be27cf2ee3474761408e3f5ccbcd Closes-Bug: #1354470
* | | | Merge "Add apiclient to openstack-common.conf"Jenkins2015-01-081-0/+1
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Add apiclient to openstack-common.confZhiQiang Fan2014-12-261-0/+1
| | | | | | | | | | | | | | | | | | | | | No matter what we do with apiclient in future, we should include it in openstack-common.conf file since we're using it. Change-Id: Ibcf90a394c78bdd38235a0214ac07cfd4f38f927
* | | Merge "Add client property for common.base.Manager"Jenkins2015-01-081-0/+5
|\ \ \ | |/ /
| * | Add client property for common.base.ManagerZhiQiang Fan2014-12-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latest oslo-incubator.apiclient code assumes resource manager has property named client, but ceilometerclient has named that property to api, which will cause problem when we sync with oslo-incubator. This patch simply uses client as an alias of api. Change-Id: I90c5ff10309ff7ad3fb634274e16c26ec8e6a1a2
* | | Merge "Enable --os-insecure CLI option"Jenkins2015-01-074-3/+46
|\ \ \ | |/ / |/| |
| * | Enable --os-insecure CLI optionZhiQiang Fan2014-12-064-3/+46
| |/ | | | | | | | | | | | | | | | | | | | | | | | | --os-insecure is not correctly passed to Keystoneclient because it expects a bool type but we assgin a string value to the insecure parameter, this patch fixes it by using oslo.utils.strutils.bool_from_string. --os-insecure is ignored by Ceilometerclient.v2.client because it expects parameter verify rather than insecure, this patch fixes it by converting insecure to verify if that field is not set. Change-Id: I545de167cdf8cfec6b5c67984b74327fb76c513a Closes-Bug: #1394449
* | Merge "Allow graceful shutdown on Ctrl+C"Jenkins2014-12-121-0/+3
|\ \
| * | Allow graceful shutdown on Ctrl+Cliu-sheng2014-12-121-0/+3
| | | | | | | | | | | | Change-Id: If02a849af2b0dd471ffa078a53864b3cf751b9bb
* | | Updated from global requirementsOpenStack Proposal Bot2014-12-111-1/+1
|/ / | | | | | | Change-Id: Ie3dd873d681b85749d48a3bb1abc90a8e8fa92c7
* | Make methods static where it's possibleDina Belova2014-12-104-5/+10
| | | | | | | | Change-Id: If6c1fa05044e65ec1e72a3e5f63e6db826469a2d
* | Merge "Fix old-style classes declaration"Jenkins2014-12-102-5/+5
|\ \
| * | Fix old-style classes declarationDina Belova2014-12-102-5/+5
| |/ | | | | | | Change-Id: I8759dd64637e5150f6744d0989eaa5e584487f5e
* | sync with oslo and use oslo.i18ngordon chung2014-12-058-783/+74
|/ | | | | | | | | - remove strutils and gettextutils from openstack/common - start use of oslo.i18n sync to Change-Id: Ia1820495a989f4f84530ab83f2d87d53a9f761df Change-Id: I7e2ead688ac9fcab0ac6a2479e0eca12af415b07
* Workflow documentation is now in infra-manualJeremy Stanley2014-12-053-5/+5
| | | | | | | Replace URLs for workflow documentation to appropriate parts of the OpenStack Project Infrastructure Manual. Change-Id: I847846e69a72c9c6ff2a6bf7139ba31d0a77d606
* Merge "Support os-endpoint-type"Jenkins2014-12-041-2/+3
|\
| * Support os-endpoint-typeZhiQiang Fan2014-11-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Ceilometerclient will always get publicURL even though we specify endpoint type via arguments, it is because we call kesytone session with wrong keyword argument, which should be interface rather than endpoint_type. see: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/auth/identity/base.py Change-Id: Ic2b03bd900d913c7efd22c9b91dfaa79e0cdd4bc Closes-Bug: #1396493
* | Merge "Alarm TimeConstraint display incorrect"Jenkins2014-12-032-4/+38
|\ \
| * | Alarm TimeConstraint display incorrectRohit Jaiswal2014-11-252-4/+38
| |/ | | | | | | | | | | | | Added test case for print_dict function Change-Id: I3ab8a4e25f946b409ede2a598a5b9cf8593a044e Closes-Bug: #1395110
* | Updated from global requirementsOpenStack Proposal Bot2014-11-271-1/+1
| | | | | | | | Change-Id: I11640390b2eacdb73aba30ca56e6a5d7ee44e36a
* | Merge "Add `requests` to requirements"Jenkins2014-11-271-0/+1
|\ \ | |/ |/|
| * Add `requests` to requirementsAndrey Kurilin2014-11-241-0/+1
| | | | | | | | | | | | | | This library is used by default for all HTTP calls, so it should be in requirements of ceilometerclient. Change-Id: I298f1d6279c5bb9d4ed85760f2fdba00c4c3ada9
* | Merge "Fix wrong initialization of AuthPlugin for keystone v3"Jenkins2014-11-252-7/+42
|\ \
| * | Fix wrong initialization of AuthPlugin for keystone v3ZhiQiang Fan2014-11-112-7/+42
| |/ | | | | | | | | | | | | | | Ceilometerclient doesn't pass domain related arguments to AuthPlugin, which will cause keystoneclient v3 cannot be used properly. Change-Id: I2554a36f214c0eae61b7ba6b8580c41b8f8c6370 Closes-Bug: #1391122
* | Merge "Add --slowest option for testr"Jenkins2014-11-251-1/+1
|\ \
| * | Add --slowest option for testrZhiQiang Fan2014-11-131-1/+1
| |/ | | | | | | | | | | | | Enable --slowest option for testr, so we can observe the worst performance unit test cases of all. Change-Id: I7a5ce4b44a3571da9156a37657d16c8a2f468319
* | Fix timeout argument not treated as integerZhiQiang Fan2014-11-144-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | Currently, if we specify --timeout 30 in CLI commands. we will get 'a float is required' error. Since we already specify timeout is ingeter in ceilometer.v2.client, this patch converts CLI argument timeout to integer. Note, if zero is passed to v2.client, we treat it as disable timeout. Change-Id: I213b6c24964095297cb4e87c25bb871ebd668bb4 Closes-Bug: #1391606
* | Refactor tests/test_shell.pyZhiQiang Fan2014-11-131-18/+10
|/ | | | | | | Remove unnecessary help test for keystone shell test. Change-Id: I4891a3e7d13f924ba0a1f7c57e87cd092ed8f9ff Closes-Bug: #1391965
* Updated from global requirementsOpenStack Proposal Bot2014-11-052-2/+2
| | | | Change-Id: I2496cedfb28040d9df1af0fc5a11b382b9850ca3
* Merge "Add CONTRIBUTING.rst"Jenkins2014-10-201-0/+16
|\
| * Add CONTRIBUTING.rstliuqing2014-10-171-0/+16
| | | | | | | | | | | | There is no CONTRIBUTING.rst file, the patch will add it. Change-Id: I979aca09917f20991ccdc7d4c5d1612fcd1f24c0
* | Updated from global requirementsOpenStack Proposal Bot2014-10-112-2/+2
|/ | | | Change-Id: I134101a2979edbadce352d9f2291db4fa603e59e
* Updated from global requirementsOpenStack Proposal Bot2014-10-072-2/+2
| | | | Change-Id: I7bcaf9b4cf342d66d78011c197d038abf1404fec
* sync oslo codeicehouse-eol1.0.12stable/icehousegordon chung2014-10-0210-325/+643
| | | | | | | | | | | - sync code up to Change-Id: Ie6064e73abe4b0729498a0343d50e1be35684b75 - includes fix to resolve alarm-evaluator failure - does not include openstack/common/strutils sync as it requires test update Co-Authored-By: Vaibhav Kale <vaibhav_kale@persistent.co.in> Closes-Bug: #1357343 Change-Id: Ieec08520cb39c5bf2e795dfeb3e36e52c6fd2a82
* switch to oslo.utilsgordon chung2014-09-295-16/+15
| | | | | | | oslo.utils is released and corresponding code in oslo-incubator has been removed. Change-Id: Ic3a13380809a8b00c979e5ac405b4084f486a31d
* Merge "Fix a help string nit for statistics command"1.0.11Jenkins2014-09-211-1/+1
|\