<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/tests/test_shell.py, branch 5.0.0</title>
<subtitle>opendev.org: openstack/python-troveclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/'/>
<entry>
<title>Use unittest.mock instead of third party mock</title>
<updated>2020-04-18T16:59:46+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2020-04-18T16:59:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=2b8282bb1e254e7716eab106ca8cc0d6c0097a51'/>
<id>2b8282bb1e254e7716eab106ca8cc0d6c0097a51</id>
<content type='text'>
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ib83e626f51e6e01898bb7931c1660a1a548500f3
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ib83e626f51e6e01898bb7931c1660a1a548500f3
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix token response mock</title>
<updated>2017-07-26T13:25:38+00:00</updated>
<author>
<name>Lance Bragstad</name>
<email>lbragstad@gmail.com</email>
</author>
<published>2017-07-26T13:18:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=47ad24a358104d41b915f25cdd5a17d915c6ee75'/>
<id>47ad24a358104d41b915f25cdd5a17d915c6ee75</id>
<content type='text'>
The unit tests mock tokens from keystoneauth. One of the responses
being returned from a mocked keystoneauth method was returning a v2.0
token that didn't have the right expiration attribute of a v2.0
token. This was caught by keystoneauth 3.0.1, which underwent a
significant refactor and added a bunch of new functionality for
version discovery. Keystoneauth was expecting `expires` to be
in the token but instead the mock was using `expires_at`, which isn't
a valid v2.0 token attribute.

Closes-Bug: 1706538

Change-Id: Iea77ef54585d0b3480369e9f5df629e3f46f7e3b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The unit tests mock tokens from keystoneauth. One of the responses
being returned from a mocked keystoneauth method was returning a v2.0
token that didn't have the right expiration attribute of a v2.0
token. This was caught by keystoneauth 3.0.1, which underwent a
significant refactor and added a bunch of new functionality for
version discovery. Keystoneauth was expecting `expires` to be
in the token but instead the mock was using `expires_at`, which isn't
a valid v2.0 token attribute.

Closes-Bug: 1706538

Change-Id: Iea77ef54585d0b3480369e9f5df629e3f46f7e3b
</pre>
</div>
</content>
</entry>
<entry>
<title>switch to keystoneauth</title>
<updated>2016-05-23T02:06:51+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>stevemar@ca.ibm.com</email>
</author>
<published>2016-03-10T04:06:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=fff88e0a9c58eb495df03721b084e470584d7492'/>
<id>fff88e0a9c58eb495df03721b084e470584d7492</id>
<content type='text'>
move troveclient to keystoneauth as keystoneclient's auth session,
plugins and adapter code has been deprecated.

Change-Id: I3d57dde9c013038accbab8cc30d9622a142d0f71
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
move troveclient to keystoneauth as keystoneclient's auth session,
plugins and adapter code has been deprecated.

Change-Id: I3d57dde9c013038accbab8cc30d9622a142d0f71
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove RAX-specific auth in troveclient</title>
<updated>2014-12-09T19:33:33+00:00</updated>
<author>
<name>Swapnil Kulkarni</name>
<email>swapnilkulkarni2608@gmail.com</email>
</author>
<published>2014-01-25T02:55:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=cd58da52134069f94e7efb82685882d5d3aa122f'/>
<id>cd58da52134069f94e7efb82685882d5d3aa122f</id>
<content type='text'>
Author: Swapnil Kulkarni &lt;swapnilkulkarni2608@gmail.com&gt;
Co-Authored-By: Nikhil Manchanda &lt;SlickNik@gmail.com&gt;
Co-Authored-By: Craig Vyvial &lt;cp16net@gmail.com&gt;

Change-Id: I250777890a1f5240c5f14290cf02eb5a7b34b434
Closes-Bug: #966329
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Author: Swapnil Kulkarni &lt;swapnilkulkarni2608@gmail.com&gt;
Co-Authored-By: Nikhil Manchanda &lt;SlickNik@gmail.com&gt;
Co-Authored-By: Craig Vyvial &lt;cp16net@gmail.com&gt;

