<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/v1/shell.py, branch 6.0.0</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>Revert "Remove flavor API"</title>
<updated>2020-11-13T07:53:10+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2020-11-11T20:57:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=c04e299b1d503f2ce67730398b9585a196616e51'/>
<id>c04e299b1d503f2ce67730398b9585a196616e51</id>
<content type='text'>
Story: 2008341
Task: 41242

This reverts commit 27cf71299ec51976fed8b18dbf5c0e4f9f4fd6f5.

Change-Id: I036a0423263b1a0332415c6403647ae82c9e34c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Story: 2008341
Task: 41242

This reverts commit 27cf71299ec51976fed8b18dbf5c0e4f9f4fd6f5.

Change-Id: I036a0423263b1a0332415c6403647ae82c9e34c4
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop to use the __future__ module.</title>
<updated>2020-06-02T18:54:04+00:00</updated>
<author>
<name>Hervé Beraud</name>
<email>hberaud@redhat.com</email>
</author>
<published>2020-06-02T18:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=e2bf7cff227eb464550aac1f94b504265c5ed26a'/>
<id>e2bf7cff227eb464550aac1f94b504265c5ed26a</id>
<content type='text'>
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I73b532283079d346b75a925e2aee707c4de8fa9e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I73b532283079d346b75a925e2aee707c4de8fa9e
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove flavor API</title>
<updated>2020-05-08T06:30:49+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2020-04-18T11:25:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=27cf71299ec51976fed8b18dbf5c0e4f9f4fd6f5'/>
<id>27cf71299ec51976fed8b18dbf5c0e4f9f4fd6f5</id>
<content type='text'>
Change-Id: I5a35911b5658fdf6bc08844b31cc1325b749526a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5a35911b5658fdf6bc08844b31cc1325b749526a
</pre>
</div>
</content>
</entry>
<entry>
<title>Support log tail/save for instance</title>
<updated>2019-12-16T02:21:25+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2019-12-16T01:31:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=adde0d0bedb5783be2c03bd9412d70684bff0612'/>
<id>adde0d0bedb5783be2c03bd9412d70684bff0612</id>
<content type='text'>
Support to show log content and save instance log files:

  openstack database log tail [--lines LINES] &lt;instance&gt; &lt;log_name&gt;
  openstack database log save [--file FILE] &lt;instance&gt; &lt;log_name&gt;

Change-Id: I2a4eecca663f9126f770fae4c4be28b3667f91c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support to show log content and save instance log files:

  openstack database log tail [--lines LINES] &lt;instance&gt; &lt;log_name&gt;
  openstack database log save [--file FILE] &lt;instance&gt; &lt;log_name&gt;

Change-Id: I2a4eecca663f9126f770fae4c4be28b3667f91c4
</pre>
</div>
</content>
</entry>
<entry>
<title>Support log actions in osc plugin</title>
<updated>2019-12-16T00:41:30+00:00</updated>
<author>
<name>Lingxian Kong</name>
<email>anlin.kong@gmail.com</email>
</author>
<published>2019-12-15T22:34:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=f5a57732a95e130689f6c5a16794e42266b206b0'/>
<id>f5a57732a95e130689f6c5a16794e42266b206b0</id>
<content type='text'>
- openstack database log show &lt;instance_id&gt; &lt;log_name&gt;
- openstack database log set &lt;instance_id&gt; &lt;log_name&gt;
  [OPTIONS]

Change-Id: I86f414a53e6f6416f96e0040635bb010aa49cf41
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- openstack database log show &lt;instance_id&gt; &lt;log_name&gt;
- openstack database log set &lt;instance_id&gt; &lt;log_name&gt;
  [OPTIONS]

Change-Id: I86f414a53e6f6416f96e0040635bb010aa49cf41
</pre>
</div>
</content>
</entry>
<entry>
<title>Update hacking version</title>
<updated>2019-01-02T15:57:05+00:00</updated>
<author>
<name>ZhijunWei</name>
<email>wzj334965317@outlook.com</email>
</author>
<published>2018-12-28T15:04:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=463eab47e4d47cb306333b705247d4bd37f12651'/>
<id>463eab47e4d47cb306333b705247d4bd37f12651</id>
<content type='text'>
1. update hacking version to latest
2. fix pep8 failed

Change-Id: I49a6d46466b06bd56bed1f15632c9c80ef539b38
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. update hacking version to latest
2. fix pep8 failed

