Statistics
| Branch: | Tag: | Revision:

root / kamaki / clients / __init__.py @ 43ee6ae1

History | View | Annotate | Download (8.8 kB)

# Date Author Comment
6069b53b 12/07/2012 04:05 pm Stavros Sachtouris

Trace errors in cli.commands mechanism-not prpgtd

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

Track and log errors at connection and clients mod

2b74ab4a 11/19/2012 06:23 pm Stavros Sachtouris

Unittest parallel server creation

cccff590 11/16/2012 06:17 pm Stavros Sachtouris

Thread limit can be set by user

cad39033 11/16/2012 05:31 pm Stavros Sachtouris

Gradual thread inc/decrease in up/download

Thread inc/decrease is now generic for all clients that might need it
with the method _watch_thread_limit

Algorithm: set a small thread limit and when reached wait for active threads to
finish. Measure avg time. If avg time decreases, increase thread limit...

062b1d0a 11/09/2012 01:44 pm Stavros Sachtouris

Extract json-encoded error info in clients

7966ffb8 11/06/2012 07:58 pm Stavros Sachtouris

A little bit more error handling

de4f08ef 11/06/2012 07:44 pm Stavros Sachtouris

Handle json-formated server error responses

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

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

Make all source pep8 compliant

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

Propagate failed connection to server

68da89ac 10/31/2012 11:50 am Stavros Sachtouris

Merge branch 'master' of https://code.grnet.gr/git/kamaki

Conflicts:
kamaki/__init__.py
kamaki/cli.py
kamaki/clients/__init__.py
kamaki/clients/astakos.py
kamaki/clients/compute.py
kamaki/clients/cyclades.py
kamaki/clients/image.py
kamaki/clients/pithos.py...

8ecbb5e8 10/30/2012 05:37 pm Stavros Sachtouris

unittest image set/list_members

adb1dde9 10/30/2012 04:23 pm Stavros Sachtouris

unittest image register (basic functionality)

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

Astakos: minor config bug, introduce unittesting

a34888b4 10/29/2012 01:31 pm Stavros Sachtouris

list/disconnect nics by network at clients lib

0fc54992 10/26/2012 04:35 pm Stavros Sachtouris

Clean up forgoten HTTPRequest imports

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

6ce9fc72 10/25/2012 07:37 pm Stavros Sachtouris

Handle connection.close in repeated requests

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

Voodo-fix mysterious header-destroying request 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

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

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

Handle requests exceptions

a52d2256 08/29/2012 07:31 pm Stavros Sachtouris

Reset headers and params at every request

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

Minor bigfixes in error handling

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...

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

Create HTTPRequest class

Implements HTTPConnection using the requests pypi package

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

Seperate commands specs and connection packages

d804de82 08/24/2012 05:51 pm Stavros Sachtouris

Add more functionalities to dnl/hashmap/versions

download: progressbar control, overide file, resume (default)
all: extra options for conditional retrieval

d726b3d0 08/24/2012 01:46 pm Stavros Sachtouris

Fixed bug with reset_headers

Now headers are reset after each request by default
but there is an option for not reseting headers, in low
level

71ff5136 08/06/2012 06:49 pm Stavros Sachtouris

Create CLIError class, use it in pithos_cli

435008b6 08/01/2012 05:48 pm Stavros Sachtouris

Asynchronous uploads with gevent-greenlet

Merge with koukis-fix

b08af3e6 07/31/2012 05:09 pm Stavros Sachtouris

Start unittest for large file pithos operations

16ce7b91 07/26/2012 03:36 pm Stavros Sachtouris

Adjusting account/container opps + bug fixes

9f74ca46 07/24/2012 05:37 pm Stavros Sachtouris

Added tests for object_put + minor bug fixes

4adfa919 07/17/2012 02:59 pm Stavros Sachtouris

Full Pithos+ support at object level

Rest calls HEAD GET PUT COPY MOVE POST DELETE at object level fully
support Pithos+ capabilities by adding generic methods. Adjusted
existing methods to take advantage of these
Not thoroughly tested...

