Number of projects like rally pass endpoint rather than
endpoint_override when using session with heatclient.
Use endpoint as endpoint_override when not specified.
Make it backward compatible.
Change-Id: Iff977424a15ac2ce3ffdf8d7c98d5e72d25c1e91
Closes-Bug: #1643507
This is the last patch in the series that removes all remaining
oslo-incubator modules. This also removes some unused scripts
in tools.
Change-Id: I4ca11596f1a2967e7c920c4ec7709c3408854534
Move the required module to heatclient/common.
- heatclient/openstack/common/apiclient/base.py
It also moves some required functions and exceptions from
heatclient/openstack/common/cliutils.py and
heatclient/openstack/common/exceptions.py.
Change-Id: I68704c7fab9417492d8390ad05a9797f78d46907
Graduate from Oslo Incubator to oslo.i18n library.
Cleanup of unused Oslo Incubator utils.
Added optional enable_lazy() usage.
Change-Id: I5ec02477f3f52f4d7097669120581e82cced3748
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Heat's other openstack commands are using append for such feature.
This patch changes property option from KeyValueAction into append
to make them consistent.
Change-Id: I34ef34c8fa1ece4e12e20a328a70fa8b389c29d2
Closes-bug: #1639107
Add 'with_condition_func' filter param for API
template-function-list, if the param set to true,
the response will include the condition functions.
Change-Id: Ia7b4da71ed5c3da105dd23917e4921a96e445026
Closes-Bug: #1625505
Currently help string of <resource> tells "Name or ID of resource" which
is wrong - resource-show doesn't accepts ID's of resources.
Change-Id: I8b8f6c937e1119c90c0ef473c3784c0523593481
Related-bug: #1620291
If an environment file has an *empty* section, as in:
parameter_defaults:
This would ultimately fail in deep_update (in
heatclient/common/template_utils.py), which would get called with old
== None. This patch handles this situation by explicitly setting old
= {} if deep_update is called with old == None.
Change-Id: Ia7bee87cdb99e29c63c9dc163f8490fef3f24f24
Closes-bug: 1631408
So that it matches the equivalent OSC command's output. Also change
the default output-show format to 'raw' to maintain current behavior.
Closes-Bug: #1560087
Change-Id: Ia03b1633565881b4b4a7f95e7b0c5df472487f62
The stack-list help message for tags was not very helpful and was
confusing. So, changed the help message so that it is more
understandable for the user.
Change-Id: Ia49a40652a0c96ba257edb35bae4455be3373d0f
Closes-Bug: #1625011
We should not use endpoint_override by default and rather
use service_type with session. This also refactors some of
the associated code.
However, if one wants to override the endpoint they can pass
endpoint_override to the client constructor along with session.
Change-Id: I7c27d8ff827de3b4bb3e70457c0b6a3f47b6d7bb
Co-Authored-By: Rabi Mishra <ramishra@redhat.com>
Closes-Bug: #1621505
The resource name path was introduced in the 'openstack stack failures'
command and is a user-friendly way of referring to a deeply nested
resource.
This change modifies the event log formatter to build and display the
resource name path for each event based only off data in previous
events.
For building the full resource path, and omitting ugly stack names
from the resource path, the following heat change is needed
Ib8feb7752bd5736785d142216312bb35629b3601. However the output is still
improved slightly when running against an older heat which does not
have this change.
Change-Id: I86b687fc516da215a6baeef8b365a520d12a8ab1
Closes-Bug: #1619415
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I9b7c8c7e37ee9861a63489f5b8fd611f2d31946e
We can initialize the 'mox' of module mox3 in __init__.py,
then in these files that have modified, we only have
'import mox' other than 'from mox3 import mox', which can
make the code smaller and clear.
Change-Id: Ic09597a7205eed47bd3cff03d1e7bc78744e52d4
Refactoring code: Making 'kwargs' dict to use single instruction: pop()
rather than two instructions: get() and del, giving the codes a format
that carries through.
TrivialFix
Change-Id: I2b2221e92495beb88be8feb76adbc4d756a180f2
This adds parameter_merge_strategies section to environment.
This also adds the missing section parameter_encrypted_names.
We use a server side module and a client side module that have
deviated over a period of time. This patch syncs them. We probably
should move these to a library and use use them for both server and
client in the future.
Change-Id: I9b20a7cedd416b6d8b788a30f66e472b85babf4a
Blueprint: environment-merging
This will allow library calls to have more control over the depth of
events which are logged.
Change-Id: Iecb8c89745f916c50936e013a62176d586cfcc63
Closes-Bug: #1616682