Change-Id: I250777890a1f5240c5f14290cf02eb5a7b34b434
Closes-Bug: #966329
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds support for Keystone V3 API</title>
<updated>2014-12-01T23:58:36+00:00</updated>
<author>
<name>Bob Thyne</name>
<email>bob.thyne@hp.com</email>
</author>
<published>2014-11-13T07:21:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=4f1fb53ecbcdf8bb9d42cbc962e0c55915629659'/>
<id>4f1fb53ecbcdf8bb9d42cbc962e0c55915629659</id>
<content type='text'>
Updated trove client to support Keystone V3 API. The
Keystoneclient session object is used for authentication, retrieving
the service catalog and HTTP connection/session management.

Added additional CLI parameters for Keystone V3.

Added tests using requests_mock instead of mocking completely the
session object like the previous failed patch:

https://review.openstack.org/#/c/102315

Change-Id: Ib804c0a45b3b4d3f8670ec642b2c2fd1be6cd656
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated trove client to support Keystone V3 API. The
Keystoneclient session object is used for authentication, retrieving
the service catalog and HTTP connection/session management.

Added additional CLI parameters for Keystone V3.

Added tests using requests_mock instead of mocking completely the
session object like the previous failed patch:

https://review.openstack.org/#/c/102315

Change-Id: Ib804c0a45b3b4d3f8670ec642b2c2fd1be6cd656
</pre>
</div>
</content>
</entry>
<entry>
<title>Reverse fix for 1323866 as it regressed trove CLI</title>
<updated>2014-11-10T17:25:29+00:00</updated>
<author>
<name>Amrith Kumar</name>
<email>amrith@tesora.com</email>
</author>
<published>2014-11-10T17:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=d4c28878549967258bf7a0ad5dc0ebdde9ff4ddd'/>
<id>d4c28878549967258bf7a0ad5dc0ebdde9ff4ddd</id>
<content type='text'>
Trove CLI appears to be broken (fresh checkout, devstack as well as
openstack gate). All commands fail with

ERROR: __init__() got an unexpected keyword argument 'http_log_debug'

Correcting the obvious place where this appears to be an issue is
causing additional failures and as it is time-critical to get this
back up and running, I'm proposing a reversal of the change from
3c47a1855b7ee1345dadfb00ae90a6279b7c424e while that change is
completely reworked.

I will ping trove core for an approval on this and if I don't get an
approval, I'll fast track this reversal.

Change-Id: Icac028cfafac57c7e3ef03d4277ae2b7833bf58f
Partial-Bug: 1391840
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trove CLI appears to be broken (fresh checkout, devstack as well as
openstack gate). All commands fail with

ERROR: __init__() got an unexpected keyword argument 'http_log_debug'

Correcting the obvious place where this appears to be an issue is
causing additional failures and as it is time-critical to get this
back up and running, I'm proposing a reversal of the change from
3c47a1855b7ee1345dadfb00ae90a6279b7c424e while that change is
completely reworked.

I will ping trove core for an approval on this and if I don't get an
approval, I'll fast track this reversal.

Change-Id: Icac028cfafac57c7e3ef03d4277ae2b7833bf58f
Partial-Bug: 1391840
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds support for Keystone V3 API</title>
<updated>2014-11-05T23:54:16+00:00</updated>
<author>
<name>daniel-a-nguyen</name>
<email>dan.nguyens.mail@gmail.com</email>
</author>
<published>2014-06-24T18:34:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=3c47a1855b7ee1345dadfb00ae90a6279b7c424e'/>
<id>3c47a1855b7ee1345dadfb00ae90a6279b7c424e</id>
<content type='text'>
Updated trove client to support Keystone V3 API. The
Keystoneclient session object is used for authentication, retrieving
the service catalog and HTTP connection/session management.

Added additional CLI parameters for Keystone V3.

Change-Id: I800c252234be2ff11d818cf7513c61c5431eb15c
Closes-Bug: 1323866
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated trove client to support Keystone V3 API. The
Keystoneclient session object is used for authentication, retrieving
the service catalog and HTTP connection/session management.

Added additional CLI parameters for Keystone V3.

Change-Id: I800c252234be2ff11d818cf7513c61c5431eb15c
Closes-Bug: 1323866
</pre>
</div>
</content>
</entry>
</feed>
