Improve help strings

Follow oslo.config style guide for help strings better to create
consistent help strings:
* Finish help strings with "."
* Add missing spaces between words

Change-Id: I6191842c253b254768bcc5c22fcfb435296f3945
Co-Authored-By: Shilla Saebi<shilla.saebi@gmail.com>
get_file_contents: use six.itervalues() instead of dict.itervalues()

This is compatible with both Python 2 and 3.

Change-Id: I7429efe3ee5fd1dabf9bb607dcd3860057a8569f
Do not use the '+' operation dict_items()

This operation is undefined in Python3, list() must be called first.

Change-Id: I764ee994b5faf0e6783e4025466e6ceb17fe3642
Replace try...except with assertRaises

Even the exception was not raised, try...except... still can pass the
test cases. So change to assertRaises.

Change-Id: Idec096d66fe8019cfa009dfa12e36bd4827485ad
Only call decode() on bytes

In Python 3, text strings are not bytes, so the decode() method should not be
called on them.

Change-Id: I081c6a93daa86586378a15d8ae98738c41bda8d0
Don't use request builtin redirect for any methods

Since Iee578ea23c842e48f2d73992804f9c2efb9c7f43 has been merged we
really don't need to use requests buggy redirect so let just do that to
have the element of less surprise.

Change-Id: Ie363edc3f21274a075f3e7363b78ece1b511d193
Fixed incorrect indentation in the tests

Change-Id: I8900ac8542a9a0fd3ea41a8031eb66e79cefecd6
Adding stack-adopt support to python-heatclient

Closes-Bug: #1262267
Change-Id: I7c337b90ad58e17f0c24fc4664fc37f642296566
Python3: fix bytes/str issues

In Python 3, tempfile.NamedTemporaryFile().write() takes bytes as input,
not a text string. Make sure we use bytes in the tests. Also, completely
fix test_get_template_contents_file by passing a string to
template_utils.get_template_contents().

Change-Id: I49070b32e44a405740e3150ccc357ec375f41e64
Merge "Adding stack-adopt support to python-heatclient"
Merge "get_file_contents: use six.itervalues() instead of dict.itervalues()"
Merge "Improve help strings"
Merge "Do not use the '+' operation dict_items()"
Merge "Only call decode() on bytes"
Update apiclient.base and reuse new functional

Module apiclient.base has several updates in oslo, so we need to sync
latest code to have ability to reuse new functional.

Updates in oslo which related to usage of apiclient.base in heatclient:
- I491f9b54c7074546cf738c6150666bfcc3966a78
- I1db6c12a1f798de7f7fafd0c34fb0ef523610153

Related to bp common-client-library-2

Change-Id: I509d6efb0c8eef87ba2e4aa02ebb44ba149a9860
Support the native signal API

The patch adds a new command to send a signal to a resource.

Change-Id: Ic0d7390e31114e1a58b700c57b838c059bf5b086
Remove None for dict.get()

Because If no default value is specified it defaults to None already.

Change-Id: I1ca522c7eebb2171d1a3efd35680ce42b89237b5
Do not use the '+' operation dict_items()

This operation is undefined in Python3, list() must be called first.

Change-Id: I07a9b81a117dfd38e04e1d92533522036f8b0f9f
Improve help strings

Follow oslo.config style guide for help strings better to create
consistent help strings:
* Finish help strings with "."
* Fix capitalization in one example
* Fix wording (use "by a semicolon")

Change-Id: I402401509481ce18bac333cd6d96554d64725b57
add output-list and output-show

This patch adds the "output-list" and "output-show" commands to heat.
The first prints a table of available outputs to stdout, and the second
prints a single output_value to stdout.

All outputs are serialized to JSON.

This patch includes tests for the new commands as well as updated
documentation.

Implements blueprint: stack-outputs-in-shell

Change-Id: Iaade16d043b2c42d14f642fde17419eaa07d0ab8
Closes-Bug: 1258622