<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ceilometerclient.git/ceilometerclient/tests/unit/test_client.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>Don't copy the auth_plugin for aodh</title>
<updated>2016-01-07T15:30:14+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2016-01-06T08:44:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=71cb6b3d0ee1f393c2bafee13aa2f013cc82f77d'/>
<id>71cb6b3d0ee1f393c2bafee13aa2f013cc82f77d</id>
<content type='text'>
We must not copy a keystone session object or auth_plugin object.

This change simplifies the aodh redirection code by:
* sharing the keystone session object between aodh and ceilometer client
* creating a new AuthPlugin() for the aodh client instead of copying the ceilometer one
  and then change its content.

Closes-bug: #1531452

Change-Id: I2b2195e32c5dd74136237f7166c9c0d325434611
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We must not copy a keystone session object or auth_plugin object.

This change simplifies the aodh redirection code by:
* sharing the keystone session object between aodh and ceilometer client
* creating a new AuthPlugin() for the aodh client instead of copying the ceilometer one
  and then change its content.

Closes-bug: #1531452

Change-Id: I2b2195e32c5dd74136237f7166c9c0d325434611
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove double API requests</title>
<updated>2015-11-20T07:29:11+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2015-11-19T15:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=25070cd88eccf10eb66ecd42515d9aa54d940eda'/>
<id>25070cd88eccf10eb66ecd42515d9aa54d940eda</id>
<content type='text'>
When a keystone session object is used API call are done twice.

This change fixes that.

Change-Id: I79815520b996bce954fe531193f1a0229ef30060
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a keystone session object is used API call are done twice.

This change fixes that.

Change-Id: I79815520b996bce954fe531193f1a0229ef30060
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch exception raised by keystoneauth1</title>
<updated>2015-11-20T06:34:20+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2015-11-19T15:26:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=52d518537df335432fc487ccd5c81a500049cd28'/>
<id>52d518537df335432fc487ccd5c81a500049cd28</id>
<content type='text'>
We must support session object that comes from keystoneauth1 and
keystoneclient.

This change adds code path for keystoneauth1 when it misses.

Change-Id: I1164a0a0745605b6bc4fd1fc8fb2813c7e40fb9b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We must support session object that comes from keystoneauth1 and
keystoneclient.

This change adds code path for keystoneauth1 when it misses.

Change-Id: I1164a0a0745605b6bc4fd1fc8fb2813c7e40fb9b
</pre>
</div>
</content>
</entry>
<entry>
<title>drop v1 client</title>
<updated>2015-10-21T11:55:06+00:00</updated>
<author>
<name>gordon chung</name>
<email>gord@live.ca</email>
</author>
<published>2015-10-20T15:27:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=cba4f4b7d3b5a0054096c4a01464a0a3c494de97'/>
<id>cba4f4b7d3b5a0054096c4a01464a0a3c494de97</id>
<content type='text'>
we dropped v1 back in Juno. as icehouse is EOL and the client
follows stable/branches, v1 is completely inaccessible and can be
removed

Change-Id: If4c6c07e65a6c47f47c59de6c99e8c40ef4e63cb
Co-Authored-By: ZhiQiang Fan &lt;aji.zqfan@gmail.com&gt;
Closes-Bug: #1389331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we dropped v1 back in Juno. as icehouse is EOL and the client
follows stable/branches, v1 is completely inaccessible and can be
removed

Change-Id: If4c6c07e65a6c47f47c59de6c99e8c40ef4e63cb
Co-Authored-By: ZhiQiang Fan &lt;aji.zqfan@gmail.com&gt;
Closes-Bug: #1389331
</pre>
</div>
</content>
</entry>
<entry>
<title>Move to keystone session object</title>
<updated>2015-10-07T07:33:35+00:00</updated>
<author>
<name>Mehdi Abaakouk</name>
<email>sileht@redhat.com</email>
</author>
<published>2015-10-02T14:25:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=4cb9281d5dbd7573350655ba60d15cf6a6312f29'/>
<id>4cb9281d5dbd7573350655ba60d15cf6a6312f29</id>
<content type='text'>
ceilometer client is a rare client that doesn't allow to use
a keystoneclient/keystoneauth session object.

This change fixes that and will allow to remove the
deprecated apiclient code in the future.

Depends-On: I43223a8b38ff1f4ef30c1d2345a28de6ade51863
Depends-On: I7cbe0afa12c9d11ce2eaed1f4d29f41507e273f8
Change-Id: I4804c45c2ba69982163503ba5d9d4eba86f904fe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ceilometer client is a rare client that doesn't allow to use
a keystoneclient/keystoneauth session object.

This change fixes that and will allow to remove the
deprecated apiclient code in the future.

Depends-On: I43223a8b38ff1f4ef30c1d2345a28de6ade51863
Depends-On: I7cbe0afa12c9d11ce2eaed1f4d29f41507e273f8
Change-Id: I4804c45c2ba69982163503ba5d9d4eba86f904fe
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't try to get aodh endpoint if auth_url didn't provided</title>
<updated>2015-08-25T01:32:56+00:00</updated>
<author>
<name>liu-sheng</name>
<email>liusheng@huawei.com</email>
</author>
<published>2015-08-24T11:14:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=2429daec98998767924d1287711b309aacfb03dc'/>
<id>2429daec98998767924d1287711b309aacfb03dc</id>
<content type='text'>
This change includes:

