<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/cinderclient/tests/unit/v1, branch 1.2.2</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Merge "Add findall server side filtering"</title>
<updated>2015-06-05T03:40:30+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-06-05T03:40:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=4f7bb8f3d73c00c68e4daf7d8f7cb08e8a2d6db1'/>
<id>4f7bb8f3d73c00c68e4daf7d8f7cb08e8a2d6db1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump hacking to &gt;=0.10.0,&lt;0.11 to fix failure of gate pep8</title>
<updated>2015-06-01T19:33:03+00:00</updated>
<author>
<name>Tomoki Sekiyama</name>
<email>tomoki.sekiyama@hds.com</email>
</author>
<published>2015-06-01T18:44:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=2f97e1e3ca070d9d2450519f5ebcf9c0d624cb65'/>
<id>2f97e1e3ca070d9d2450519f5ebcf9c0d624cb65</id>
<content type='text'>
pbr 1.0.1 released in 2015-05-19 requires the newer
hacking module &gt;=0.10.0,&lt;0.11 than the versions
specified in the test-requirement.txt file,
which causes failure in gate-python-cinderclient-pep8.

This patch bumps the pbr version in test-requirement.txt
to make it consistent with requirements repository,
and adds some fixups to avoid some new hacking rules.

Change-Id: I7de6e04e30a475ec1c26224461faf0c708178a40
Closes-Bug: #1460774
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pbr 1.0.1 released in 2015-05-19 requires the newer
hacking module &gt;=0.10.0,&lt;0.11 than the versions
specified in the test-requirement.txt file,
which causes failure in gate-python-cinderclient-pep8.

This patch bumps the pbr version in test-requirement.txt
to make it consistent with requirements repository,
and adds some fixups to avoid some new hacking rules.

Change-Id: I7de6e04e30a475ec1c26224461faf0c708178a40
Closes-Bug: #1460774
</pre>
</div>
</content>
</entry>
<entry>
<title>Add findall server side filtering</title>
<updated>2015-05-22T10:19:47+00:00</updated>
<author>
<name>Anton Arefiev</name>
<email>aarefiev@mirantis.com</email>
</author>
<published>2015-05-06T11:54:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=0b8b9f2de7270a74fb54d40122a9ed397b6360c7'/>
<id>0b8b9f2de7270a74fb54d40122a9ed397b6360c7</id>
<content type='text'>
Findall method in cinderclient/base.py isn't very efficient: it loads
the entire list then filters on the Python side. When calling "cinder
show 'volName'" on a tenant holding a lot of volumes (&gt; 1000) the run
time is too long.

On my env show command with 10000 volumes takes ~2 min, after apply
this patch few seconds.

Closes-Bug: #1449444
Change-Id: I23070d94d5bb100b2dd8677f67d7c8b1e7d34e52
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Findall method in cinderclient/base.py isn't very efficient: it loads
the entire list then filters on the Python side. When calling "cinder
show 'volName'" on a tenant holding a lot of volumes (&gt; 1000) the run
time is too long.

On my env show command with 10000 volumes takes ~2 min, after apply
this patch few seconds.

Closes-Bug: #1449444
Change-Id: I23070d94d5bb100b2dd8677f67d7c8b1e7d34e52
</pre>
</div>
</content>
</entry>
<entry>
<title>Find resource refactoring</title>
<updated>2015-05-12T11:52:46+00:00</updated>
<author>
<name>Anton Arefiev</name>
<email>aarefiev@mirantis.com</email>
</author>
<published>2015-04-28T10:12:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=c5c2d67b7f683ea1f4e8acfb54930bfc2954b342'/>
<id>c5c2d67b7f683ea1f4e8acfb54930bfc2954b342</id>
<content type='text'>
The 'name' field for some resources is called something different,
for example 'display_name' for volumes, 'name' for  volumes type.
So class 'resource' has attribute 'NAME_ATTR' wich contains
attribute name for different resources.

This change removes reduntant call find in resource manager, instead
of it checks NAME_ATTR value.

Related-Bug: #1449444
Change-Id: Ide334d7535c73cbdff72c30319eb539d8f5304d6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'name' field for some resources is called something different,
for example 'display_name' for volumes, 'name' for  volumes type.
So class 'resource' has attribute 'NAME_ATTR' wich contains
attribute name for different resources.

This change removes reduntant call find in resource manager, instead
of it checks NAME_ATTR value.

