<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/tests/common/test_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>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>Add tests for find_resource()</title>
<updated>2015-10-01T16:46:16+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2015-10-01T16:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=97659adf53c28ae77e47573492636d55a549947f'/>
<id>97659adf53c28ae77e47573492636d55a549947f</id>
<content type='text'>
Add a couple of tests for utils.find_resource() for the odd resources
and managers without resource_class.

Change-Id: I2ed9b491d1361b5259b3a5f80b4fac787a7087c1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a couple of tests for utils.find_resource() for the odd resources
and managers without resource_class.

Change-Id: I2ed9b491d1361b5259b3a5f80b4fac787a7087c1
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --os-endpoint-type cli optional argument</title>
<updated>2015-07-02T17:10:46+00:00</updated>
<author>
<name>Roxana Gherle</name>
<email>roxana.gherle@hp.com</email>
</author>
<published>2015-05-22T23:22:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=5521e4c504c6a3a06f17a9e4f80444743aa293c7'/>
<id>5521e4c504c6a3a06f17a9e4f80444743aa293c7</id>
<content type='text'>
User should be able to specify the endpoint type through
a CLI optional argument/ENV variable setting. We will name this new
optional argument: --os-endpoint-type (Env: OS_ENDPOINT_TYPE) and
based on the value given, the service API will use that specific
endpoint type. Possible values: public, admin, internal.

DocImpact
Closes-Bug: #1454392
Change-Id: Ife3d4e46b44c0ddcd712b1130e27e362545a9a29
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
User should be able to specify the endpoint type through
a CLI optional argument/ENV variable setting. We will name this new
optional argument: --os-endpoint-type (Env: OS_ENDPOINT_TYPE) and
based on the value given, the service API will use that specific
endpoint type. Possible values: public, admin, internal.

DocImpact
Closes-Bug: #1454392
Change-Id: Ife3d4e46b44c0ddcd712b1130e27e362545a9a29
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --wait to server delete</title>
<updated>2015-05-29T21:32:51+00:00</updated>
<author>
<name>Matt Riedemann</name>
<email>mriedem@us.ibm.com</email>
</author>
<published>2015-05-29T18:55:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=224d375ef4120998dc51fbf55f1778d1ccf118a0'/>
<id>224d375ef4120998dc51fbf55f1778d1ccf118a0</id>
<content type='text'>
This allows the server delete command to wait for the server to be
deleted (obviously).

The wait method is the same model that Tempest uses, i.e. wait for a 404
on server GET (successful deletion), fail if the server went to ERROR
status, or fail if a timeout is reached.  The default timeout of 300
seconds is also what Tempest uses.

Closes-Bug: #1460112

Change-Id: I0e66c400903e82832944d1cad61e7eb30177c3e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the server delete command to wait for the server to be
deleted (obviously).

The wait method is the same model that Tempest uses, i.e. wait for a 404
on server GET (successful deletion), fail if the server went to ERROR
status, or fail if a timeout is reached.  The default timeout of 300
seconds is also what Tempest uses.

Closes-Bug: #1460112

Change-Id: I0e66c400903e82832944d1cad61e7eb30177c3e8
</pre>
</div>
</content>
</entry>
<entry>
<title>Add sort support to image list</title>
<updated>2015-02-06T02:57:10+00:00</updated>
<author>
<name>zhiyuan_cai</name>
<email>luckyvega.g@gmail.com</email>
</author>
<published>2015-01-21T09:19:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=42cff388349186b70559650237d2667da1cb903f'/>
<id>42cff388349186b70559650237d2667da1cb903f</id>
<content type='text'>
Add sort support to image list by sorting items in the client side.
The parameter syntax follows this spec[1].

[1] https://review.openstack.org/#/c/145544/

Change-Id: I42b487d18f00f937db1938daa46487cea2a896ab
Closes-Bug: #1410251
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add sort support to image list by sorting items in the client side.
The parameter syntax follows this spec[1].

[1] https://review.openstack.org/#/c/145544/

Change-Id: I42b487d18f00f937db1938daa46487cea2a896ab
Closes-Bug: #1410251
</pre>
</div>
</content>
</entry>
<entry>
<title>fix the wrong order of assertEqual args</title>
<updated>2015-01-27T09:02:41+00:00</updated>
<author>
<name>wanghong</name>
<email>w.wanghong@huawei.com</email>
</author>
<published>2015-01-27T09:02:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=127af151ff60d11e7b2f88555678cf18b8828e48'/>
<id>127af151ff60d11e7b2f88555678cf18b8828e48</id>
<content type='text'>
Let's fix them thoroughly.

Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let's fix them thoroughly.

