<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-ceilometerclient.git/ceilometerclient/tests/unit/test_shell.py, branch 2.6.1</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 keystoneauth</title>
<updated>2016-06-01T12:24:03+00:00</updated>
<author>
<name>Clenimar Filemon</name>
<email>clenimar.filemon@gmail.com</email>
</author>
<published>2016-05-31T19:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=39ee8fbc087011602bcb37daa877e3dd2926a0a2'/>
<id>39ee8fbc087011602bcb37daa877e3dd2926a0a2</id>
<content type='text'>
keystoneclient.auth is deprecated in favour of keystoneauth. This patch
updates Ceilometerclient accordingly.

Change-Id: Id4b14cbccfabfeaa5322f7ae5702261d0ed9cca2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
keystoneclient.auth is deprecated in favour of keystoneauth. This patch
updates Ceilometerclient accordingly.

Change-Id: Id4b14cbccfabfeaa5322f7ae5702261d0ed9cca2
</pre>
</div>
</content>
</entry>
<entry>
<title>remove default value of repeat-actions</title>
<updated>2016-03-10T13:43:09+00:00</updated>
<author>
<name>ZhiQiang Fan</name>
<email>aji.zqfan@gmail.com</email>
</author>
<published>2016-03-07T17:43:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=c8ff0e7f9672298859298960084721ee520fa060'/>
<id>c8ff0e7f9672298859298960084721ee520fa060</id>
<content type='text'>
I94468ff649dd4367848c74e94a3feb08494bb223 fixes problem that ceilometeclient
incorrectly reset repeat-actions when update any attribute.

I53f3af447a8f814388985f6e4ab57a8ffec18a2a reverts most of the above change,
which leading to bug 1539092. Because repeat-actions has default value False,
no matter we set it or not, it will replace this bit when we get alarm from API.

The unit test doesn't cover such case, so this change still succeeds in CI test.

We don't need to revert it again, because the redundant code for create and update
is not needed, repeat-actions has default value (False) in API side, so the proper
way is simply removing the default value in CLI side.

Change-Id: I39c28294db3e55141bb8a2024a6ddfdf8acf5e0d
Closes-Bug: #1539092
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I94468ff649dd4367848c74e94a3feb08494bb223 fixes problem that ceilometeclient
incorrectly reset repeat-actions when update any attribute.

I53f3af447a8f814388985f6e4ab57a8ffec18a2a reverts most of the above change,
which leading to bug 1539092. Because repeat-actions has default value False,
no matter we set it or not, it will replace this bit when we get alarm from API.

The unit test doesn't cover such case, so this change still succeeds in CI test.

We don't need to revert it again, because the redundant code for create and update
is not needed, repeat-actions has default value (False) in API side, so the proper
way is simply removing the default value in CLI side.

Change-Id: I39c28294db3e55141bb8a2024a6ddfdf8acf5e0d
Closes-Bug: #1539092
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Don't copy the auth_plugin for aodh"</title>
<updated>2016-01-12T11:01:03+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-01-12T11:01:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=25517d0226e69bbabf9679c80445746a5cab846d'/>
<id>25517d0226e69bbabf9679c80445746a5cab846d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Use assertTrue/False instead of assertEqual(T/F)</title>
<updated>2016-01-07T07:08:00+00:00</updated>
<author>
<name>Swapnil Kulkarni (coolsvap)</name>
<email>me@coolsvap.net</email>
</author>
<published>2016-01-07T07:07:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=c4abadfee8de8f64f91e4579b0f58fc7b4943462'/>
<id>c4abadfee8de8f64f91e4579b0f58fc7b4943462</id>
<content type='text'>
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).

Change-Id: Iabf8d017b47025309f186afb5e30b8ad990c2448
Closes-Bug:#1512207
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).

Change-Id: Iabf8d017b47025309f186afb5e30b8ad990c2448
Closes-Bug:#1512207
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace assertEqual(None, *) with assertIsNone in tests</title>
<updated>2015-12-17T13:06:01+00:00</updated>
<author>
<name>Shuquan Huang</name>
<email>huang.shuquan@99cloud.net</email>
</author>
<published>2015-12-17T13:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=a63f15272c61d5b3ab54d00da1209e4d6bf6bcad'/>
<id>a63f15272c61d5b3ab54d00da1209e4d6bf6bcad</id>
<content type='text'>
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Change-Id: I36db8bdcb67b8cc0a3bf1f063b4a7b42955b100b
Closes-bug: #1280522
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Change-Id: I36db8bdcb67b8cc0a3bf1f063b4a7b42955b100b
Closes-bug: #1280522
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicated assert</title>
<updated>2015-12-03T06:17:43+00:00</updated>
<author>
<name>Chaozhe.Chen</name>
<email>chaozhe.chen@easystack.cn</email>
</author>
<published>2015-12-03T06:09:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=c6cb6b11bcf41436abd92ac88ae47c04cb003393'/>
<id>c6cb6b11bcf41436abd92ac88ae47c04cb003393</id>
<content type='text'>
Change-Id: I7159129411254a940122a88941a642feb6d72ef2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7159129411254a940122a88941a642feb6d72ef2
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the parameter order of assertEqual in ceilometerclient</title>
<updated>2015-12-02T02:06:00+00:00</updated>
<author>
<name>Steve Wilkerson</name>
<email>sw5822@att.com</email>
</author>
<published>2015-12-02T02:06:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=7c673951d9f4bf0baecceace27f2fb800ab7604c'/>
<id>7c673951d9f4bf0baecceace27f2fb800ab7604c</id>
<content type='text'>
On assertEqual, the parameter order should be (expected, actual).
Some of the tests in ceilometer client were written with invalid
parameter orders.  This patch fixes those tests.

Change-Id: I9a7a81bdb0d9224f2b9cd53b7fb6eaf5ed7a582a
Partial-Bug: 1277104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On assertEqual, the parameter order should be (expected, actual).
Some of the tests in ceilometer client were written with invalid
parameter orders.  This patch fixes those tests.

Change-Id: I9a7a81bdb0d9224f2b9cd53b7fb6eaf5ed7a582a
Partial-Bug: 1277104
</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>tenant_id not required with keystone v3</title>
<updated>2015-07-31T20:35:20+00:00</updated>
<author>
<name>Rohit Jaiswal</name>
<email>rohit.jaiswal@hp.com</email>
</author>
<published>2015-07-31T05:24:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-ceilometerclient.git/commit/?id=803c59fbc7682dbfbd8f32c191c3e5e45d9fb8ca'/>
<id>803c59fbc7682dbfbd8f32c191c3e5e45d9fb8ca</id>
<content type='text'>
Ceilometer-client requires tenant_id when
authenticating with keystone v3.

This fix removes this requirement.

Change-Id: I36bf3f7a75713976c56dd95b4fd22da4e64d01df
Closes-Bug: 1440463
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ceilometer-client requires tenant_id when
authenticating with keystone v3.

This fix removes this requirement.

Change-Id: I36bf3f7a75713976c56dd95b4fd22da4e64d01df
Closes-Bug: 1440463
</pre>
</div>
</content>
</entry>
</feed>