Change-Id: I49a6d46466b06bd56bed1f15632c9c80ef539b38
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync two parameters of cluster-create to OSC</title>
<updated>2018-08-21T11:06:11+00:00</updated>
<author>
<name>zhanggang</name>
<email>zhanggang@cmss.chinamobile.com</email>
</author>
<published>2018-08-15T08:10:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=0ce6255bfdc01874f1de4ee664a3adc3127d1b3a'/>
<id>0ce6255bfdc01874f1de4ee664a3adc3127d1b3a</id>
<content type='text'>
The previous patches have add configuration and extended_properties
to "trove cluster-create"[1][2], this commit add the two paramenters
to OSC, user can pass configuration and extended_properties during
"openstack database cluster create".

[1] https://review.openstack.org/#/c/583125/
[2] https://review.openstack.org/#/c/589047/

Change-Id: Ic8e3ba4e92d3b65fa65875675f58eead5827976a
Signed-off-by: zhanggang &lt;zhanggang@cmss.chinamobile.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous patches have add configuration and extended_properties
to "trove cluster-create"[1][2], this commit add the two paramenters
to OSC, user can pass configuration and extended_properties during
"openstack database cluster create".

[1] https://review.openstack.org/#/c/583125/
[2] https://review.openstack.org/#/c/589047/

Change-Id: Ic8e3ba4e92d3b65fa65875675f58eead5827976a
Signed-off-by: zhanggang &lt;zhanggang@cmss.chinamobile.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support configuration groups for clusters</title>
<updated>2018-08-07T06:25:39+00:00</updated>
<author>
<name>Marcin Piwowarczyk</name>
<email>m.piwowarczy@samsung.com</email>
</author>
<published>2018-07-02T06:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=9e737a2cf8cee4be79f0c8a0efd14ef4d3dbdad0'/>
<id>9e737a2cf8cee4be79f0c8a0efd14ef4d3dbdad0</id>
<content type='text'>
Handles API part implemented in change:
I7c0a22c6a0287128d0c37e100589c78173fd9c1a

So far passing configuration group was possible only for single instance
deployment.

As the trove api now already supports configuration attach and detach
for clusters, we are able to handle it in client.

Configuration will be applied to each cluster instance.

Partially implements: blueprint cluster-configuration-groups
Change-Id: Ic0840c995cbc34203c76494d7ba522f3e17141a7
Signed-off-by: Marcin Piwowarczyk &lt;m.piwowarczy@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handles API part implemented in change:
I7c0a22c6a0287128d0c37e100589c78173fd9c1a

So far passing configuration group was possible only for single instance
deployment.

As the trove api now already supports configuration attach and detach
for clusters, we are able to handle it in client.

Configuration will be applied to each cluster instance.

Partially implements: blueprint cluster-configuration-groups
Change-Id: Ic0840c995cbc34203c76494d7ba522f3e17141a7
Signed-off-by: Marcin Piwowarczyk &lt;m.piwowarczy@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add extended properties support for mongo cluster.</title>
<updated>2018-07-31T06:48:02+00:00</updated>
<author>
<name>zhanggang</name>
<email>zhanggang@cmss.chinamobile.com</email>
</author>
<published>2018-07-17T06:16:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=4d58f2e01970b6ebf6e3a774c80e2283c2cfc167'/>
<id>4d58f2e01970b6ebf6e3a774c80e2283c2cfc167</id>
<content type='text'>
User can specify the number and volume of mongos/configserver with
extended_properties argument when creating mongodb. Currently,
the supported parameters are, num_configsvr, num_mongos,
configsvr_volume_size, configsvr_volume_type, mongos_volume_size
and mongos_volume_type.

Change-Id: I35406f9967ce00a51b320eda37572e96228b209d
Signed-off-by: zhanggang &lt;zhanggang@cmss.chinamobile.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
User can specify the number and volume of mongos/configserver with
extended_properties argument when creating mongodb. Currently,
the supported parameters are, num_configsvr, num_mongos,
configsvr_volume_size, configsvr_volume_type, mongos_volume_size
and mongos_volume_type.

Change-Id: I35406f9967ce00a51b320eda37572e96228b209d
Signed-off-by: zhanggang &lt;zhanggang@cmss.chinamobile.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean imports in code</title>
<updated>2018-02-21T09:33:43+00:00</updated>
<author>
<name>Nguyen Hung Phuong</name>
<email>phuongnh@vn.fujitsu.com</email>
</author>
<published>2018-02-21T09:32:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-troveclient.git/commit/?id=5757f3a1f6aaffd2ad2dfb2748b1bc4755fc15c9'/>
<id>5757f3a1f6aaffd2ad2dfb2748b1bc4755fc15c9</id>
<content type='text'>
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".

[1] https://docs.openstack.org/hacking/0.10.3/

Change-Id: I8dd5396ab604013639a0b626ce3ecd3e3fad12e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some part in the code we import objects. In the Openstack style guidelines
they recommend to import only modules. [1]: "Do not import objects, only modules".

[1] https://docs.openstack.org/hacking/0.10.3/

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