Added missed files to create venv with run_tests.sh

Change-Id: If5ea42ea75ee25bc321fba85a86161ef22a7f197
Closes: bug #1273795
Enable hacking H233 rule

H233: Python 3.x incompatible use of print operator

Python 3 support is a good feature for OpenStack service client,
and we already have a patch for H233 but still ignore it in hacking check,
we can enable it to avoid introducing such problem again.

Change-Id: I5295ef62eef7a9f6ec7f2b67d6b68dbe2dec7067
ref: https://review.openstack.org/#/c/52841/
Add pagination (limit and marker) to stack-list

Add support for ``limit`` and ``marker`` on stack-list and remove
unnecessary ``page_size`` parameter.

When using ``limit`` and/or ``marker``, stack-list will keep previous
behavior and list all stacks starting from ``marker`` up to ``limit``,
even if limit exceeds API limit restrictions, by using multiple calls
to /stacks endpoint.

Partial-Bug: 1268816
Change-Id: Ifb08c1aadd3629d60ddc56ffc507c99b9dba80ce
Add filter option to stack-list

Add ability to use filters on stack-list by passing a ``--filters``
options to the command line.  This option can appear multiple times or
be used once with several key=value filters separated by semicolons.  If
the same key appears more than once, both will be taken into account
when sending the request to the API.

e.g.:
The option:
``--filters status=COMPLETE;status=FAILED``
Will issue the call:
 ``/stacks?status=COMPLETE&status=FAILED``

Closes-Bug: 1268816
Change-Id: I553d6b5e3ceebdb24dcd4e4c8e409a4375d72333
Allow environment to not have resource_registry

If you try to use an environment file that contains only parameters,
or even nothing, you get a NoneType error as the client is expecting
there to be a value in the resource_registry section. This stops that
error, thus allowing environment files to be empty or just contain
parameters.

Change-Id: I0c6c3bb60182915df346ebf8dd4e98ccc652ffb1
Closes-Bug: #1273881
Enable default in bash completion

This adds default options to bash completion, allowing to put filenames
after options like --template-file.

Change-Id: I8881028186f26d8fccb611daabf92ba028ca41a8
Merge "Added missed files to create venv with run_tests.sh"
Merge "Enable default in bash completion"
Merge "Enable hacking H233 rule"
Merge "Add pagination (limit and marker) to stack-list"
Merge "Add filter option to stack-list"
Port to python requests

Since python requests has builtins SSL verification we can get ride of
our own implementation.

Increase tests coverage of heatclient.common.http along the way.

Partial Implements: blueprint python-requests-port
Change-Id: I04a169da2334acc91e538ca02cba79d9765752b5
Add more default CA paths

Added the default CA path for Mac OSX as well as the bundled
CA pem that comes with the requests module.

Change-Id: Icb202e04de48b75c43b5ce183e55d2e9e44f72b4
Closes-Bug: #1266581
python-heatclient stack-abandon support

Adding stack-abandon support for python-heatclient.

Partial-Bug: #1262267
Change-Id: Ifaec08558103137fe8288d00ba8d7188f01afe03
Add optional args arg back to do_list

Without this change "heat list" does not work.

Change-Id: Ie0bc4d0964fcb9d7a5e3271b739f053eb1c701fd
Closes-Bug: #1278178
Fixes environment file using correct YAML format

An internal unexpected exception is raised while create a stack with an
environment file which only has string content. We should handle the case
and raise the correct error message such as "environment file is not Yaml
format".

Change-Id: I4e124db6a8dca9cf811f151ae95058cdaae16a01
Closes-Bug: #1273974
Merge "Add more default CA paths"
Python3: use six.iteritems() rather than dict.iteritems()

This is compatible with both Python 2 and 3.

Change-Id: If8c3a4a6fe028a3a1dc6899f0f4e65c89403d267
normalise_file_path_to_url: use urlutils.pathname2url

Directly using urllib.pathname2url prevents this part of the code from working
with Python 3.

Change-Id: I9c0d295c321c1a16ef797efa856118fbd42ca950
Decode all headers before logging curl commands

This fixes an issue with username with utf8 characters, heatclient would
crashes while it is supported in keystone.

Closes-Bug: #1269779
Change-Id: I10906cc3876a5e2916dd00e5d96070bc05c832be