<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-glanceclient.git/glanceclient/v2/tasks.py, branch ocata-eol</title>
<subtitle>opendev.org: openstack/python-glanceclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/'/>
<entry>
<title>Add request id to returned objects</title>
<updated>2017-01-20T09:20:42+00:00</updated>
<author>
<name>Ravi Jethani</name>
<email>ravishekar.jethani@nttdata.com</email>
</author>
<published>2016-04-22T13:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=610177a779b95f931356c1e90b05a5bffd2616b3'/>
<id>610177a779b95f931356c1e90b05a5bffd2616b3</id>
<content type='text'>
Adding two classes RequestIdProxy and GeneratorProxy derived from
wrapt.ObjectProxy to wrap objects returned from the API.

GeneratorProxy class is used to wrap generator objects returned
by cases like images.list() etc. whereas RequestIdProxy class is
used to wrap non-generator object cases like images.create() etc.

In all cases the returned object will have the same behavior as
the wrapped(original) object. However now the returned objects
will have an extra property 'request_ids' which is a list of
exactly one request id.

For generator cases the request_ids property will be an empty list
until the underlying generator is invoked at-least once.

Co-Authored-By: Abhishek Kekane &lt;abhishek.kekane@nttdata.com&gt;

Closes-Bug: #1525259
Blueprint: return-request-id-to-caller
Change-Id: If8c0e0843270ff718a37ca2697afeb8da22aa3b1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding two classes RequestIdProxy and GeneratorProxy derived from
wrapt.ObjectProxy to wrap objects returned from the API.

GeneratorProxy class is used to wrap generator objects returned
by cases like images.list() etc. whereas RequestIdProxy class is
used to wrap non-generator object cases like images.create() etc.

In all cases the returned object will have the same behavior as
the wrapped(original) object. However now the returned objects
will have an extra property 'request_ids' which is a list of
exactly one request id.

For generator cases the request_ids property will be an empty list
until the underlying generator is invoked at-least once.

Co-Authored-By: Abhishek Kekane &lt;abhishek.kekane@nttdata.com&gt;

Closes-Bug: #1525259
Blueprint: return-request-id-to-caller
Change-Id: If8c0e0843270ff718a37ca2697afeb8da22aa3b1
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix warlock model creation"</title>
<updated>2016-08-12T15:15:46+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2016-08-12T15:15:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=5de07c339503c90634e27de342d23276a8833111'/>
<id>5de07c339503c90634e27de342d23276a8833111</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace OpenStack LLC with OpenStack Foundation</title>
<updated>2016-07-26T09:47:14+00:00</updated>
<author>
<name>dineshbhor</name>
<email>dinesh.bhor@nttdata.com</email>
</author>
<published>2016-07-26T09:47:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=98bbbb88e74cd0a631c74cac425db9864ad3d93d'/>
<id>98bbbb88e74cd0a631c74cac425db9864ad3d93d</id>
<content type='text'>
Change-Id: I5877db07031b12d8fa7ed774ac09d24f8906ea86
Closes-Bug: #1214176
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5877db07031b12d8fa7ed774ac09d24f8906ea86
Closes-Bug: #1214176
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix warlock model creation</title>
<updated>2016-07-07T01:18:42+00:00</updated>
<author>
<name>Sabari Kumar Murugesan</name>
<email>smurugesan@vmware.com</email>
</author>
<published>2016-07-07T01:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=d7db97c92605a11e312d17cdcdd8ac363bc10924'/>
<id>d7db97c92605a11e312d17cdcdd8ac363bc10924</id>
<content type='text'>
Commands like glance md-namespace-show &lt;namespace&gt; fail because
of a breaking change in warlock 1.3.0's model creation factory
method.

Warlock introduced a new kwarg 'resolver' in model_factory method
but changed its position with the 'base_class' kwarg. Since we
were calling the model_factory method with positional arg, this
broke the model creation.

Closes-Bug: #1596573

Change-Id: Ic7821f4fdb1b752e0c7ed2bc486299a06bf485c1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commands like glance md-namespace-show &lt;namespace&gt; fail because
of a breaking change in warlock 1.3.0's model creation factory
method.

Warlock introduced a new kwarg 'resolver' in model_factory method
but changed its position with the 'base_class' kwarg. Since we
were calling the model_factory method with positional arg, this
broke the model creation.

Closes-Bug: #1596573

Change-Id: Ic7821f4fdb1b752e0c7ed2bc486299a06bf485c1
</pre>
</div>
</content>
</entry>
<entry>
<title>Docs are generated incorrectly</title>
<updated>2016-03-22T13:28:14+00:00</updated>
<author>
<name>Tom Cocozzello</name>
<email>tjcocozz@us.ibm.com</email>
</author>
<published>2016-03-16T21:34:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=c6904d033265a61143a7fa39a0108741ba3856ff'/>
<id>c6904d033265a61143a7fa39a0108741ba3856ff</id>
<content type='text'>
When docs are generated with pbr command 'warnerrors = True'
there are many doc problems that are shown. This patch fixes
these problems.

Change-Id: Idb804ab924782b6d7d379494987bdba2acbce568
Closes-Bug: #1557235
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When docs are generated with pbr command 'warnerrors = True'
there are many doc problems that are shown. This patch fixes
these problems.