Change-Id: I8a1f042fb614b05c9836a49041f3883638b870b0
</pre>
</div>
</content>
</entry>
<entry>
<title>Unordered dicts and lists causes variable results</title>
<updated>2014-09-07T03:55:31+00:00</updated>
<author>
<name>Terry Howe</name>
<email>terrylhowe@gmail.com</email>
</author>
<published>2014-09-04T14:06:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=514ecc6e963bd0c05425f0da8aec79a69ed122c6'/>
<id>514ecc6e963bd0c05425f0da8aec79a69ed122c6</id>
<content type='text'>
The unordered dict and lists causes variable results.  The user
may see different results and tests can fail.  Might as well make
this more consistent.

Change-Id: I7045b40b44cbf3ee0f2ca79c6ea0d279b6d8cfe3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The unordered dict and lists causes variable results.  The user
may see different results and tests can fail.  Might as well make
this more consistent.

Change-Id: I7045b40b44cbf3ee0f2ca79c6ea0d279b6d8cfe3
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix find_resource for keystone and cinder</title>
<updated>2014-06-17T16:24:26+00:00</updated>
<author>
<name>Terry Howe</name>
<email>terrylhowe@gmail.com</email>
</author>
<published>2014-05-22T23:38:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=0b2987fef389603b95b2ba7b788492b8baa56745'/>
<id>0b2987fef389603b95b2ba7b788492b8baa56745</id>
<content type='text'>
The find_resource method had two hacks in in to support cinder
and keystone and I have removed those in favor of a monkey patch
for cinder.

The find_resource method used to attempt to UUID parse the id, but
it would do a manager.get anyway.  I changed it to skip the UUID
parsing.  This will make things run minorly faster and it supports
LDAP for keystone.

The find_resource used to attempt to use display_name=name_or_id
when finding.  This was a hack for cinder support, but it breaks
keystone because keystone totally messes up with the bogus filter
and keystone refuses to fix it.

Change-Id: I66e45a6341f704900f1d5321a0e70eac3d051665
Closes-Bug: #1306699
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The find_resource method had two hacks in in to support cinder
and keystone and I have removed those in favor of a monkey patch
for cinder.

The find_resource method used to attempt to UUID parse the id, but
it would do a manager.get anyway.  I changed it to skip the UUID
parsing.  This will make things run minorly faster and it supports
LDAP for keystone.

The find_resource used to attempt to use display_name=name_or_id
when finding.  This was a hack for cinder support, but it breaks
keystone because keystone totally messes up with the bogus filter
and keystone refuses to fix it.

Change-Id: I66e45a6341f704900f1d5321a0e70eac3d051665
Closes-Bug: #1306699
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore most of the new hacking 0.9.2 rules</title>
<updated>2014-06-13T22:06:28+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2014-06-13T21:56:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=0059f045a9958b1748fcec51799d8cffc0831440'/>
<id>0059f045a9958b1748fcec51799d8cffc0831440</id>
<content type='text'>
So we can update requriements.txt.  But fix a couple of easy ones:
* Fix E251 (1 occurrance)
* Fix E131 (1 occurrance)

Change-Id: I62aaa423aa6da9e9f0ca026ec586b51cc6a6df03
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So we can update requriements.txt.  But fix a couple of easy ones:
* Fix E251 (1 occurrance)
* Fix E131 (1 occurrance)

Change-Id: I62aaa423aa6da9e9f0ca026ec586b51cc6a6df03
</pre>
</div>
</content>
</entry>
<entry>
<title>Produce a useful error message for NoUniqueMatch</title>
<updated>2014-03-17T23:32:41+00:00</updated>
<author>
<name>Terry Howe</name>
<email>terrylhowe@gmail.com</email>
</author>
<published>2014-03-17T23:32:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=4900c64d091ffe4ec9050cd71845b12db49bd293'/>
<id>4900c64d091ffe4ec9050cd71845b12db49bd293</id>
<content type='text'>
Most of the CLIs use a NoUniqueMatch, so produce a useful
error message if that happens.  Added some tests for
find_resource as well.

Change-Id: I85ba61d5f6d1be5bd336a1cc4b02501492905f33
Closes-Bug: #1293846
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of the CLIs use a NoUniqueMatch, so produce a useful
error message if that happens.  Added some tests for
find_resource as well.

Change-Id: I85ba61d5f6d1be5bd336a1cc4b02501492905f33
Closes-Bug: #1293846
</pre>
</div>
</content>
</entry>
</feed>
