<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/utils.py, branch stable/train</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>Support to batch delete database instances</title>
<updated>2019-06-06T01:38:35+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2019-06-06T01:11:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=16d1dedb54dc70a6f0ae7e5068fd5582f0539a5a'/>
<id>16d1dedb54dc70a6f0ae7e5068fd5582f0539a5a</id>
<content type='text'>
Allow users to delete database instances in batch, usage:

usage: openstack database instance delete [-h] instance [instance ...]

Change-Id: I88a15ba1910f7b3294067b54ae4a7a9b4c4a17a5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow users to delete database instances in batch, usage:

usage: openstack database instance delete [-h] instance [instance ...]

Change-Id: I88a15ba1910f7b3294067b54ae4a7a9b4c4a17a5
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix show instance with integer name NotFound</title>
<updated>2018-01-16T08:00:29+00:00</updated>
<author>
<name>renminmin</name>
<email>mm.ren@haihangyun.com</email>
</author>
<published>2017-12-25T10:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=c346c7be7138edf4437ace2c7efdeb320d814332'/>
<id>c346c7be7138edf4437ace2c7efdeb320d814332</id>
<content type='text'>
Fix trove cli 'show' instance with integer name error

Change-Id: Ic6a943b4d5980017915dd2c0361636877376c5cb
Closes-bug: #1740015
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix trove cli 'show' instance with integer name error

Change-Id: Ic6a943b4d5980017915dd2c0361636877376c5cb
Closes-bug: #1740015
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix print_list label name in troveclient/utils.py</title>
<updated>2017-12-21T14:35:34+00:00</updated>
<author>
<name>zhanggang</name>
<email>zhanggang@cmss.chinamobile.com</email>
</author>
<published>2017-12-12T08:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=aa81cd281db4666b09e5333d0a2001cbe415c4f6'/>
<id>aa81cd281db4666b09e5333d0a2001cbe415c4f6</id>
<content type='text'>
The output of list make nice labels from fields. Fisrt, replace
underscore with space. Then, replace "id" with "ID". Finally,
capitalize each word. This works fine for "*_id"(for exmaple,
"flavor_id" will be replaced to "Flavor ID"), but when a word
has a "id" inside, it will be wrong. For example, "cidr"
will be replaced to "CIDr", actually it should be "Cidr".

This change fix the problem, only "id" after a underscore will be
replaced to "ID".

Change-Id: I8e357c946b21dc6f6c6c79d78a45f23b440a57da
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The output of list make nice labels from fields. Fisrt, replace
underscore with space. Then, replace "id" with "ID". Finally,
capitalize each word. This works fine for "*_id"(for exmaple,
"flavor_id" will be replaced to "Flavor ID"), but when a word
has a "id" inside, it will be wrong. For example, "cidr"
will be replaced to "CIDr", actually it should be "Cidr".

This change fix the problem, only "id" after a underscore will be
replaced to "ID".

Change-Id: I8e357c946b21dc6f6c6c79d78a45f23b440a57da
</pre>
</div>
</content>
</entry>
<entry>
<title>Support delete and cluster_delete with many resources</title>
<updated>2017-12-21T02:44:24+00:00</updated>
<author>
<name>wangyao</name>
<email>wangyao@cmss.chinamobile.com</email>
</author>
<published>2017-11-20T09:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=3d9576bfa581be42e8892440eddeb62f88d6e7c9'/>
<id>3d9576bfa581be42e8892440eddeb62f88d6e7c9</id>
<content type='text'>
Not like nova-delete when use trove-delete there is only support
delete an instance everytime. With this patch, we can delete
many instances or clusters in the same call, like
trove delete instance1 instance2.

Change-Id: I6bb0c406ba7f4c0e43cddfdff1d156b7e82ffa7a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not like nova-delete when use trove-delete there is only support
delete an instance everytime. With this patch, we can delete
many instances or clusters in the same call, like
trove delete instance1 instance2.

Change-Id: I6bb0c406ba7f4c0e43cddfdff1d156b7e82ffa7a
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Add proper message when delete instance or cluster"</title>
<updated>2017-11-17T02:08:53+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.openstack.org</email>
</author>
<published>2017-11-17T02:08:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=34dbdd2198a17cde04911f39fb084681f581743c'/>
<id>34dbdd2198a17cde04911f39fb084681f581743c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add proper message when delete instance or cluster</title>
<updated>2017-11-10T15:14:25+00:00</updated>
<author>
<name>wangyao</name>
<email>wangyao@cmss.chinamobile.com</email>
</author>
<published>2017-11-07T11:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=c4d21897f59bd5ee29123de55d83f2221f4c4e0f'/>
<id>c4d21897f59bd5ee29123de55d83f2221f4c4e0f</id>
<content type='text'>
According bug description, not like nova-delete when use trove-delete
there is no message or alert is generated. To solve this problem, I
added some message when normally execute deleting instance or cluster.

Change-Id: I572a24116fd1abec220f49a3f9705a5c071155bf
Closes-Bug: #1569669
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According bug description, not like nova-delete when use trove-delete
there is no message or alert is generated. To solve this problem, I
added some message when normally execute deleting instance or cluster.

