<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oslo.git/tests/unit/middleware, branch master</title>
<subtitle>OpenStack's oslo-incubator patches.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/'/>
<entry>
<title>python3: python3 binary/text data compatbility</title>
<updated>2013-05-31T17:17:38+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-05-24T15:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=2bdad357fa19f05a3a579b47578f1510974eb0a4'/>
<id>2bdad357fa19f05a3a579b47578f1510974eb0a4</id>
<content type='text'>
Python3 enforces the distinction between byte strings
far more rigorously than Python 2 does; binary data
cannot be automatically coerced to or from text data.

Use six to provide a fake file object for textual data.
It provides an alias for StringIO.StringIO in python2
and io.StringIO in python3

Change-Id: I65897bb0cca2cbeb5819a769b98645c9eb066401
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python3 enforces the distinction between byte strings
far more rigorously than Python 2 does; binary data
cannot be automatically coerced to or from text data.

Use six to provide a fake file object for textual data.
It provides an alias for StringIO.StringIO in python2
and io.StringIO in python3

Change-Id: I65897bb0cca2cbeb5819a769b98645c9eb066401
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use stubout in test_correlation_id</title>
<updated>2013-05-20T15:55:02+00:00</updated>
<author>
<name>Mark McLoughlin</name>
<email>markmc@redhat.com</email>
</author>
<published>2013-05-20T15:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=d2e9d98d566d0e3bbf2fdb4526c2fc3228d14c2c'/>
<id>d2e9d98d566d0e3bbf2fdb4526c2fc3228d14c2c</id>
<content type='text'>
Best to use stubout for stubbing out methods like this. That way they
get properly unstubbed on failure.

Change-Id: I61dc96d01e331e8d811b8f24137e8f738cf09215
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Best to use stubout for stubbing out methods like this. That way they
get properly unstubbed on failure.

Change-Id: I61dc96d01e331e8d811b8f24137e8f738cf09215
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Middleware for correlation_id</title>
<updated>2013-05-15T10:20:19+00:00</updated>
<author>
<name>Aditi Raveesh</name>
<email>aditirav@thoughtworks.com</email>
</author>
<published>2013-05-14T10:03:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=dfb4e68e005e68a2e272f92c62fc8455712f293a'/>
<id>dfb4e68e005e68a2e272f92c62fc8455712f293a</id>
<content type='text'>
The middleware generates the 'correlation_id' if it is not already present
in the request header. This 'correlation_id' can be used to enable more
effective debugging of requests that span multiple services.

Implements: blueprint create-a-unified-correlation-id

Change-Id: Ibc06a5b05b628e0b640e9299c79127ecbf9c684e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The middleware generates the 'correlation_id' if it is not already present
in the request header. This 'correlation_id' can be used to enable more
effective debugging of requests that span multiple services.

Implements: blueprint create-a-unified-correlation-id

Change-Id: Ibc06a5b05b628e0b640e9299c79127ecbf9c684e
</pre>
</div>
</content>
</entry>
<entry>
<title>Add middleware to limit size of HTTP requests.</title>
<updated>2013-04-23T14:11:11+00:00</updated>
<author>
<name>Dan Prince</name>
<email>dprince@redhat.com</email>
</author>
<published>2013-04-22T18:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=caf469831ca60401f430ff3fde2dca4079b971c8'/>
<id>caf469831ca60401f430ff3fde2dca4079b971c8</id>
<content type='text'>
Adds a new RequestBodySizeLimiter middleware to guard against
really large HTTP requests. The default max request size is 112k
although this limit is configurable via the 'max_request_body_size'
config parameter.

Change-Id: I76248feed5c77f678b8a43f364d4f1e0794ab910
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a new RequestBodySizeLimiter middleware to guard against
really large HTTP requests. The default max request size is 112k
although this limit is configurable via the 'max_request_body_size'
config parameter.

Change-Id: I76248feed5c77f678b8a43f364d4f1e0794ab910
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Copyright Headers - Rename LLC to Foundation</title>
<updated>2013-03-11T18:49:31+00:00</updated>
<author>
<name>Davanum Srinivas</name>
<email>dims@linux.vnet.ibm.com</email>
</author>
<published>2013-03-11T18:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=547ab34a40f0463a42c7d137e8dcb038a29ba6b5'/>
<id>547ab34a40f0463a42c7d137e8dcb038a29ba6b5</id>
<content type='text'>
One code change, rest are in headers

