<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-swiftclient.git/tests/utils.py, branch 2.0</title>
<subtitle>opendev.org: openstack/python-swiftclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/'/>
<entry>
<title>Port to python-requests</title>
<updated>2014-02-12T12:21:26+00:00</updated>
<author>
<name>Tristan Cacqueray</name>
<email>tristan.cacqueray@enovance.com</email>
</author>
<published>2014-01-24T16:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=b182112719ab87942472e44aa3446ea0eb19a289'/>
<id>b182112719ab87942472e44aa3446ea0eb19a289</id>
<content type='text'>
Currently, httplib implementation does not support SSL certificate
verification. This patch fixes this. Note that ssl compression parameter
and 100-continue thing is still missing from requests, though those are
lower priority.

Requests now takes care of:
* proxy configuration (get_environ_proxies),
* chunked encoding (with data generator),
* bulk uploading (with files dictionary),
* SSL certificate verification (with 'insecure' and 'cacert' parameter).

This patch have been tested with requests 1.1.0 (CentOS 6) and requests
2.2.1 (current version).

Change-Id: Ib5de962f4102d57c71ad85fd81a615362ef175dc
Closes-Bug: #1199783
DocImpact
SecurityImpact
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, httplib implementation does not support SSL certificate
verification. This patch fixes this. Note that ssl compression parameter
and 100-continue thing is still missing from requests, though those are
lower priority.

Requests now takes care of:
* proxy configuration (get_environ_proxies),
* chunked encoding (with data generator),
* bulk uploading (with files dictionary),
* SSL certificate verification (with 'insecure' and 'cacert' parameter).

This patch have been tested with requests 1.1.0 (CentOS 6) and requests
2.2.1 (current version).

Change-Id: Ib5de962f4102d57c71ad85fd81a615362ef175dc
Closes-Bug: #1199783
DocImpact
SecurityImpact
</pre>
</div>
</content>
</entry>
<entry>
<title>Add close to swiftclient.client.Connection</title>
<updated>2013-10-23T03:31:10+00:00</updated>
<author>
<name>Feng Liu</name>
<email>mefengliu23@gmail.com</email>
</author>
<published>2013-10-17T03:12:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=9fe79a4aacfd47be6a1d92097c1d84ccd6763073'/>
<id>9fe79a4aacfd47be6a1d92097c1d84ccd6763073</id>
<content type='text'>
Change-Id: I2f5fa9c46886607a9ba99e8915ea84ac4975d004
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2f5fa9c46886607a9ba99e8915ea84ac4975d004
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow storage url override for both auth vers.</title>
<updated>2013-07-05T19:12:59+00:00</updated>
<author>
<name>Darrell Bishop</name>
<email>darrell@swiftstack.com</email>
</author>
<published>2013-06-29T04:26:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=1d4d51b218ed14b85d1e46d3e7142fb52ea179d5'/>
<id>1d4d51b218ed14b85d1e46d3e7142fb52ea179d5</id>
<content type='text'>
When --os-storage-url is specified on the command-line to bin/swift, it
will override the used storage URL regardless of authentication for both
authentication version 1 and version 2.  This can be used to bypass a
load-balancer to hit a specific proxy server for testing/debugging
purposes.

Within the client library, this feature is accessed by passing the
desired storage URL into swiftclient.client.Conection.__init__() via the
os_options keyword argument.  For example:

  conn = Connection(auth_url, user, key, os_options={
    'object_storage_url': 'http://overridden.storage.url/AUTH_foo'})

This patch also adds a dependency on mock&gt;=0.8.0, which is the same as
openstack/swift.

Change-Id: Id2a36ed6abffd65e7762b6beea5bbfc6c036e848
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When --os-storage-url is specified on the command-line to bin/swift, it
will override the used storage URL regardless of authentication for both
authentication version 1 and version 2.  This can be used to bypass a
load-balancer to hit a specific proxy server for testing/debugging
purposes.