Change-Id: I572a24116fd1abec220f49a3f9705a5c071155bf
Closes-Bug: #1569669
</pre>
</div>
</content>
</entry>
<entry>
<title>ESFIX:Fix troveclient error with Chinese character</title>
<updated>2017-11-03T11:15:45+00:00</updated>
<author>
<name>jiansong</name>
<email>jian.song@easystack.cn</email>
</author>
<published>2017-09-30T03:28:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=fd076ed1ba1ec8cc6d82b5ea103cdff39b607532'/>
<id>fd076ed1ba1ec8cc6d82b5ea103cdff39b607532</id>
<content type='text'>
Now troveclient does not support returning Chinese characters, so
to make changes.This should also avoid other unicode output
problems

Change-Id: Ie948cff4e81806f17c697f50271992cc492c48f4
Closes-Bug: #1720490
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now troveclient does not support returning Chinese characters, so
to make changes.This should also avoid other unicode output
problems

Change-Id: Ie948cff4e81806f17c697f50271992cc492c48f4
Closes-Bug: #1720490
</pre>
</div>
</content>
</entry>
<entry>
<title>turn on warning-is-error for documentation builds</title>
<updated>2017-07-13T15:39:32+00:00</updated>
<author>
<name>Doug Hellmann</name>
<email>doug@doughellmann.com</email>
</author>
<published>2017-06-29T21:39:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=e8d306fa2a72f820055eb76d5b9c155dd0e4008e'/>
<id>e8d306fa2a72f820055eb76d5b9c155dd0e4008e</id>
<content type='text'>
Fix a bunch of formatting issues with docstrings to allow us to turn on
the flag that treats warnings as errors to avoid mal-formed
documentation in the future.

Change-Id: Ic6fb73031e37314c49c41e4621dfd92b9c3f59d5
Signed-off-by: Doug Hellmann &lt;doug@doughellmann.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a bunch of formatting issues with docstrings to allow us to turn on
the flag that treats warnings as errors to avoid mal-formed
documentation in the future.

Change-Id: Ic6fb73031e37314c49c41e4621dfd92b9c3f59d5
Signed-off-by: Doug Hellmann &lt;doug@doughellmann.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix module-list</title>
<updated>2016-12-22T16:08:16+00:00</updated>
<author>
<name>Peter Stachowski</name>
<email>peter@tesora.com</email>
</author>
<published>2016-07-28T15:57:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=fb4064d39e5268af2c28a21087c07aa5d2d9956e'/>
<id>fb4064d39e5268af2c28a21087c07aa5d2d9956e</id>
<content type='text'>
Under a keystone V3 scenario, the CLI command for
module-list will fail as it tried to determine whether
to display the 'visible' and 'tenant' fields (which only
make sense to show to an admin).

Keystone V3 stores the role information (used to find
out if the user has admin access) in a different
place than V2.  This fix uses a keystoneauth1 property
to have the value determined correctly internally,
so trove doesn't have to worry about it.

The logic was also moved to the utils module to
faciliate reuse.

Closes-Bug: #1622019
Change-Id: I6dbc3660b507017f85d06bde2903f4d2334fea35
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Under a keystone V3 scenario, the CLI command for
module-list will fail as it tried to determine whether
to display the 'visible' and 'tenant' fields (which only
make sense to show to an admin).

Keystone V3 stores the role information (used to find
out if the user has admin access) in a different
place than V2.  This fix uses a keystoneauth1 property
to have the value determined correctly internally,
so trove doesn't have to worry about it.

The logic was also moved to the utils module to
faciliate reuse.

Closes-Bug: #1622019
Change-Id: I6dbc3660b507017f85d06bde2903f4d2334fea35
</pre>
</div>
</content>
</entry>
<entry>
<title>move old apiclient code out of openstack/common</title>
<updated>2016-11-10T15:02:08+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>s.martinelli@gmail.com</email>
</author>
<published>2016-11-10T15:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=eed19c835fc5706099ce2cee872fc66d99836cf8'/>
<id>eed19c835fc5706099ce2cee872fc66d99836cf8</id>
<content type='text'>
As part of the first community-wide goal [1], teams were asked
to remove the openstack/common package of their projects
if one existed. This was a byproduct of the old oslo-incubator
form of syncing common functionality.

The package, apiclient, was moved to a top level location
and cliutils was moved to the common module. There are no oslo
specific libraries, the recommended solution is to move it
in tree and maintain it there.

Specifically in this patch, I also rearranged some of the
imports to make them match up with the hacking guidelines
while I was re-ordering them for the refactor anyway.

Lastly, the apiclient/fake_client.py was deleted since it
was not used.

[1] http://governance.openstack.org/goals/ocata/remove-incubated-oslo-code.html

Change-Id: Ib7b691240b819c9c91b100ca47ffaba75b281c78
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the first community-wide goal [1], teams were asked
to remove the openstack/common package of their projects
if one existed. This was a byproduct of the old oslo-incubator
form of syncing common functionality.

The package, apiclient, was moved to a top level location
and cliutils was moved to the common module. There are no oslo
specific libraries, the recommended solution is to move it
in tree and maintain it there.

Specifically in this patch, I also rearranged some of the
imports to make them match up with the hacking guidelines
while I was re-ordering them for the refactor anyway.

Lastly, the apiclient/fake_client.py was deleted since it
was not used.

[1] http://governance.openstack.org/goals/ocata/remove-incubated-oslo-code.html

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