<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ceilometerclient.git/ceilometerclient/shell.py, branch stable/icehouse</title>
<subtitle>opendev.org: openstack/python-ceilometerclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/'/>
<entry>
<title>switch to oslo.utils</title>
<updated>2014-09-29T19:38:56+00:00</updated>
<author>
<name>gordon chung</name>
<email>gord@live.ca</email>
</author>
<published>2014-09-29T15:29:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=5aa2a69f36c1738d9cc24470e81651732f180859'/>
<id>5aa2a69f36c1738d9cc24470e81651732f180859</id>
<content type='text'>
oslo.utils is released and corresponding code in oslo-incubator has
been removed.

Change-Id: Ic3a13380809a8b00c979e5ac405b4084f486a31d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
oslo.utils is released and corresponding code in oslo-incubator has
been removed.

Change-Id: Ic3a13380809a8b00c979e5ac405b4084f486a31d
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce redundant parameter of some commands in CLI</title>
<updated>2014-09-19T13:01:38+00:00</updated>
<author>
<name>ls1175</name>
<email>liusheng@huawei.com</email>
</author>
<published>2014-01-15T08:31:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=97e9c254e3e7113bb096be689fa9159293b3920b'/>
<id>97e9c254e3e7113bb096be689fa9159293b3920b</id>
<content type='text'>
When deleting an alarm, we use "ceilometer alarm-delete -a &lt;ALARM_ID&gt;",
unlike other deleting commands of openstack, the parameter-a/--alarm_id
is redundant. The similar situations exist in showing alarm, geting alarm
state, showing resource and so on.
It is more easy to use for reducing these parameters.

New behaviour:

$ ceilometer help alarm-show
usage: ceilometer alarm-show [&lt;ALARM_ID&gt;]

Show an alarm.

Positional arguments:
  &lt;ALARM_ID&gt;  ID of the alarm to show.

$ ceilometer alarm-show
alarm_id should not be empty

$ ceilometer alarm-show abcde
Not Found (HTTP 404)

$ ceilometer alarm-show -a abcde
-a is obsolete! See help for more details.
Not Found (HTTP 404)

$ ceilometer alarm-show --alarm_id abcde
--alarm_id is obsolete! See help for more details.
Not Found (HTTP 404)

Co-Authored-By: Nejc Saje &lt;nsaje@redhat.com&gt;
Change-Id: I1fbc85aa253929bfbb5e73ed834a725b9cf828b4
Closes-bug: #1268557
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When deleting an alarm, we use "ceilometer alarm-delete -a &lt;ALARM_ID&gt;",
unlike other deleting commands of openstack, the parameter-a/--alarm_id
is redundant. The similar situations exist in showing alarm, geting alarm
state, showing resource and so on.
It is more easy to use for reducing these parameters.

New behaviour:

$ ceilometer help alarm-show
usage: ceilometer alarm-show [&lt;ALARM_ID&gt;]

Show an alarm.

Positional arguments:
  &lt;ALARM_ID&gt;  ID of the alarm to show.

$ ceilometer alarm-show
alarm_id should not be empty

$ ceilometer alarm-show abcde
Not Found (HTTP 404)

$ ceilometer alarm-show -a abcde
-a is obsolete! See help for more details.
Not Found (HTTP 404)

$ ceilometer alarm-show --alarm_id abcde
--alarm_id is obsolete! See help for more details.
Not Found (HTTP 404)

Co-Authored-By: Nejc Saje &lt;nsaje@redhat.com&gt;
Change-Id: I1fbc85aa253929bfbb5e73ed834a725b9cf828b4
Closes-bug: #1268557
</pre>
</div>
</content>
</entry>
<entry>
<title>Use HTTPClient from common Oslo code</title>
<updated>2014-07-31T15:59:58+00:00</updated>
<author>
<name>ekudryashova</name>
<email>ekudryashova@mirantis.com</email>
</author>
<published>2014-01-23T17:28:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=47934c777c50897b649793e0960eebdaad322c45'/>
<id>47934c777c50897b649793e0960eebdaad322c45</id>
<content type='text'>
In the process of unification of the clients code we should
reuse common functionality from Oslo.

bp common-client-library-2

Change-Id: I0e027c33ee42b6de032d33269caeea33e7837f40
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the process of unification of the clients code we should
reuse common functionality from Oslo.

bp common-client-library-2

Change-Id: I0e027c33ee42b6de032d33269caeea33e7837f40
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Improve --debug logging output"</title>
<updated>2014-07-22T23:23:52+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-07-22T23:23:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=ead36aa22173605adc3bea2b4079603d4e602895'/>
<id>ead36aa22173605adc3bea2b4079603d4e602895</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Calculate a suitable column width for positional arguments</title>
<updated>2014-07-16T11:51:39+00:00</updated>
<author>
<name>Christian Berendt</name>
<email>berendt@b1-systems.de</email>
</author>
<published>2014-06-04T19:03:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=d864c23aa84a437d726cd761646b684c520f0281'/>
<id>d864c23aa84a437d726cd761646b684c520f0281</id>
<content type='text'>
Overwrite the method add_arguments in the class
OpenStackHelpFormatter to calculate a suitable columnt width
(max_help_position) for the positional arguments.

example output before this patch:

    alarm-threshold-create
                        Create a new alarm based on computed statistics.
    alarm-threshold-update
                        Update an existing alarm based on computed statistics.
    alarm-update        Update an existing alarm (Deprecated).

example output after this patch:

    alarm-threshold-create    Create a new alarm based on computed statistics.
    alarm-threshold-update    Update an existing alarm based on computed
                              statistics.
    alarm-update              Update an existing alarm (Deprecated).

