<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/tests/test_common.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>Get all the database instances by admin</title>
<updated>2019-05-20T12:12:14+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2019-05-19T22:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=7a791177e86b8ce84267fb860ada36d6daf0417b'/>
<id>7a791177e86b8ce84267fb860ada36d6daf0417b</id>
<content type='text'>
Currently, there is no way for the admin user to get databases of all
the projects, which is very important for auditing or billing purpose.

With this change, admin user can get all the database instances by
running:

$ openstack database instances list --all-projects

Change-Id: I318907b1d4a63017f4a6f7967312770f8784c1f4
Story: #2005735
Task: #33393
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, there is no way for the admin user to get databases of all
the projects, which is very important for auditing or billing purpose.

With this change, admin user can get all the database instances by
running:

$ openstack database instances list --all-projects

Change-Id: I318907b1d4a63017f4a6f7967312770f8784c1f4
Story: #2005735
Task: #33393
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix troveclient to support Mistral</title>
<updated>2016-05-26T20:14:37+00:00</updated>
<author>
<name>Morgan Jones</name>
<email>morgan@parelastic.com</email>
</author>
<published>2016-05-25T16:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=ea0e472edd194243392fd51a5af3a3a77101fddd'/>
<id>ea0e472edd194243392fd51a5af3a3a77101fddd</id>
<content type='text'>
Mistral gets confused by Trove's (aguably wrong) inclusion
of a member called 'items' in the Pagenated object that
Trove returns as the result of 'list' client methods.

This change changes Pagenated to inherit from the 'list'
class so that the items method is not required (and has
the additional benefit of just generally being a better
implementation of a list type result).

Change-Id: I683120451f69f07f131e6fa422c082f85735b196
Closes-bug: 1585705
Depends-On: Id674ae57bfcdc5e09bde1e323a614b3a03a7cad3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mistral gets confused by Trove's (aguably wrong) inclusion
of a member called 'items' in the Pagenated object that
Trove returns as the result of 'list' client methods.

This change changes Pagenated to inherit from the 'list'
class so that the items method is not required (and has
the additional benefit of just generally being a better
implementation of a list type result).

Change-Id: I683120451f69f07f131e6fa422c082f85735b196
Closes-bug: 1585705
Depends-On: Id674ae57bfcdc5e09bde1e323a614b3a03a7cad3
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct order of parameters to assertEqual</title>
<updated>2015-02-23T17:48:39+00:00</updated>
<author>
<name>Amrith Kumar</name>
<email>amrith@tesora.com</email>
</author>
<published>2015-02-23T17:47:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=a0e04164b218e4576702f24dea08a060bc042727'/>
<id>a0e04164b218e4576702f24dea08a060bc042727</id>
<content type='text'>
The correct order of parameters to assertEqual is (expected,
actual). It makes the assertion message more meaningful when there is
a failure.

Change-Id: I1ab6933d2eee336b41f6ab791e32ad6eaa004a6b
Partial-Bug: #1277104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The correct order of parameters to assertEqual is (expected,
actual). It makes the assertion message more meaningful when there is
a failure.

Change-Id: I1ab6933d2eee336b41f6ab791e32ad6eaa004a6b
Partial-Bug: #1277104
</pre>
</div>
</content>
</entry>
<entry>
<title>Add datastore filter to backup-list</title>
<updated>2014-06-03T16:02:49+00:00</updated>
<author>
<name>Steve Leon</name>
<email>steve.leon@hp.com</email>
</author>
<published>2014-04-25T20:21:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=7170b72cebd3038636c43458beb939484c77d457'/>
<id>7170b72cebd3038636c43458beb939484c77d457</id>
<content type='text'>
This fix enhances the backup-list command to optionally receive
a datastore name or ID to filter the backup list by. The filter
is sent as a query string.

To attach the query string to the URL and have it still work with
the URL for pagination, i have made some changes in the way url
with query strings are constructed. This includes the pagination
URL.

partially implements: blueprint backup-metadata

Change-Id: I0b9ef3ec7f51ed76517a22f9c0edfdce3694a36f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fix enhances the backup-list command to optionally receive
a datastore name or ID to filter the backup list by. The filter
is sent as a query string.

To attach the query string to the URL and have it still work with
the URL for pagination, i have made some changes in the way url
with query strings are constructed. This includes the pagination
URL.

partially implements: blueprint backup-metadata

