<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ceilometerclient.git/ceilometerclient/common/base.py, branch 2.2.0</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>remove py24 compatible code</title>
<updated>2016-01-08T01:40:36+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2016-01-08T01:40:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=d2feb8871b843f13333bfbe862f7e303a7819a0b'/>
<id>d2feb8871b843f13333bfbe862f7e303a7819a0b</id>
<content type='text'>
Change-Id: If62986b3ba913776ee6b9328a10e358e0e14e7cd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If62986b3ba913776ee6b9328a10e358e0e14e7cd
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch missing 404 exceptions in client</title>
<updated>2015-05-18T17:22:58+00:00</updated>
<author>
<name>Juan Antonio Osorio Robles</name>
<email>juan.osorio.robles@ericsson.com</email>
</author>
<published>2015-05-05T12:38:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=ec491131546f8a9d50c912d3f8f81587937e50e6'/>
<id>ec491131546f8a9d50c912d3f8f81587937e50e6</id>
<content type='text'>
Whenever an entity wasn't found, the ceilometerclient would issue a
NotFound exception. Which is fine, except that it's not the exception
that was being expected in the client at all. This exception was defined
in the apiclient in the openstack/common directory. So, instead this
exception is now being caught in the manager, and now the appropriate
exception is being raised.

There were some functions where, if the entity was not to be found, a
404 exception would be raised, which was never caught by the client
since it was expecting the function to return None, instead of raising.
This CR fixes that.

Closes-Bug: #1451833
Change-Id: I47b34af2df9c85f86ba1f7f4d7b2951f8d27f96c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whenever an entity wasn't found, the ceilometerclient would issue a
NotFound exception. Which is fine, except that it's not the exception
that was being expected in the client at all. This exception was defined
in the apiclient in the openstack/common directory. So, instead this
exception is now being caught in the manager, and now the appropriate
exception is being raised.

There were some functions where, if the entity was not to be found, a
404 exception would be raised, which was never caught by the client
since it was expecting the function to return None, instead of raising.
This CR fixes that.

Closes-Bug: #1451833
Change-Id: I47b34af2df9c85f86ba1f7f4d7b2951f8d27f96c
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow all pep8 checks</title>
<updated>2015-01-12T10:55:29+00:00</updated>
<author>
<name>Dina Belova</name>
<email>dbelova@mirantis.com</email>
</author>
<published>2015-01-12T10:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=00f9e3f3a032caef21be6e4d50749e3ab403ba56'/>
<id>00f9e3f3a032caef21be6e4d50749e3ab403ba56</id>
<content type='text'>
Fix H405 pep8 issue. H904 issue check was ignored, although
there were no places in client code violating this rule.

Change-Id: If3b84eb8abb03511d7f77cabfa2955f472a60f23
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix H405 pep8 issue. H904 issue check was ignored, although
there were no places in client code violating this rule.

Change-Id: If3b84eb8abb03511d7f77cabfa2955f472a60f23
</pre>
</div>
</content>
</entry>
<entry>
<title>Add client property for common.base.Manager</title>
<updated>2014-12-19T03:06:42+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>zhiqiang.fan@huawei.com</email>
</author>
<published>2014-12-19T03:04:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=dc74ae7c14af89b8371bf737b4e24468caaba198'/>
<id>dc74ae7c14af89b8371bf737b4e24468caaba198</id>
<content type='text'>
The latest oslo-incubator.apiclient code assumes resource manager has
property named client, but ceilometerclient has named that property
to api, which will cause problem when we sync with oslo-incubator.

This patch simply uses client as an alias of api.

Change-Id: I90c5ff10309ff7ad3fb634274e16c26ec8e6a1a2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The latest oslo-incubator.apiclient code assumes resource manager has
property named client, but ceilometerclient has named that property
to api, which will cause problem when we sync with oslo-incubator.

This patch simply uses client as an alias of api.

Change-Id: I90c5ff10309ff7ad3fb634274e16c26ec8e6a1a2
</pre>
</div>
</content>
</entry>
<entry>
<title>Verify alarm found before modifying</title>
<updated>2014-08-29T14:04:30+00:00</updated>
<author>
<name>Eric Pendergrass</name>
<email>eap@hp.com</email>
</author>
<published>2014-07-29T15:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=8a01731d4e68152e9f575bea78b2baa085986726'/>
<id>8a01731d4e68152e9f575bea78b2baa085986726</id>
<content type='text'>
Current behavior is to retrieve alarm by id and conduct operations on the
object.  If the tenant doesn't own the alarm or isn't admin, the user will
receive the message: 'NoneType' object has no attribute 'to_dict'