Change-Id: I945e46bb9e0309b960e3322261d9d6ff9fa35b52
Closes-Bug: #1326471
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overwrite the method add_arguments in the class
OpenStackHelpFormatter to calculate a suitable columnt width
(max_help_position) for the positional arguments.

example output before this patch:

    alarm-threshold-create
                        Create a new alarm based on computed statistics.
    alarm-threshold-update
                        Update an existing alarm based on computed statistics.
    alarm-update        Update an existing alarm (Deprecated).

example output after this patch:

    alarm-threshold-create    Create a new alarm based on computed statistics.
    alarm-threshold-update    Update an existing alarm based on computed
                              statistics.
    alarm-update              Update an existing alarm (Deprecated).

Change-Id: I945e46bb9e0309b960e3322261d9d6ff9fa35b52
Closes-Bug: #1326471
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve --debug logging output</title>
<updated>2014-07-07T11:39:35+00:00</updated>
<author>
<name>liu-sheng</name>
<email>liusheng@huawei.com</email>
</author>
<published>2014-06-24T01:20:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=617f7f87cb19210382902ece612ba1d4e89ecde7'/>
<id>617f7f87cb19210382902ece612ba1d4e89ecde7</id>
<content type='text'>
This change makes the following improvements to the output of a
ceilometer command with the --debug option set:

* Silences spurious logging from iso8601 and urllib3.connectionpool
* Removes the line number from the logging format, since the intent
  of --debug is to show the user what network requests are occuring.

Change-Id: I1b286adf63b1ca05ec4fcfb27fbc939aa662cc7e
Closes-bug: #1324470
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change makes the following improvements to the output of a
ceilometer command with the --debug option set:

* Silences spurious logging from iso8601 and urllib3.connectionpool
* Removes the line number from the logging format, since the intent
  of --debug is to show the user what network requests are occuring.

Change-Id: I1b286adf63b1ca05ec4fcfb27fbc939aa662cc7e
Closes-bug: #1324470
</pre>
</div>
</content>
</entry>
<entry>
<title>Update python-ceilometerclient to support Keystone V3 API</title>
<updated>2014-06-26T16:39:38+00:00</updated>
<author>
<name>Fabio Giannetti</name>
<email>fabio.giannetti@hp.com</email>
</author>
<published>2014-05-29T01:18:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=6082ae31ed260520079a58cb2f0e4d3b3915d7da'/>
<id>6082ae31ed260520079a58cb2f0e4d3b3915d7da</id>
<content type='text'>
Keystone is now deprecating the V2 API in favor of the V3 API.
The ceilometer client is now using the keystone session to
delegate the discovery of the version that is going to be used,
this eliminates the need of updating the client every time there
is a new API version.

DocImpact

blueprint support-keystone-v3-api

Change-Id: I6ebacce7adf70f24bdede9b920853ab9851071cf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keystone is now deprecating the V2 API in favor of the V3 API.
The ceilometer client is now using the keystone session to
delegate the discovery of the version that is going to be used,
this eliminates the need of updating the client every time there
is a new API version.

DocImpact

blueprint support-keystone-v3-api

Change-Id: I6ebacce7adf70f24bdede9b920853ab9851071cf
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "fixed several pep8 issues"</title>
<updated>2014-05-29T05:46:54+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2014-05-29T05:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=d55038ceafdd49ac60ba1e115c331583b430f1ee'/>
<id>d55038ceafdd49ac60ba1e115c331583b430f1ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix exception handling of CLI</title>
<updated>2014-05-23T03:02:18+00:00</updated>
<author>
<name>liu-sheng</name>
<email>liusheng@huawei.com</email>
</author>
<published>2014-05-21T08:40:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=cb11c9bb3dd9781e6b3066c0db04667c8175db31'/>
<id>cb11c9bb3dd9781e6b3066c0db04667c8175db31</id>
<content type='text'>
Because exc.Unauthorized exception has been removed for commit
"Remove out-dated exceptions"(https://review.openstack.org/#/c/93852/).
but it still in use in ceilometerclient.shell.CeilometerShell#main().
This patch replace exc.Unauthorized with exc.HTTPUnauthorized.
And other three places of exc.NotFound are in use too.

Change-Id: I3e010db20cb6f6636126cceed5c62a9817213739
Closes-bug: #1321649
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because exc.Unauthorized exception has been removed for commit
"Remove out-dated exceptions"(https://review.openstack.org/#/c/93852/).
but it still in use in ceilometerclient.shell.CeilometerShell#main().
This patch replace exc.Unauthorized with exc.HTTPUnauthorized.
And other three places of exc.NotFound are in use too.

Change-Id: I3e010db20cb6f6636126cceed5c62a9817213739
Closes-bug: #1321649
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed several pep8 issues</title>
<updated>2014-05-16T17:20:46+00:00</updated>
<author>
<name>Christian Berendt</name>
<email>berendt@b1-systems.de</email>
</author>
<published>2014-05-13T20:56:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=0f834438227b483e1dd214575df0a8c0bf5e90ad'/>
<id>0f834438227b483e1dd214575df0a8c0bf5e90ad</id>
<content type='text'>
  * E122 continuation line missing indentation or outdented
  * E126 continuation line over-indented for hanging indent
  * E128 continuation line under-indented for visual indent
  * E265 block comment should start with '# '

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

Change-Id: Iaea72c74d3678061b0ac837eb8fe8c85a883bb4a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  * E122 continuation line missing indentation or outdented
  * E126 continuation line over-indented for hanging indent
  * E128 continuation line under-indented for visual indent
  * E265 block comment should start with '# '

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

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