Fix the ceilometer trait-description-list command

command ceilometer trait-description-list is unavailable.

Change-Id: Ib6d03b11194d6a0bef190c815d948649ada6c260
Closes-Bug: #1284548
Statistics groupby handling improvement

The groupby parameter for statistics now handle single string as a
parameter. It fixes the bug where every characters of the string where
interpreted as a groupby value.

Change-Id: Ia763741d7ad5717be381b0ac2f0acb57e9f46cac
Closes-Bug: #1291935
Correct testcase content

There were two test cases in test_http.py, where the input data was the
exact same into the two cases, which means that there is an uncovered
case for the url formats currently. The test cases are renamed properly.

Change-Id: I224035e0959116668494a8b64af34eabeea1c251
Merge "Statistics groupby handling improvement"
Update v2.options docstring

We already support 'type' attribute for query, but the docstring for
build_url and cli_to_array don't refer to it.

And the urlencode with doseq=True will force filter parameters grouped
by name, so the sample in build_url docstring should be corrected too.

Change-Id: I2b526d9e23175b5378ea36e0a532052269c7f0c4
Display message on HTTPException

Display the faultstring of HTTPException if available, such as
HTTPBadRequest(400) error and HTTPNotFound(404) error.

Change-Id: I1c361ff5d02ded4af429f94fd4299d2de3798488
Closes-bug: #1297769
Revert "Fix temporary pypy gate issue with setuptools"

This reverts commit 0972c76a7734fd1f307f239fdd858d12ddde1cab
Merge "Correct testcase content"
Merge "Revert "Fix temporary pypy gate issue with setuptools""
Updated from global requirements

Change-Id: Ic9daf3cd6130b034f60f3492e91c8e335226209a
Fix some help strings

It should be ID instead of id - like in nearly all
other help strings. Also add missing "." to end of string and
use plural for one string.

Change-Id: I14c8c622978b206e092e56741ad5cc6885b2d118
Co-Authored-By: Summer Long <slong@redhat.com>
Avoid dead loop when token is string format

The token needs to be a callable object in http.Client, so we assign
a lambda expression to it when it is a string, but current implementation
will cause dead loop since it is x = lambda: x. This patch fixes it
and improves the corresponding test code.

Change-Id: Id41edd705b46196404e5cb3483a290074bde12d0
Closes-Bug: #1301877
Correct help string about insufficient_data

Replace insufficient_data to insufficient data in parameter
"--state" of alarm-create/alarm-combination-create/alarm-threshold-create
help sting.

Change-Id: Ica0ea14d19a3a6cac9491d5cbdc3be23b5c91b60
Closes-bug: #1290230
Merge "Fix the ceilometer trait-description-list command"
Merge "Updated from global requirements"
extraneous vim editor configuration comments

Many of the source code files have a beginning line:
vim: tabstop=4 shiftwidth=4 softtabstop=4

This should be deleted.

Change-Id: I0b7bd4e727c0597e7c7fb61d42684e908e001134
Closes-Bug: #1229324
Merge "Correct help string about insufficient_data"
Merge "Fix some help strings"
Merge "Display message on HTTPException"
Merge "Avoid dead loop when token is string format"