Above message doesn't provide any useful diagnostic information and indicates a
programming error since an unexpected None-type is encountered and not handled.

This change verifies the alarm is found before using the object.  If alarm not
found it prints the same message for a not found Alarm as other PUT operations
like alarm-state-set:  Alarm not found: &lt;alarm_id&gt;.

This message is more useful for diagnosis and gets rid of the uncaught
None-type error.

Change-Id: I66abcd4498b24ac7cadcf29fe3ced3fcda08458c
Closes-Bug: #1348387
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current behavior is to retrieve alarm by id and conduct operations on the
object.  If the tenant doesn't own the alarm or isn't admin, the user will
receive the message: 'NoneType' object has no attribute 'to_dict'

Above message doesn't provide any useful diagnostic information and indicates a
programming error since an unexpected None-type is encountered and not handled.

This change verifies the alarm is found before using the object.  If alarm not
found it prints the same message for a not found Alarm as other PUT operations
like alarm-state-set:  Alarm not found: &lt;alarm_id&gt;.

This message is more useful for diagnosis and gets rid of the uncaught
None-type error.

Change-Id: I66abcd4498b24ac7cadcf29fe3ced3fcda08458c
Closes-Bug: #1348387
</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>Use Resource() class from common Oslo code</title>
<updated>2014-01-08T11:41:25+00:00</updated>
<author>
<name>ekudryashova</name>
<email>ekudryashova@mirantis.com</email>
</author>
<published>2013-12-18T13:48:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=1fe2e7f8d3241114f71a2720379b9ba32936953e'/>
<id>1fe2e7f8d3241114f71a2720379b9ba32936953e</id>
<content type='text'>
In the process of unification of the clients code we should
reuse common functionality from Oslo. Resource() class from ceilometer
duplicates Oslo funclionality, so we replace it with inheritance

Change-Id: I4e4b83252cdc87e8484d15e351cd5dab08f3ed8a
</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. Resource() class from ceilometer
duplicates Oslo funclionality, so we replace it with inheritance

Change-Id: I4e4b83252cdc87e8484d15e351cd5dab08f3ed8a
</pre>
</div>
</content>
</entry>
<entry>
<title>Use six.iteritems() for dict</title>
<updated>2013-10-14T09:25:58+00:00</updated>
<author>
<name>Kui Shi</name>
<email>skuicloud@gmail.com</email>
</author>
<published>2013-10-14T08:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=38e1ee4632e955e3b8d3643b9d842675c6d15437'/>
<id>38e1ee4632e955e3b8d3643b9d842675c6d15437</id>
<content type='text'>
Fix the error:
AttributeError: 'dict' object has no attribute 'iteritems'

Partial Implement: blueprint py33-support

Change-Id: I5dff17d1df01d6583f882f818434804d65726c51
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the error:
AttributeError: 'dict' object has no attribute 'iteritems'

Partial Implement: blueprint py33-support

Change-Id: I5dff17d1df01d6583f882f818434804d65726c51
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace OpenStack LLC with OpenStack Foundation</title>
<updated>2013-09-19T19:58:04+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2013-09-19T19:14:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=fb1ff39d53826b94c3c04645d972a0a96dc8225a'/>
<id>fb1ff39d53826b94c3c04645d972a0a96dc8225a</id>
<content type='text'>
Change-Id: Ia007da282714d8ee7337fd3b51f6dcc3b64d7ec3
Fixes-Bug: #1214176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia007da282714d8ee7337fd3b51f6dcc3b64d7ec3
Fixes-Bug: #1214176
</pre>
</div>
</content>
</entry>
<entry>
<title>Add client support for creating new alarms.</title>
<updated>2013-05-28T14:08:56+00:00</updated>
<author>
<name>Eoghan Glynn</name>
<email>eglynn@redhat.com</email>
</author>
<published>2013-05-22T15:33:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=4946780d5f3c29d753bd9ba36c89257b0a229703'/>
<id>4946780d5f3c29d753bd9ba36c89257b0a229703</id>
<content type='text'>
Change-Id: I4e3be2e480803eeaf4ec11079e69e7e6afd5e0d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I4e3be2e480803eeaf4ec11079e69e7e6afd5e0d1
</pre>
</div>
</content>
</entry>
</feed>