Change-Id: I73f59681358629e1ad74e49d3d3ca13fcb5c2eb1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One code change, rest are in headers

Change-Id: I73f59681358629e1ad74e49d3d3ca13fcb5c2eb1
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace direct use of testtools BaseTestCase.</title>
<updated>2013-01-24T05:30:26+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-01-23T14:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=8c80224ecb5194a5e2ed5f74f1c7f457202d21a3'/>
<id>8c80224ecb5194a5e2ed5f74f1c7f457202d21a3</id>
<content type='text'>
Using the BaseTestCase across the tests in the tree lets us put in log
fixtures and consistently handle mox and stubout.

Part of blueprint grizzly-testtools.

Change-Id: Iba7eb2c63b0c514009b2c28e5930b27726a147b0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the BaseTestCase across the tests in the tree lets us put in log
fixtures and consistently handle mox and stubout.

Part of blueprint grizzly-testtools.

Change-Id: Iba7eb2c63b0c514009b2c28e5930b27726a147b0
</pre>
</div>
</content>
</entry>
<entry>
<title>Use testtools as test base class.</title>
<updated>2013-01-24T05:26:43+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-01-23T00:54:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=827547a0b3da411441bf691ddbc94867001a3311'/>
<id>827547a0b3da411441bf691ddbc94867001a3311</id>
<content type='text'>
On the path to testr migration, we need to replace the unittest base classes
with testtools.
Replace tearDown with addCleanup, addCleanup is more resilient than tearDown.
The fixtures library has excellent support for managing and cleaning
tempfiles. Use it.
Replace skip_ with testtools.skipTest

Part of blueprint grizzly-testtools.

Change-Id: I45e11bbb1ff9b31f3278d3b016737dcb7850cd98
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On the path to testr migration, we need to replace the unittest base classes
with testtools.
Replace tearDown with addCleanup, addCleanup is more resilient than tearDown.
The fixtures library has excellent support for managing and cleaning
tempfiles. Use it.
Replace skip_ with testtools.skipTest

Part of blueprint grizzly-testtools.

Change-Id: I45e11bbb1ff9b31f3278d3b016737dcb7850cd98
</pre>
</div>
</content>
</entry>
<entry>
<title>Change behavior in utils.import_object().</title>
<updated>2012-04-11T06:30:14+00:00</updated>
<author>
<name>Russell Bryant</name>
<email>rbryant@redhat.com</email>
</author>
<published>2012-04-03T21:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=4acd7829ab0857356594dce3b841f4d785cf2aa1'/>
<id>4acd7829ab0857356594dce3b841f4d785cf2aa1</id>
<content type='text'>
Fix bug 972859.

Prior to this patch, utils.import_object(foo) and
utils.import_class(foo) would return the same thing if foo was the path
to a class.  This patch changes utils.import_object() to return an
instance of the class, instead, also allowing you to pass in arguments
to the constructor.

This patch also removes the odd behavior of import_object() to be able
to also import a module.  Instead, a new function import_module() has
been added.

Finally, the three import helpers have been moved to a new module,
importutils.

Change-Id: Ia2ea64c965692f8c3a29adec332dd93a83980070
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix bug 972859.

Prior to this patch, utils.import_object(foo) and
utils.import_class(foo) would return the same thing if foo was the path
to a class.  This patch changes utils.import_object() to return an
instance of the class, instead, also allowing you to pass in arguments
to the constructor.

This patch also removes the odd behavior of import_object() to be able
to also import a module.  Instead, a new function import_module() has
been added.

Finally, the three import helpers have been moved to a new module,
importutils.

Change-Id: Ia2ea64c965692f8c3a29adec332dd93a83980070
</pre>
</div>
</content>
</entry>
<entry>
<title>add context middleware tests</title>
<updated>2011-12-01T23:12:38+00:00</updated>
<author>
<name>Jason Kölker</name>
<email>jason@koelker.net</email>
</author>
<published>2011-12-01T23:12:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/oslo.git/commit/?id=146c23070c13f03b6d0e2ccbe33fa7c892119d65'/>
<id>146c23070c13f03b6d0e2ccbe33fa7c892119d65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
