<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/tests/test_management.py, branch queens-eol</title>
<subtitle>opendev.org: openstack/python-troveclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/'/>
<entry>
<title>Replace assertDictEqual</title>
<updated>2016-07-29T02:15:25+00:00</updated>
<author>
<name>jiansong</name>
<email>jian.song@easystack.cn</email>
</author>
<published>2016-07-28T07:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=2093cba59ebfe7bbd7cb3bfa032da20b0c0a0d9e'/>
<id>2093cba59ebfe7bbd7cb3bfa032da20b0c0a0d9e</id>
<content type='text'>
Here,assertDictEqual is test that two dictionaries are equal.This method
will be used by default to compare dictionaries in calls to assertEqual.
So,I replace assertDictEqual.

refer to [1] for more information

[1]:https://docs.python.org/2.7/library/unittest.html#unittest.TestCase.assertDictEqual

Change-Id: Idb30eeab13e9cad44e7c78c7903280f5e3bf66d6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here,assertDictEqual is test that two dictionaries are equal.This method
will be used by default to compare dictionaries in calls to assertEqual.
So,I replace assertDictEqual.

refer to [1] for more information

[1]:https://docs.python.org/2.7/library/unittest.html#unittest.TestCase.assertDictEqual

Change-Id: Idb30eeab13e9cad44e7c78c7903280f5e3bf66d6
</pre>
</div>
</content>
</entry>
<entry>
<title>Change assertTrue(isinstance()) by optimal assert</title>
<updated>2016-01-08T07:10:56+00:00</updated>
<author>
<name>yangyapeng</name>
<email>yang.yapeng@99cloud.net</email>
</author>
<published>2016-01-04T22:31:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=6b02886348673f57442a469518d30a1d289fa0d4'/>
<id>6b02886348673f57442a469518d30a1d289fa0d4</id>
<content type='text'>
Some of tests use different method of assertTrue(isinstance(A, B)),
The correct way is to use assertIsInstance(A,B) provided by testtools

Closes-bug: #1268480
Change-Id: I718b86e83b93a4e778710b9de895f2796a9b6d61
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of tests use different method of assertTrue(isinstance(A, B)),
The correct way is to use assertIsInstance(A,B) provided by testtools

Closes-bug: #1268480
Change-Id: I718b86e83b93a4e778710b9de895f2796a9b6d61
</pre>
</div>
</content>
</entry>
<entry>
<title>Implements Datastore Registration API</title>
<updated>2015-08-21T09:39:09+00:00</updated>
<author>
<name>Sushil Kumar</name>
<email>skm.net@gmail.com</email>
</author>
<published>2015-08-19T08:36:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=608ef3d1865962ecb119d8b113f850c2d5e65478'/>
<id>608ef3d1865962ecb119d8b113f850c2d5e65478</id>
<content type='text'>
Adds the mgmt APIs for

1. Create datastore-version.
2. List datastore-versions.
3. Get details of a datastore-version.
4. Update the attributes of an existing datastore-version.
5. Delete a datastore-version.

Added the code to management.py and the unit-tests,
this code would help for writing integration tests to trove
for the newly added management-apis.

Change-Id: I915baa4c5c8bbe3f0483bcaeaa5ce95044d35bf7
Implements: blueprint datastore-registration-api
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds the mgmt APIs for

1. Create datastore-version.
2. List datastore-versions.
3. Get details of a datastore-version.
4. Update the attributes of an existing datastore-version.
5. Delete a datastore-version.

Added the code to management.py and the unit-tests,
this code would help for writing integration tests to trove
for the newly added management-apis.

Change-Id: I915baa4c5c8bbe3f0483bcaeaa5ce95044d35bf7
Implements: blueprint datastore-registration-api
</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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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>Fixing copyright and license headers</title>
<updated>2013-10-22T18:21:33+00:00</updated>
<author>
<name>Michael Basnight</name>
<email>mbasnight@gmail.com</email>
</author>
<published>2013-10-22T17:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=af4d4ed4f75ac26339399c2c226cec69eb20caa8'/>
<id>af4d4ed4f75ac26339399c2c226cec69eb20caa8</id>
<content type='text'>
* Added HP copyrights as appropriate

Change-Id: If4f30b0caf03b16f5fb4f54185ba80d9fa41d0b0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added HP copyrights as appropriate

Change-Id: If4f30b0caf03b16f5fb4f54185ba80d9fa41d0b0
</pre>
</div>
</content>
</entry>
<entry>
<title>Massive refactoring to the troveclient</title>
<updated>2013-10-10T02:21:08+00:00</updated>
<author>
<name>Michael Basnight</name>
<email>mbasnight@gmail.com</email>
</author>
<published>2013-09-27T05:26:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=fd43cbd73b9de8a216039e6e66a8523e4c96543d'/>
<id>fd43cbd73b9de8a216039e6e66a8523e4c96543d</id>
<content type='text'>
The new client adheres to the standards of the other clients
now. It prints out tables, uses ENVVAR's for auth, no longer
stores pickled json in a login token, uses openstack common,
and moves the cli operations into a v1 module for the future
of trove when it has a v2 api.

Please note for compatibility, the troveclient.compat module
has the old cli. In order to deploy it, amend the setup.cfg
to include the compat module.

implements blueprint cli-compliance-upgrade

Change-Id: Ie69d9dbc75ce90496da316244c97acca1877a327
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new client adheres to the standards of the other clients
now. It prints out tables, uses ENVVAR's for auth, no longer
stores pickled json in a login token, uses openstack common,
and moves the cli operations into a v1 module for the future
of trove when it has a v2 api.

Please note for compatibility, the troveclient.compat module
has the old cli. In order to deploy it, amend the setup.cfg
to include the compat module.

implements blueprint cli-compliance-upgrade

Change-Id: Ie69d9dbc75ce90496da316244c97acca1877a327
</pre>
</div>
</content>
</entry>
<entry>
<title>Adds support for admin to create flavors through mgmt API</title>
<updated>2013-09-10T20:04:23+00:00</updated>
<author>
<name>Sushil Kumar</name>
<email>sushil.kumar2@globallogic.com</email>
</author>
<published>2013-09-02T20:50:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=c47d8c36a761be5d2a98b2fda230e311e81b238b'/>
<id>c47d8c36a761be5d2a98b2fda230e311e81b238b</id>
<content type='text'>
Extending the management API to allow for an admin to
create flavors categorized on service type in trove.

Change-Id: I8d5910e6dd9e497d1a8be4ffd58aa339d12db74f
Implements: blueprint service-type-filter-on-flavors
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extending the management API to allow for an admin to
create flavors categorized on service type in trove.

Change-Id: I8d5910e6dd9e497d1a8be4ffd58aa339d12db74f
Implements: blueprint service-type-filter-on-flavors
</pre>
</div>
</content>
</entry>
</feed>