* Allow users of ceilometerclient specifying aodh_endpoint explicitly
* If aodh_endpoint didn't provided and users just provide ceilometer
  endpoint and token, no auth_url, we assume aodh is unavailable and
  avoid trying to get aodh endpoint.

Change-Id: Idd0ce60058d23507a99b89926e461d19db267ca2
Closes-Bug: #1488290
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change includes:

* Allow users of ceilometerclient specifying aodh_endpoint explicitly
* If aodh_endpoint didn't provided and users just provide ceilometer
  endpoint and token, no auth_url, we assume aodh is unavailable and
  avoid trying to get aodh endpoint.

Change-Id: Idd0ce60058d23507a99b89926e461d19db267ca2
Closes-Bug: #1488290
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for client redirecting to aodh endpoint if available</title>
<updated>2015-07-22T01:06:36+00:00</updated>
<author>
<name>liu-sheng</name>
<email>liusheng@huawei.com</email>
</author>
<published>2015-07-17T09:10:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=4cbf923ee1468544f14ed95f849c2b9e7db4499f'/>
<id>4cbf923ee1468544f14ed95f849c2b9e7db4499f</id>
<content type='text'>
Currently, alarm module of ceilometer has been decided to be splitted out
of ceilometer tree. To keep compatibility for others upstream users
(such as Heat), we need to redirect alarm related request to aodh endpoint.

Change-Id: Id13b56eef55f807d5ad2026f225c93fd5585521e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, alarm module of ceilometer has been decided to be splitted out
of ceilometer tree. To keep compatibility for others upstream users
(such as Heat), we need to redirect alarm related request to aodh endpoint.

Change-Id: Id13b56eef55f807d5ad2026f225c93fd5585521e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unit tests failing caused by new Mock release</title>
<updated>2015-07-10T16:18:04+00:00</updated>
<author>
<name>Ilya Tyaptin</name>
<email>ityaptin@mirantis.com</email>
</author>
<published>2015-07-10T16:18:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=04ce0db3e7142fb855436900311eb8f6efc92daf'/>
<id>04ce0db3e7142fb855436900311eb8f6efc92daf</id>
<content type='text'>
Since the mock 1.1.1 calling of function 'assert_called' and
'assert_called_once' raises the AttributeError.
In current patchset calling of these functions is fixed

Change-Id: I5c21bb3f6cfd8cc095a277ead80794e97bb63c72
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the mock 1.1.1 calling of function 'assert_called' and
'assert_called_once' raises the AttributeError.
In current patchset calling of these functions is fixed

Change-Id: I5c21bb3f6cfd8cc095a277ead80794e97bb63c72
</pre>
</div>
</content>
</entry>
<entry>
<title>[unittest] Increase client and shell modules cover</title>
<updated>2015-05-11T07:59:35+00:00</updated>
<author>
<name>Ilya Tyaptin</name>
<email>ityaptin@mirantis.com</email>
</author>
<published>2015-04-29T11:30:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=ba02fdc1df58eb530b0d86bfa3daed8af23aff59'/>
<id>ba02fdc1df58eb530b0d86bfa3daed8af23aff59</id>
<content type='text'>
Add tests to increase unittest coverage of ceilometerclient.client,
ceilometerclient.shell, ceilometerclient.v2.shell.

Change-Id: I83a64ee31d6068a5903ef85ec85d5780828a24d7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tests to increase unittest coverage of ceilometerclient.client,
ceilometerclient.shell, ceilometerclient.v2.shell.

Change-Id: I83a64ee31d6068a5903ef85ec85d5780828a24d7
</pre>
</div>
</content>
</entry>
<entry>
<title>Add timeout for keystoneclient session</title>
<updated>2015-04-14T17:36:33+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>zhiqiang.fan@huawei.com</email>
</author>
<published>2015-03-31T07:03:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=44af2d4087815d5d451305b549f91ab6130528c0'/>
<id>44af2d4087815d5d451305b549f91ab6130528c0</id>
<content type='text'>
Currently, we only apply timeout on ceilometer api, but not on keystone
api as well, this is not consistent. Keystone api may be slow, or worse,
stuck, then ceilometerclient will not return timely. This issue has caused
availability problem in our environment when ceilometer alarm service
has been running for a long time.

Change-Id: I0d5f82ff9cf4132a1de2f0b649908483326e116e
Closes-Bug: #1436249
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, we only apply timeout on ceilometer api, but not on keystone
api as well, this is not consistent. Keystone api may be slow, or worse,
stuck, then ceilometerclient will not return timely. This issue has caused
availability problem in our environment when ceilometer alarm service
has been running for a long time.

Change-Id: I0d5f82ff9cf4132a1de2f0b649908483326e116e
Closes-Bug: #1436249
</pre>
</div>
</content>
</entry>
</feed>
