most of our client major function require stack_id. We should
provide more specific information (at lest in function description)
to clearify that it's allowed to feed in stack name to `stack_id`
too. For example, both `heat.stacks.get($Stack_UUID)` and
Encoding the path separators results in urls refused by by apache
with 404 unless AllowEncodedSlashes is turned on, which is not
The existing encoding of path separators seems unnecessary.
Move the required module to heatclient/common.
It also moves some required functions and exceptions from
This change does the following:
- cleans up the usage of get_events so that marker and limit are only
specified in their dedicated arguments, not also in event_args
(also, specifying only in event_args still works)
- first attempts server-side nested_depth support
- falls back to the old recursive approach if the response data lacks a
link with the ref root_stack
Since there is a fallback for old heat APIs, the client change can
land before or after the heat change
This patch migrates the namespace of oslo packages from oslo.foobar to
oslo_foobar. The oslo_incubator code need to be resynced, which will be
submitted in another patch.
Convert the encode/decode functions from oslo-incubator to use
oslo.utils encodeutils, as the incubator functions are now
Also syncs oslo-incubator to 62394a3 to purge usage of strutils
from the openstack/common modules.
Note includes oslo fix https://review.openstack.org/#/c/133290/
which we need or the python3 tests won't pass.
Module py3kcompat was removed from oslo-incubator, we can use
* Sync commit of removing py3kcompat from oslo
* use six replace usage of py3kcompat
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:
Related to bp common-client-library-2
When executing commands about event and resource with
non-english resource-name, error "'ascii' codec can't
decode byte...." will occur.
Root cause is that heatclient can not generate a correct
encoded url. This Patch will use quote and safe_encode
functions to implement a url-encode process.