<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-troveclient.git/troveclient/exceptions.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>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>
<entry>
<title>Use "# noqa" instead of "#flake8: noqa"</title>
<updated>2016-02-09T15:06:08+00:00</updated>
<author>
<name>Chaozhe.Chen</name>
<email>chaozhe.chen@easystack.cn</email>
</author>
<published>2016-02-09T13:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=32286e0cbc5bf98d5f5902b33f888365adb59f16'/>
<id>32286e0cbc5bf98d5f5902b33f888365adb59f16</id>
<content type='text'>
"# flake8: noqa" option disables all checks for the whole file.
To disable one line we should use "# noqa".

Change-Id: Iea2fbf239c7f11bc0cc8788bcc4b8abc862339be
Closes-bug: #1540254
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"# flake8: noqa" option disables all checks for the whole file.
To disable one line we should use "# noqa".

Change-Id: Iea2fbf239c7f11bc0cc8788bcc4b8abc862339be
Closes-bug: #1540254
</pre>
</div>
</content>
</entry>
<entry>
<title>Client Changes for Guest Log File Retrieval</title>
<updated>2016-01-27T19:41:15+00:00</updated>
<author>
<name>Alex Tomic</name>
<email>atomic@tesora.com</email>
</author>
<published>2015-06-22T19:01:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=fb33d87fef21052126b1ae10efb2f2e4dca9ccf9'/>
<id>fb33d87fef21052126b1ae10efb2f2e4dca9ccf9</id>
<content type='text'>
Implements log file retrieval from the guest agent.  The contents
of the log file are pushed up to a swift container as a series of
objects that represent a subset of the lines in the log.

The following trove CLI commands are implemented:

trove log-list &lt;instance&gt;         : lists log files available on guest
trove log-enable &lt;instance&gt; &lt;log&gt; : enables writing to log file
trove log-disable &lt;instance&gt; &lt;log&gt;: disables writing to log file
trove log-publish &lt;instance&gt; &lt;log&gt;: publishes updates to swift container
trove log-discard &lt;instance&gt; &lt;log&gt;: discards published logs
trove log-tail &lt;instance&gt; &lt;log&gt;   : displays last lines of log
trove log-save &lt;instance&gt; &lt;log&gt;   : saves the entire log to a file

Change-Id: Ic15c455747b9f1966d83d7034c9b748ca5e2cce9
Co-Authored-By: Morgan Jones &lt;morgan@tesora.com&gt;
Co-Authored-By: Alex Tomic &lt;atomic@tesora.com&gt;
Co-Authored-By: Peter Stachowski &lt;peter@tesora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements log file retrieval from the guest agent.  The contents
of the log file are pushed up to a swift container as a series of
objects that represent a subset of the lines in the log.

The following trove CLI commands are implemented:

trove log-list &lt;instance&gt;         : lists log files available on guest
trove log-enable &lt;instance&gt; &lt;log&gt; : enables writing to log file
trove log-disable &lt;instance&gt; &lt;log&gt;: disables writing to log file
trove log-publish &lt;instance&gt; &lt;log&gt;: publishes updates to swift container
trove log-discard &lt;instance&gt; &lt;log&gt;: discards published logs
trove log-tail &lt;instance&gt; &lt;log&gt;   : displays last lines of log
trove log-save &lt;instance&gt; &lt;log&gt;   : saves the entire log to a file

Change-Id: Ic15c455747b9f1966d83d7034c9b748ca5e2cce9
Co-Authored-By: Morgan Jones &lt;morgan@tesora.com&gt;
Co-Authored-By: Alex Tomic &lt;atomic@tesora.com&gt;
Co-Authored-By: Peter Stachowski &lt;peter@tesora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed several pep8 issues</title>
<updated>2014-05-13T21:12:17+00:00</updated>
<author>
<name>Christian Berendt</name>
<email>berendt@b1-systems.de</email>
</author>
<published>2014-05-13T21:09:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=31569163a5927c97c6286157aecf83a7b4ce945b'/>
<id>31569163a5927c97c6286157aecf83a7b4ce945b</id>
<content type='text'>
  * E265 block comment should start with '# '
  * E128 continuation line under-indented for visual indent
  * E713 test for membership should be 'not in'