e742badc 07/10/2012 05:09 pm Stavros Sachtouris

Simplified Client code

Added set_header method then replaced code that pushes headers to the query with calls to this much simpler method

f49084df 07/10/2012 05:09 pm Stavros Sachtouris

Not optimal append and truncate

In CLI added append and truncate for objects

In storage added update_object which acts as a multifunction. It currently loads the whole file on memory, so it needs optimization

6de1f262 07/10/2012 05:09 pm Stavros Sachtouris

Fixed and optiomized delmeta for objects

In storage, fixed delmeta which was disfunctional
In pithos added an optimized implementation using the pithos update parameter

72462fc2 07/10/2012 05:09 pm Giorgos Verigakis

Move to requests 0.12.1

44b8928d 07/10/2012 05:09 pm Giorgos Verigakis

Make source PEP8 compliant

f3a722d4 07/10/2012 05:09 pm Stavros Sachtouris

Added mkdir functionality to storage

0e4bec91 07/10/2012 05:09 pm Stavros Sachtouris

Added set_account_meta

In CLI:
- added store_set_account_meta
- added auxiliary dict_from_args in utils.py

In storage:
- added set_account_meta
- created client/util.py to store auxiliary methods semantically indepented Client
- added auxiliary prefix_keys to client/utils.py...

af3b2b36 07/10/2012 05:09 pm Stavros Sachtouris

Added store_setmeta (pithos API implementation)

-In CLI:
- store_meta for account, container and/or object
- minor fixes to meta

In storage,pithos:
- methods replace_account/container/object_meta in storage (OpenStack API)
- methods set_account/container/object_meta in pithos (Pithos API)...

e6b39366 07/10/2012 05:09 pm Stavros Sachtouris

Added store_delmenta (delete specific meta)

In CLI:
- store_delmeta for account, container, object
In storage,pithos:
- store_account_delmeta
- store_container_delemeta
- store_object_delmeta (is buggy, hope to fix it soon)...
87688514 07/10/2012 05:09 pm Stavros Sachtouris

Added un/publish object

8614814c 05/17/2012 03:36 pm Giorgos Verigakis

Make source PEP8 compliant

bb2e6a2c 05/14/2012 04:43 pm Giorgos Verigakis

Move to requests 0.12.1

2e84ea08 05/09/2012 01:18 pm Giorgos Verigakis

Call superclass init in ClientError

2aa8f6d1 05/09/2012 01:18 pm Giorgos Verigakis

Add Content-Length header when sending data

215321e9 05/09/2012 01:18 pm Giorgos Verigakis

Disable certificate verification

Was failing with the production server

dba6ec94 05/09/2012 01:18 pm Giorgos Verigakis

Add support for Astakos API

Add "astakos authenticate" command

a591a7b4 05/09/2012 01:18 pm Giorgos Verigakis

Add a store list command

df79206f 05/09/2012 01:18 pm Giorgos Verigakis

Refactored networking

Adds requests dependency.

59dec327 04/19/2012 07:21 pm Giorgos Verigakis

Call superclass init in ClientError

6c62a96d 04/04/2012 12:55 pm Giorgos Verigakis

Add Content-Length header when sending data

be4f79ea 03/19/2012 06:33 pm Giorgos Verigakis

Disable certificate verification

Was failing with the production server

43ca98ee 03/05/2012 04:23 pm Giorgos Verigakis

Add support for Astakos API

Add "astakos authenticate" command

2bcb595a 02/28/2012 07:53 pm Giorgos Verigakis

Add a store list command

6a0b1658 02/21/2012 07:51 pm Giorgos Verigakis

Refactored networking

Adds requests dependency.

d2cea1e2 01/19/2012 06:41 pm Giorgos Verigakis

Add Pithos support

  • Use Pithos' smart upload if available
  • Add store container command
  • Add store delete command
a1c50326 01/19/2012 01:08 pm Giorgos Verigakis

Modularize clients