Change-Id: I0b9ef3ec7f51ed76517a22f9c0edfdce3694a36f
</pre>
</div>
</content>
</entry>
<entry>
<title>Enabled F821, H306, H402, and H404 flake8 rule</title>
<updated>2014-05-09T08:54:39+00:00</updated>
<author>
<name>Sushil Kumar</name>
<email>sushil.kumar2@globallogic.com</email>
</author>
<published>2014-01-13T17:04:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=8bc695bd70853305bdd1009a69503728712f57a5'/>
<id>8bc695bd70853305bdd1009a69503728712f57a5</id>
<content type='text'>
Reasons:
- F821 is disabled.
- H306 is disabled.
- H402 is disabled.
- H404 is disabled.

Changes:
- Updates tox.ini to enable F821, H306, H402 and H404 rules.
- Updates code for F821, H306, H402 and H404 violation.

Change-Id: I772270bb833ac774e080fc63e330d6b333f23de2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reasons:
- F821 is disabled.
- H306 is disabled.
- H402 is disabled.
- H404 is disabled.

Changes:
- Updates tox.ini to enable F821, H306, H402 and H404 rules.
- Updates code for F821, H306, H402 and H404 violation.

Change-Id: I772270bb833ac774e080fc63e330d6b333f23de2
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove vim header</title>
<updated>2014-02-16T05:08:07+00:00</updated>
<author>
<name>He Yongli</name>
<email>yongli.he@intel.com</email>
</author>
<published>2014-02-13T06:49:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=59ec2bb43354674f9d0a3f25d8098bc7264bbd45'/>
<id>59ec2bb43354674f9d0a3f25d8098bc7264bbd45</id>
<content type='text'>
No need to set tabstop tons of times, this can be set in your vimrc
file instead.

More disucssion:
http://openstack.10931.n7.nabble.com/Remove-vim-modelines-td21780.html

Change-Id: I45766d91f0c0b3622bbdc7dc5517497c87ebee8c
Closes-Bug: #1229324
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need to set tabstop tons of times, this can be set in your vimrc
file instead.

More disucssion:
http://openstack.10931.n7.nabble.com/Remove-vim-modelines-td21780.html

Change-Id: I45766d91f0c0b3622bbdc7dc5517497c87ebee8c
Closes-Bug: #1229324
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding pagination support for backups</title>
<updated>2013-12-11T16:15:50+00:00</updated>
<author>
<name>Robert Myers</name>
<email>robert.myers@rackspace.com</email>
</author>
<published>2013-12-05T23:06:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=fba4941fd29337f806e2e8c70fe36619f629d149'/>
<id>fba4941fd29337f806e2e8c70fe36619f629d149</id>
<content type='text'>
* add a _pagination method to base Manager
* switched existing paginated list to use the new method
* removed description from backup list and added updated

Implements: blueprint paginate-backup-list

Change-Id: If33c55a35bae8ebd6ed654af5ce6dfd7f9e40096
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add a _pagination method to base Manager
* switched existing paginated list to use the new method
* removed description from backup list and added updated

Implements: blueprint paginate-backup-list

Change-Id: If33c55a35bae8ebd6ed654af5ce6dfd7f9e40096
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore fewer PEP8/flake8 rules</title>
<updated>2013-12-10T16:49:20+00:00</updated>
<author>
<name>Denis Makogon</name>
<email>dmakogon@mirantis.com</email>
</author>
<published>2013-12-10T16:49:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=69c865695f388141bcbf645e57771bcb3fcdb491'/>
<id>69c865695f388141bcbf645e57771bcb3fcdb491</id>
<content type='text'>
Reasons:
- code should be pythonicaly clean,
  that is why number of ignored rules should reduced

Changes:
- E125, F811, H102, H103, F201, H23,
  H302, F841, H301, H702, H703 rules are now enabled

Change-Id: Ibf4025162244d3c2f1278b49a76ec1527a729042
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reasons:
- code should be pythonicaly clean,
  that is why number of ignored rules should reduced

Changes:
- E125, F811, H102, H103, F201, H23,
  H302, F841, H301, H702, H703 rules are now enabled

Change-Id: Ibf4025162244d3c2f1278b49a76ec1527a729042
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Replace g.next() with next(g)"</title>
<updated>2013-10-23T15:38:35+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2013-10-23T15:38:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=bff74671e936227a9bfaff2609af021f626ce5c1'/>
<id>bff74671e936227a9bfaff2609af021f626ce5c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
