Statistics
| Branch: | Tag: | Revision:

root / kamaki / clients / connection @ 023230b5

# Date Author Comment
023230b5 03/12/2013 03:37 pm Stavros Sachtouris

Fix old livetest pithos error, new _encode method

Old livetest pithos has an error in test_account_post since pithos
server started checking if usernames to be set in a group existed.
This change affected live this specific live kamaki test that used
to test the set_account_group operation with fake user ids....

b35e8daf 03/12/2013 03:04 pm Stavros Sachtouris

Add utf-8 params/headers checks in perform_request

bcd6c6e6 03/12/2013 01:13 pm Stavros Sachtouris

Finetest _retrieve_connection_info

@ clients.connection.kamakicon.KamakiHTTPConnection

278c9018 03/11/2013 12:34 pm Stavros Sachtouris

Unittest poolsize option at clients.connection

8629edf9 03/11/2013 12:23 pm Stavros Sachtouris

Merge branch 'develop' into feature-tests

b04a1abf 03/11/2013 12:19 pm Stavros Sachtouris

Explicetely set http connection poolsize

Conflicts:

version
a8685edf 03/05/2013 03:12 pm Stavros Sachtouris

Implement livetest to check connection pool lock

20c94832 03/05/2013 01:21 pm Stavros Sachtouris

Unittest http response pool lock handling

58ddc630 03/04/2013 08:10 pm Stavros Sachtouris

Release http conn. if error while getting response

Fixes Bug #3370

Conflicts:

kamaki/clients/connection/kamakicon.py
version
33daf181 02/27/2013 03:45 pm Stavros Sachtouris

Merge branch 'develop' into feature-tests

Conflicts:
kamaki/clients/connection/kamakicon.py

9a8892d8 02/26/2013 06:32 pm Stavros Sachtouris

Encode non-ascii http headers

Use urllib quote + str.encode('utf-8')

622a12fe 02/26/2013 12:24 pm Stavros Sachtouris

Merge branch 'develop' into feature-tests

Conflicts:
kamaki/clients/connection/__init__.py
kamaki/clients/connection/kamakicon.py

a517ff50 02/26/2013 12:19 pm Stavros Sachtouris

Allow non-ascii paramters on path2url

Replace calls of the form unicode(v) to the equivalent" '%s' % v

8419a4c9 02/20/2013 06:32 pm Stavros Sachtouris

Complete KamakiHTTPResponse testing

feae5557 02/18/2013 05:54 pm Stavros Sachtouris

Fix pep8 error

5d16ef46 02/18/2013 04:21 pm Stavros Sachtouris

Implement KamakiHTTPConnection unittests

e0214780 02/18/2013 01:13 pm Stavros Sachtouris

Automatic test discovery for clients.connection

b2c5b650 02/18/2013 11:49 am Stavros Sachtouris

Rename HTTPConnection/Response classes

kamaki.clients.connection.HTTPConnection/Response abstract class are renamed
to kamaki.clients.connection.KamakiConnection/Response to avoid confusion w.
httplib.HTTPConnection/Response classes

05b9e4e6 02/15/2013 07:31 pm Stavros Sachtouris

Implement unittests for HTTPConnection object

Class Location: kamaki.clients.connection.HTTPConnection
Test Location: kamaki.clients.connection.test.HTTPConnection

e7e7dbbd 02/15/2013 05:44 pm Stavros Sachtouris

Implement unittests for HTTPResponse kamaki class

Class Location: kamaki.clients.connection.HTTPResponse
Test Location: kamaki.clients.connection.test.HTTPResponse

8dd20bc7 02/15/2013 02:31 pm Stavros Sachtouris

Fix typo in KamakiHTTPResponse method

2005b18e 02/11/2013 05:42 pm Stavros Sachtouris

Fix some more pep8 issues, more later

24ff0a35 02/11/2013 05:19 pm Stavros Sachtouris

Fix pep8 compliance issues everywhere

a03ade9e 01/23/2013 05:16 pm Stavros Sachtouris

Minor adjustments + apply to image_cli <=register

67469d65 01/04/2013 04:30 pm Stavros Sachtouris

Handle connection errors, allow special handling

Showcase: server_info catche/manage clienterror that was
a connection error

1f417830 12/07/2012 02:49 pm Stavros Sachtouris

Track and log errors at connection and clients mod

5f7882af 12/05/2012 05:30 pm Stavros Sachtouris

Comments for better docs in Connection

b4c8b916 12/05/2012 01:38 pm Stavros Sachtouris

kamakicon comments doc-friendly

05208859 12/05/2012 11:47 am Stavros Sachtouris

Merge branch 'dionyziz' into develop

Conflicts:
setup.py

Docs adjusted

b98fe305 12/04/2012 12:36 pm Dionysis Zindros

Rename object pool library from pool to objpool

b07589af 12/03/2012 04:04 pm Dionysis Zindros

Split pool into separate lib; remove snf-common deps