Within the client library, this feature is accessed by passing the
desired storage URL into swiftclient.client.Conection.__init__() via the
os_options keyword argument.  For example:

  conn = Connection(auth_url, user, key, os_options={
    'object_storage_url': 'http://overridden.storage.url/AUTH_foo'})

This patch also adds a dependency on mock&gt;=0.8.0, which is the same as
openstack/swift.

Change-Id: Id2a36ed6abffd65e7762b6beea5bbfc6c036e848
</pre>
</div>
</content>
</entry>
<entry>
<title>Eradicate eventlet and fix bug lp:959221</title>
<updated>2013-05-11T03:33:17+00:00</updated>
<author>
<name>Pete Zaitcev</name>
<email>zaitcev@kotori.zaitcev.us</email>
</author>
<published>2013-05-11T03:33:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=3196daf9929eef25d69d47592beef4cd31573b80'/>
<id>3196daf9929eef25d69d47592beef4cd31573b80</id>
<content type='text'>
The bug is simple: whenever swift uploads to a Swift with SSL,
it uses 100% CPU. It happens because we use HTTPSConnection from
eventlet that loops like that, while holding the interpreter lock.

Now, it could be fixed in eventlet, but let's try something more
natural: drop the eventlet's HTTP client. We do not use green
threads in the client anymore, so it's not like we need it for that.

Note that in most cases clients do not use the BufferedHTTPConnection
either, because it's only installed on Swift server nodes, not on
workstations. Get rid of that too.

bug: 959221
Change-Id: I1eb932779d4171598b3efaa043f817b9c6c995c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bug is simple: whenever swift uploads to a Swift with SSL,
it uses 100% CPU. It happens because we use HTTPSConnection from
eventlet that loops like that, while holding the interpreter lock.

Now, it could be fixed in eventlet, but let's try something more
natural: drop the eventlet's HTTP client. We do not use green
threads in the client anymore, so it's not like we need it for that.

Note that in most cases clients do not use the BufferedHTTPConnection
either, because it's only installed on Swift server nodes, not on
workstations. Get rid of that too.

bug: 959221
Change-Id: I1eb932779d4171598b3efaa043f817b9c6c995c4
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed pep8 errors in test directory.</title>
<updated>2013-03-22T15:00:40+00:00</updated>
<author>
<name>jola-mirecka</name>
<email>jola.mirecka@hp.com</email>
</author>
<published>2013-03-22T14:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=8ea9c4aae8837842a54f513866521d0d473d781f'/>
<id>8ea9c4aae8837842a54f513866521d0d473d781f</id>
<content type='text'>
Files test_swiftclient.py and utils.py had all pep8 errors
fixed.

Also added tests directory to tox.ini file, so that
pep8 would monitor tests directory by default.

Change-Id: Id60a2cd88bd814d1dcbeca951764c9d236500837
Fixes: bug #1158819
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Files test_swiftclient.py and utils.py had all pep8 errors
fixed.

Also added tests directory to tox.ini file, so that
pep8 would monitor tests directory by default.

Change-Id: Id60a2cd88bd814d1dcbeca951764c9d236500837
Fixes: bug #1158819
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --os-cacert</title>
<updated>2012-12-20T20:03:19+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2012-12-19T15:52:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=f65f96bc59599a855f9f2b2cdfa503a8cdb1f758'/>
<id>f65f96bc59599a855f9f2b2cdfa503a8cdb1f758</id>
<content type='text'>
Add support to specify a ca certificate bundle to verify
keystone TLS (https) certificates.  This only verifies
certificates on the keystone connection, swift https
connections are unchanged.

Change-Id: I14351b405af4fd3d1970ba6656c1282a5d0a1082
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support to specify a ca certificate bundle to verify
keystone TLS (https) certificates.  This only verifies
certificates on the keystone connection, swift https
connections are unchanged.

