<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/common/utils.py, branch 2.0.0</title>
<subtitle>opendev.org: openstack/python-openstackclient
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/'/>
<entry>
<title>Trivial: Fix a typo.</title>
<updated>2015-11-27T05:20:44+00:00</updated>
<author>
<name>Tang Chen</name>
<email>tangchen@cn.fujitsu.com</email>
</author>
<published>2015-11-21T11:47:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=c48afe6032ad53fcdc12c749adfe2d0f006fef14'/>
<id>c48afe6032ad53fcdc12c749adfe2d0f006fef14</id>
<content type='text'>
Change-Id: I236b4f53ee23cc97900e6244ab709404cc44a4ca
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I236b4f53ee23cc97900e6244ab709404cc44a4ca
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial: Add missing doc for parameter in wait_for_delete().</title>
<updated>2015-11-26T02:19:01+00:00</updated>
<author>
<name>Tang Chen</name>
<email>tangchen@cn.fujitsu.com</email>
</author>
<published>2015-11-21T11:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=f3c69ceeb50bad5f07cc65693aed04f1a4921345'/>
<id>f3c69ceeb50bad5f07cc65693aed04f1a4921345</id>
<content type='text'>
The doc of parameter manager is missing.

Change-Id: I4e99c06ab713532d73615670ada0a61462285d76
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The doc of parameter manager is missing.

Change-Id: I4e99c06ab713532d73615670ada0a61462285d76
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Trivial: Fix wrong doc for wait_for_status()."</title>
<updated>2015-11-23T06:07:37+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-11-23T06:07:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=42a5909f6a6fa50726799e8220f8722f2b0a016f'/>
<id>42a5909f6a6fa50726799e8220f8722f2b0a016f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial: Fix wrong doc for wait_for_status().</title>
<updated>2015-11-24T01:22:22+00:00</updated>
<author>
<name>Tang Chen</name>
<email>tangchen@cn.fujitsu.com</email>
</author>
<published>2015-11-21T11:33:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=6957fb3ee7128bcabb5324bfe6f2b02a7f0dd534'/>
<id>6957fb3ee7128bcabb5324bfe6f2b02a7f0dd534</id>
<content type='text'>
Two trivial fixes:
1. docs for parameters are not sorted correctly
2. missing doc for a parameter

Change-Id: I0cfb65e0f897c391b9b6e7225251e88855b07a56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two trivial fixes:
1. docs for parameters are not sorted correctly
2. missing doc for a parameter

Change-Id: I0cfb65e0f897c391b9b6e7225251e88855b07a56
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial: Remove doc for non-existing param in format_dict().</title>
<updated>2015-11-21T11:02:32+00:00</updated>
<author>
<name>Tang Chen</name>
<email>tangchen@cn.fujitsu.com</email>
</author>
<published>2015-11-21T11:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=319fc09430d3e0ba7a3d7895d1d3a483edfcdc1b'/>
<id>319fc09430d3e0ba7a3d7895d1d3a483edfcdc1b</id>
<content type='text'>
There is no parameter named format.

Change-Id: I286006430efb2850b978b6f2abaed87216156d12
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no parameter named format.

Change-Id: I286006430efb2850b978b6f2abaed87216156d12
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow error status to be specified</title>
<updated>2015-11-18T23:48:43+00:00</updated>
<author>
<name>Mark Vanderwiel</name>
<email>vanderwl@us.ibm.com</email>
</author>
<published>2015-11-18T22:21:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=71e1adeaf07ec1bf7f2e9bdd0c93ec2c90da85f7'/>
<id>71e1adeaf07ec1bf7f2e9bdd0c93ec2c90da85f7</id>
<content type='text'>
For some apis, heat, the error status is "failed". This patch
changes the wait_for_status method to allow for the error
status to be passed in the same way as the success status.