e9304ec6 11/22/2012 03:33 pm Stavros Sachtouris

Fix some docs errors

0238c167 11/06/2012 07:08 pm Stavros Sachtouris

Propagate error handling corrections up to CLIs

bcb51856 11/06/2012 04:49 pm Stavros Sachtouris

Restore verbose and debug functionality in clients

7e5415a4 11/06/2012 04:34 pm Stavros Sachtouris

Modernize clients and clients.connection error hdl

d5eeabc0 11/05/2012 07:38 pm Stavros Sachtouris

Error handling reform start from connection

7d91734c 11/05/2012 07:05 pm Stavros Sachtouris

Fix unresolved httplib request url - path issue

minor unitest fixes

e02728f9 11/02/2012 07:28 pm Stavros Sachtouris

Use standard threading instead of gevent/greenlets

gevent depedency is not needed after that

3dabe5d2 11/02/2012 01:16 pm Stavros Sachtouris

Make all source pep8 compliant

234954d1 11/01/2012 03:20 pm Stavros Sachtouris

pep8 kamaki.cli.commands

5203ec42 10/31/2012 04:06 pm Stavros Sachtouris

Remove forgoten debug print message

f8b42e99 10/31/2012 03:28 pm Stavros Sachtouris

Propagate failed connection to server

726fa2a1 10/30/2012 06:11 pm Stavros Sachtouris

Remove request depedancy

b9d07587 10/30/2012 01:25 pm Stavros Sachtouris

Astakos: minor config bug, introduce unittesting

c270fe96 10/26/2012 04:18 pm Stavros Sachtouris

Remove relative imports from all pkgs, fix astakos

astakos imports an anused (and soon deprecated) module

3ad34f11 10/25/2012 03:20 pm Stavros Sachtouris

Fix unicode on httplib bug

Unicode headers or url might apear as httplib request
Although httplib can usually handle the problem, it breaks when
the body has been read from a binary file because
unicode_str + binary produces a UnicodeDecodeError
Thus the url, headers, etc are forced to be simple strings

8dc7a093 10/22/2012 04:55 pm Stavros Sachtouris

Fix import line in clients/connection

1785ad41 09/18/2012 03:55 pm Stavros Sachtouris

Voodo-fix mysterious header-destroying request bug

0004301f 09/18/2012 02:07 pm Stavros Sachtouris

Fix safe headers/params bug, pithos download bug

9a7efb0d 09/18/2012 12:11 pm Stavros Sachtouris

Greenlet/thread safe header/param requests

Requests can now distinguish between "global" headers/params
and thread-specific.

74275b1a 09/12/2012 12:16 pm Stavros Sachtouris

Minor bugfixes

5b263ba2 09/11/2012 06:10 pm Stavros Sachtouris

Implement kamakicon, use it

kamakicon: an httplib/ObjectPool based connection class

b1713259 09/10/2012 04:30 pm Stavros Sachtouris

Minor bugfixes

f364f960 09/10/2012 12:18 pm Stavros Sachtouris

Pool connections

Requests also block if pool is full (used to be just for
responses)

6ad245d5 09/07/2012 12:51 pm Stavros Sachtouris

Use connection pool after redesigning http connect

HTTPRequestsXxx objects now use connection pooling
Atually, connections are not pooled, but responses are.

Implementation of connection pooling with httplib not ready yet

Pooling tested in uploads

2576d8b1 09/05/2012 02:56 pm Stavros Sachtouris

HTTPConnection can support pooling implementations

118d9271 09/04/2012 07:25 pm Stavros Sachtouris

HTTP Response args are now properties

1bb4d14d 08/30/2012 06:30 pm Stavros Sachtouris

Improced testing, started tests for cyclades

58821ef5 08/30/2012 03:51 pm Stavros Sachtouris

Handle requests exceptions

25914947 08/29/2012 06:44 pm Stavros Sachtouris

Minor arangements for error handling

ab9cdbc3 08/29/2012 06:08 pm Stavros Sachtouris

Minor bigfixes in error handling

99ae27ea 08/29/2012 05:40 pm Stavros Sachtouris

Avoid veification (workarround for image list bug)

2f749e6e 08/29/2012 05:26 pm Stavros Sachtouris

Major changes in client, fixed setup

Seperate Client to Client and HTTPConnection
The later is put in a separate package kamaki.client.connection
It manages headers, params, method, url and data of a connection
but the actuall http connection is not implemented at this...

e4e8b667 08/28/2012 06:49 pm Stavros Sachtouris

Implement perform_request for HTTPRequest

5cffe0b4 08/28/2012 06:48 pm Stavros Sachtouris

Create HTTPRequest class

Implements HTTPConnection using the requests pypi package

620edeb1 08/28/2012 05:37 pm Stavros Sachtouris

Connection interface

a2e8e549 08/28/2012 05:22 pm Stavros Sachtouris

Seperate commands specs and connection packages