Change-Id: I14351b405af4fd3d1970ba6656c1282a5d0a1082
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --insecure option to fix bug #1077869</title>
<updated>2012-12-05T04:26:37+00:00</updated>
<author>
<name>You Yamagata</name>
<email>bi.yamagata@gmail.com</email>
</author>
<published>2012-12-05T04:18:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=6a4dc039ffece61ee8148f5263b22f65d1a6e729'/>
<id>6a4dc039ffece61ee8148f5263b22f65d1a6e729</id>
<content type='text'>
If enable this option , swift CLI is allowed to access a keystone
server with self signed certificate.

Change-Id: I5e219fe875b246b68ac51a077e7ff15e95463adf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If enable this option , swift CLI is allowed to access a keystone
server with self signed certificate.

Change-Id: I5e219fe875b246b68ac51a077e7ff15e95463adf
</pre>
</div>
</content>
</entry>
<entry>
<title>Add region_name support</title>
<updated>2012-09-11T08:26:12+00:00</updated>
<author>
<name>Donagh McCabe</name>
<email>donagh.mccabe@hp.com</email>
</author>
<published>2012-09-05T14:55:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=68d1550f15a6ec6f51973af2e27f3a6943b6305f'/>
<id>68d1550f15a6ec6f51973af2e27f3a6943b6305f</id>
<content type='text'>
Add --os-region-name (and OS_REGION_NAME env) to bin/swift
Add region_name to the os_options in Connection class.

bug 1019832

Change-Id: Id8515d97e5351638dce10581c7368f61518e1fa7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add --os-region-name (and OS_REGION_NAME env) to bin/swift
Add region_name to the os_options in Connection class.

bug 1019832

Change-Id: Id8515d97e5351638dce10581c7368f61518e1fa7
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow endpoint type to be specified.</title>
<updated>2012-09-04T16:53:18+00:00</updated>
<author>
<name>David Kranz</name>
<email>david.kranz@qrclab.com</email>
</author>
<published>2012-08-28T14:25:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=4b4fbf0dc0d2e918b88c1e387f462faca7e98ffd'/>
<id>4b4fbf0dc0d2e918b88c1e387f462faca7e98ffd</id>
<content type='text'>
Fixes bug 1037690.

Change-Id: I36b3807b2f3234c778316f1e743d27304755aed8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes bug 1037690.

Change-Id: I36b3807b2f3234c778316f1e743d27304755aed8
</pre>
</div>
</content>
</entry>
<entry>
<title>Use keystoneclient for authentication.</title>
<updated>2012-07-06T18:40:45+00:00</updated>
<author>
<name>Chmouel Boudjnah</name>
<email>chmouel@chmouel.com</email>
</author>
<published>2012-07-04T19:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-swiftclient.git/commit/?id=c8163f4112bbf5fb438a7fe04bcd9c6ab244768a'/>
<id>c8163f4112bbf5fb438a7fe04bcd9c6ab244768a</id>
<content type='text'>
- This allows us to delegate all 2.0 authentication directly to the
  library without reimplementing ourselves.
- Support reusing a token / storage-url without re-authenticating every
  time via the switch os_storage_url os_auth_token.
- Allow auth via tenant_id instead of just tenant_name via the switch
  os_tenant_id.
- Refactor a bit to make it easier in the future to add new OS features
  (i.e: region).
- Implements blueprint use-keystoneclient-for-swiftclient.
- Fixes bug 1016641.

Change-Id: I532f38a68af884de25326aaac05a2050f5ffa1c7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- This allows us to delegate all 2.0 authentication directly to the
  library without reimplementing ourselves.
- Support reusing a token / storage-url without re-authenticating every
  time via the switch os_storage_url os_auth_token.
- Allow auth via tenant_id instead of just tenant_name via the switch
  os_tenant_id.
- Refactor a bit to make it easier in the future to add new OS features
  (i.e: region).
- Implements blueprint use-keystoneclient-for-swiftclient.
- Fixes bug 1016641.

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