Tested with pep8 version 1.5.6 (2014-04-14).

Change-Id: If2853c79bea91ebef5cd97dff66788b46b174a9a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  * E265 block comment should start with '# '
  * E128 continuation line under-indented for visual indent
  * E713 test for membership should be 'not in'

Tested with pep8 version 1.5.6 (2014-04-14).

Change-Id: If2853c79bea91ebef5cd97dff66788b46b174a9a
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Duplicate ClientExceptions and Merge</title>
<updated>2014-04-25T17:56:37+00:00</updated>
<author>
<name>amcrn</name>
<email>amcreynolds@ebaysf.com</email>
</author>
<published>2014-03-17T21:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=10ff1cf745852e60ff1de2410570d4f982abedc3'/>
<id>10ff1cf745852e60ff1de2410570d4f982abedc3</id>
<content type='text'>
horizon handles troveclient.ClientException as a recoverable error,
with troveclient defined via "from troveclient import exceptions
as troveclient". this patch imports oslo's apiclient exceptions
in troveclient/exceptions.py to ensure all ClientExceptions are
considered recoverable. also removes unused exceptions that were
unnecessarily ported from the compat version of the client. this
fix is necessary to avoid seeing the generic error message of
"Error: There was an error submitting the form. Please try again."
in horizon vs. the explicit error message.

Change-Id: I94c8ec0289821ccd365d6689488a3e25877c1560
Closes-Bug: #1292033
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
horizon handles troveclient.ClientException as a recoverable error,
with troveclient defined via "from troveclient import exceptions
as troveclient". this patch imports oslo's apiclient exceptions
in troveclient/exceptions.py to ensure all ClientExceptions are
considered recoverable. also removes unused exceptions that were
unnecessarily ported from the compat version of the client. this
fix is necessary to avoid seeing the generic error message of
"Error: There was an error submitting the form. Please try again."
in horizon vs. the explicit error message.

Change-Id: I94c8ec0289821ccd365d6689488a3e25877c1560
Closes-Bug: #1292033
</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>Fixed misspellings of common words</title>
<updated>2014-01-14T03:39:07+00:00</updated>
<author>
<name>Sushil Kumar</name>
<email>sushil.kumar2@globallogic.com</email>
</author>
<published>2014-01-10T11:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=d56111cb07f19fb23979921199d6961c130d22b3'/>
<id>d56111cb07f19fb23979921199d6961c130d22b3</id>
<content type='text'>
Fixed misspelling of common words found by the 'misspellings' tool.

Change-Id: I8e03379f92b62fd4856bbc74b7e4641226a403d3
Closes-Bug: #1257531
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed misspelling of common words found by the 'misspellings' tool.

Change-Id: I8e03379f92b62fd4856bbc74b7e4641226a403d3
Closes-Bug: #1257531
</pre>
</div>
</content>
</entry>
<entry>
<title>Tighten flake8 checks in Gating</title>
<updated>2013-12-18T13:08:37+00:00</updated>
<author>
<name>Dirk Mueller</name>
<email>dirk@dmllr.de</email>
</author>
<published>2013-12-14T11:12:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-troveclient.git/commit/?id=d4a62491e177b06ee9796fea5708792fb2152e9f'/>
<id>d4a62491e177b06ee9796fea5708792fb2152e9f</id>
<content type='text'>
There are a few checks that already pass:
 - F401 - unused imports of modules
 - F403 - ‘from module import *’ used; unable to detect undefined names

And there are two (H401 and H403) that can be made
passing easily. Enable gating on all of them.

Change-Id: I9d3c49ecea1b2171d194ab6cc751316c252081e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are a few checks that already pass:
 - F401 - unused imports of modules
 - F403 - ‘from module import *’ used; unable to detect undefined names

And there are two (H401 and H403) that can be made
passing easily. Enable gating on all of them.

Change-Id: I9d3c49ecea1b2171d194ab6cc751316c252081e8
</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://91.123.203.49/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://91.123.203.49/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>
</feed>