Change-Id: I20db4051d3f5611a4b13fe23ea8798b82a40da81
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some apis, heat, the error status is "failed". This patch
changes the wait_for_status method to allow for the error
status to be passed in the same way as the success status.

Change-Id: I20db4051d3f5611a4b13fe23ea8798b82a40da81
</pre>
</div>
</content>
</entry>
<entry>
<title>validate non-ascii values for swift properties</title>
<updated>2015-11-12T17:07:57+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>stevemar@ca.ibm.com</email>
</author>
<published>2015-10-18T20:03:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=cfd2bf5882b72d6dbd09a1839b63ed41f3834365'/>
<id>cfd2bf5882b72d6dbd09a1839b63ed41f3834365</id>
<content type='text'>
skip properties that are non-ascii values, but proceed
with properties that work. log these failed values back
to the user.

Change-Id: Iaca8909f4465a01c8aebfd290b1a322823702359
Closes-Bug: 1503898
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
skip properties that are non-ascii values, but proceed
with properties that work. log these failed values back
to the user.

Change-Id: Iaca8909f4465a01c8aebfd290b1a322823702359
Closes-Bug: 1503898
</pre>
</div>
</content>
</entry>
<entry>
<title>attempt to find resource by listing</title>
<updated>2015-09-30T14:58:44+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>stevemar@ca.ibm.com</email>
</author>
<published>2015-09-25T03:39:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=83282bc5e133d8cd1718df524c1fa06add130b8a'/>
<id>83282bc5e133d8cd1718df524c1fa06add130b8a</id>
<content type='text'>
add a last-ditch effort to find the resource in question by
listing all the resources and doing a simply match for name and
id. if no match is found then raise an error, if the list call
is unsuccessful, raise the same error. we have failed this city.

Closes-Bug: #1501362

Change-Id: I0d3d7002e9ac47b17b1ef1a5534406c85b1fc753
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add a last-ditch effort to find the resource in question by
listing all the resources and doing a simply match for name and
id. if no match is found then raise an error, if the list call
is unsuccessful, raise the same error. we have failed this city.

Closes-Bug: #1501362

Change-Id: I0d3d7002e9ac47b17b1ef1a5534406c85b1fc753
</pre>
</div>
</content>
</entry>
<entry>
<title>Additional exception handling for find_resource</title>
<updated>2015-09-30T14:54:28+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>stevemar@ca.ibm.com</email>
</author>
<published>2015-09-25T03:24:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=05f5e043d8cc536c21acb51c5a9e85fac9563f47'/>
<id>05f5e043d8cc536c21acb51c5a9e85fac9563f47</id>
<content type='text'>
A few things here: 1) we need to check if the client class even
has a 'resource_class', in the case of glanceclient, it does not.

2) If everything fails we should print a better error message,
rather than a "find" failed, since some clients don't support find.

Change-Id: I6277322639e75b1635f9f3d159753efadbce1031
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A few things here: 1) we need to check if the client class even
has a 'resource_class', in the case of glanceclient, it does not.

2) If everything fails we should print a better error message,
rather than a "find" failed, since some clients don't support find.

Change-Id: I6277322639e75b1635f9f3d159753efadbce1031
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a common decorator to log 'take_action' activation</title>
<updated>2015-09-01T23:49:54+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-09-01T23:43:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=e3c46ece4a496584a54b9d39b55921990db4a7b3'/>
<id>e3c46ece4a496584a54b9d39b55921990db4a7b3</id>
<content type='text'>
Instead of duplicating the same log statement throughout
the code, the same logic can be provided by a shared decorator
that abstracts away the logging capability and unifies it behind
a common function instead.

Change-Id: Icc63bced7347c8bbf0299a4c5821425a10892a79
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of duplicating the same log statement throughout
the code, the same logic can be provided by a shared decorator
that abstracts away the logging capability and unifies it behind
a common function instead.

Change-Id: Icc63bced7347c8bbf0299a4c5821425a10892a79
</pre>
</div>
</content>
</entry>
</feed>