Related-Bug: #1449444
Change-Id: Ide334d7535c73cbdff72c30319eb539d8f5304d6
</pre>
</div>
</content>
</entry>
<entry>
<title>Support pagination param limit in volume list in V1</title>
<updated>2015-04-22T13:23:47+00:00</updated>
<author>
<name>Anton Arefiev</name>
<email>aarefiev@mirantis.com</email>
</author>
<published>2015-04-22T13:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=235622bf8eb84f45462a78ff2b976df34d85fac5'/>
<id>235622bf8eb84f45462a78ff2b976df34d85fac5</id>
<content type='text'>
Since v1 api supports limit param in volume list, cinderclient
should support it too.

Change-Id: I60ffe0190a61dee354de5bc60ea3210c666bf6f2
Closes-Bug: #1447162
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since v1 api supports limit param in volume list, cinderclient
should support it too.

Change-Id: I60ffe0190a61dee354de5bc60ea3210c666bf6f2
Closes-Bug: #1447162
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "cinder list now supports filter by tenant"</title>
<updated>2015-04-20T22:08:47+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2015-04-20T22:08:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=7a9494eb536ab5cf2f0bdeec6edca38ea3041ee6'/>
<id>7a9494eb536ab5cf2f0bdeec6edca38ea3041ee6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable version discovery</title>
<updated>2015-04-20T15:50:08+00:00</updated>
<author>
<name>Mike Perez</name>
<email>thingee@gmail.com</email>
</author>
<published>2015-01-07T22:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=ae03d2a721bd9acb61805ce792a27fb7cf88e5cd'/>
<id>ae03d2a721bd9acb61805ce792a27fb7cf88e5cd</id>
<content type='text'>
The service catalog can now have the cinder endpoint x.x.x.x:8776 with
service_type volume, without needing to specify a version in the
endpoint. Keystone will do discovery of the root / GET of the Cinder API
to discover the versions that can be talked to.

This also provides backwards compatibility for the previous solution of
having v1 enabled on service_type volume and v2 on service_type
volumev2.

Change-Id: Id0347f8370dbc8fd7fa8096cd5859e10b0c5d67c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The service catalog can now have the cinder endpoint x.x.x.x:8776 with
service_type volume, without needing to specify a version in the
endpoint. Keystone will do discovery of the root / GET of the Cinder API
to discover the versions that can be talked to.

This also provides backwards compatibility for the previous solution of
having v1 enabled on service_type volume and v2 on service_type
volumev2.

Change-Id: Id0347f8370dbc8fd7fa8096cd5859e10b0c5d67c
</pre>
</div>
</content>
</entry>
<entry>
<title>cinder list now supports filter by tenant</title>
<updated>2015-04-12T11:32:18+00:00</updated>
<author>
<name>yatin karel</name>
<email>yatin.karel@nectechnologies.in</email>
</author>
<published>2015-04-12T11:23:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=fa8c7e3d84bd93cdfc3641554e10d422281ea018'/>
<id>fa8c7e3d84bd93cdfc3641554e10d422281ea018</id>
<content type='text'>
Admin can now filter volumes on the basis of tenant.
Also updated help argument, to be consistent over the
v1 and v2 shell module.

Closes-Bug: #1341411
Change-Id: I647f0c9331ee4cd27acbfada6cdb9a56f80701b4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Admin can now filter volumes on the basis of tenant.
Also updated help argument, to be consistent over the
v1 and v2 shell module.

Closes-Bug: #1341411
Change-Id: I647f0c9331ee4cd27acbfada6cdb9a56f80701b4
</pre>
</div>
</content>
</entry>
<entry>
<title>Move unit tests into test directory</title>
<updated>2015-03-24T03:20:10+00:00</updated>
<author>
<name>John Griffith</name>
<email>john.griffith@solidfire.com</email>
</author>
<published>2015-03-06T16:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-cinderclient.git/commit/?id=e5a13047918402ab0373181e25bb842d33c4ad50'/>
<id>e5a13047918402ab0373181e25bb842d33c4ad50</id>
<content type='text'>
This is the first step of moving functional testing
into the project tree.  This change just moves
all of the unit tests to be under a dedicated tests/unit
directory.

Follow up patches will add the functional directory and
start moving tempest CLI tests there.

Change-Id: I9dc0b8f761676c1b3bbdeb03e2f44b35f75c693e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the first step of moving functional testing
into the project tree.  This change just moves
all of the unit tests to be under a dedicated tests/unit
directory.

Follow up patches will add the functional directory and
start moving tempest CLI tests there.

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