Change-Id: Idb804ab924782b6d7d379494987bdba2acbce568
Closes-Bug: #1557235
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace exception_to_str with oslo.utils function</title>
<updated>2015-09-22T12:40:02+00:00</updated>
<author>
<name>kairat_kushaev</name>
<email>kkushaev@mirantis.com</email>
</author>
<published>2015-09-22T12:40:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=c6addc722c99ce2688b335dd20c796c3a5dab1ba'/>
<id>c6addc722c99ce2688b335dd20c796c3a5dab1ba</id>
<content type='text'>
The oslo.utils function has exception_to_unicode that can
replace glance util function exception_to_str.
So we don't to have this exception_to_str function in glance
anymore.

Change-Id: I332bc55558087920fdd6ae2d822bece5166f5ba6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The oslo.utils function has exception_to_unicode that can
replace glance util function exception_to_str.
So we don't to have this exception_to_str function in glance
anymore.

Change-Id: I332bc55558087920fdd6ae2d822bece5166f5ba6
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable flake8 checks</title>
<updated>2015-07-21T14:08:27+00:00</updated>
<author>
<name>Darja Shakhray</name>
<email>dshakhray@mirantis.com</email>
</author>
<published>2015-07-20T14:29:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=ec0f2dfd8500d230895e286462aaf69c43777038'/>
<id>ec0f2dfd8500d230895e286462aaf69c43777038</id>
<content type='text'>
This commit enables new flake8 checks:
* E265  block comment should start with '# '
* H405  multi line docstring summary not separated with an empty line
* E123  closing bracket does not match indentation of opening bracket's line
* H238  old style class declaration, use new style (inherit from `object`)
* E128  continuation line under-indented for visual indent
and makes related changes in the code.

Change-Id: Ie993afc930f6b74d7a990bcaa9fc0e9f5ba1585c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit enables new flake8 checks:
* E265  block comment should start with '# '
* H405  multi line docstring summary not separated with an empty line
* E123  closing bracket does not match indentation of opening bracket's line
* H238  old style class declaration, use new style (inherit from `object`)
* E128  continuation line under-indented for visual indent
and makes related changes in the code.

Change-Id: Ie993afc930f6b74d7a990bcaa9fc0e9f5ba1585c
</pre>
</div>
</content>
</entry>
<entry>
<title>Creating task with invalid property crashes in py3</title>
<updated>2015-04-02T06:15:48+00:00</updated>
<author>
<name>Kamil Rykowski</name>
<email>kamil.rykowski@intel.com</email>
</author>
<published>2015-04-02T06:15:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=a6234d1c4e0ba8c6bbf822cfe89473436b583acc'/>
<id>a6234d1c4e0ba8c6bbf822cfe89473436b583acc</id>
<content type='text'>
Currently when you are trying to set invalid additional property for
task using py3 interpreter it will fail, because function `unicode` does
not exist in py3.

Fix it by replacing `unicode` with `utils.exception_to_str` which is
used in other modules already.

Change-Id: I5897868f801467a2eaa7585b5f2d578cef358426
Closes-Bug: 1439513
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently when you are trying to set invalid additional property for
task using py3 interpreter it will fail, because function `unicode` does
not exist in py3.

Fix it by replacing `unicode` with `utils.exception_to_str` which is
used in other modules already.

Change-Id: I5897868f801467a2eaa7585b5f2d578cef358426
Closes-Bug: 1439513
</pre>
</div>
</content>
</entry>
<entry>
<title>Change oslo.utils to oslo_utils</title>
<updated>2015-02-05T22:27:16+00:00</updated>
<author>
<name>Louis Taylor</name>
<email>kragniz@gmail.com</email>
</author>
<published>2015-02-05T22:27:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=e99e0c8690e25abf226f3a7eaf636ce967537fee'/>
<id>e99e0c8690e25abf226f3a7eaf636ce967537fee</id>
<content type='text'>
The oslo.utils libraries are moving away from namespace packages.

This requires oslo.utils&gt;=1.2.0

bp drop-namespace-packages

Change-Id: I803df61e91eabb96329d859aef6bea03530fb84f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The oslo.utils libraries are moving away from namespace packages.

This requires oslo.utils&gt;=1.2.0

bp drop-namespace-packages

Change-Id: I803df61e91eabb96329d859aef6bea03530fb84f
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove openstack.common.strutils</title>
<updated>2015-01-27T19:22:42+00:00</updated>
<author>
<name>Louis Taylor</name>
<email>kragniz@gmail.com</email>
</author>
<published>2015-01-06T14:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/openstack/python-glanceclient.git/commit/?id=b818826420a383e733ec40881ff436595ca57cc8'/>
<id>b818826420a383e733ec40881ff436595ca57cc8</id>
<content type='text'>
This module now lives in oslo.utils, so import it from there instead.

Co-Authored-By: Ian Cordasco &lt;ian.cordasco@rackspace.com&gt;
Change-Id: Ib35dc840992433542490670781badd9529ec8947
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This module now lives in oslo.utils, so import it from there instead.

Co-Authored-By: Ian Cordasco &lt;ian.cordasco@rackspace.com&gt;
Change-Id: Ib35dc840992433542490670781badd9529ec8947
</pre>
</div>
</content>
</entry>
</feed>
