History | View | Annotate | Download (9.3 kB)
Start creating a kamaki.clients unittest set
Tests are packaged as kamaki.clients.testAs an example, the astakos authenticate method test has been implemented
Merge branch 'develop' into feature-tests
Add / at the end of images path (plankton)
This bug was produced after changes in path4url, where a trailing / is nowalways removed
Fix url quoting with non-ascii (closes bug #3256)
Conflicts: kamaki/clients/connection/__init__.py kamaki/clients/connection/kamakicon.py
Allow non-ascii paramters on path2url
Replace calls of the form unicode(v) to the equivalent" '%s' % v
Implement a basic test_request for clients.Client
Rename HTTPConnection/Response classes
kamaki.clients.connection.HTTPConnection/Response abstract class are renamedto kamaki.clients.connection.KamakiConnection/Response to avoid confusion w.httplib.HTTPConnection/Response classes
URL-encode requests
Fix some more pep8 issues, more later
Fix pep8 compliance issues everywhere
Attempt to pep8-fix some source files
pre-connection debug info
Add include option to control conn-content print
More retries, dynamic upload thread limit
Even the slightest progress causes upload to retryif 502 client error is received, # of threads are limited to current thread
Handle thread failures in download
If some threads fail for some reason, download re-tries 2 more times,provided there is some progress
Handle connection errors, allow special handling
Showcase: server_info catche/manage clienterror that wasa connection error
Introduce warning logger
Fix unwanted error-detail inheritance bug
Trace errors in cli.commands mechanism-not prpgtd
Track and log errors at connection and clients mod
Unittest parallel server creation
Thread limit can be set by user
Gradual thread inc/decrease in up/download
Thread inc/decrease is now generic for all clients that might need itwith the method _watch_thread_limit
Algorithm: set a small thread limit and when reached wait for active threads tofinish. Measure avg time. If avg time decreases, increase thread limit...
Extract json-encoded error info in clients
A little bit more error handling
Handle json-formated server error responses
Propagate error handling corrections up to CLIs
Restore verbose and debug functionality in clients
Modernize clients and clients.connection error hdl
Error handling reform start from connection
Fix unresolved httplib request url - path issue
minor unitest fixes
Make all source pep8 compliant
Propagate failed connection to server
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...
unittest image set/list_members
unittest image register (basic functionality)
Astakos: minor config bug, introduce unittesting
list/disconnect nics by network at clients lib
Clean up forgoten HTTPRequest imports
Remove relative imports from all pkgs, fix astakos
astakos imports an anused (and soon deprecated) module
Handle connection.close in repeated requests
Voodo-fix mysterious header-destroying request bug
Greenlet/thread safe header/param requests
Requests can now distinguish between "global" headers/paramsand thread-specific.
Minor bugfixes
Implement kamakicon, use it
kamakicon: an httplib/ObjectPool based connection class
Use connection pool after redesigning http connect
HTTPRequestsXxx objects now use connection poolingAtually, connections are not pooled, but responses are.
Implementation of connection pooling with httplib not ready yet
Pooling tested in uploads
Handle requests exceptions
Reset headers and params at every request
Minor bigfixes in error handling
Major changes in client, fixed setup
Seperate Client to Client and HTTPConnectionThe later is put in a separate package kamaki.client.connectionIt manages headers, params, method, url and data of a connectionbut the actuall http connection is not implemented at this...
Create HTTPRequest class
Implements HTTPConnection using the requests pypi package
Seperate commands specs and connection packages
Add more functionalities to dnl/hashmap/versions
download: progressbar control, overide file, resume (default)all: extra options for conditional retrieval
Fixed bug with reset_headers
Now headers are reset after each request by defaultbut there is an option for not reseting headers, in lowlevel
Create CLIError class, use it in pithos_cli
Asynchronous uploads with gevent-greenlet
Merge with koukis-fix
Start unittest for large file pithos operations
Adjusting account/container opps + bug fixes
Added tests for object_put + minor bug fixes
Full Pithos+ support at object level
Rest calls HEAD GET PUT COPY MOVE POST DELETE at object level fullysupport Pithos+ capabilities by adding generic methods. Adjustedexisting methods to take advantage of theseNot thoroughly tested...
Simplified Client code
Added set_header method then replaced code that pushes headers to the query with calls to this much simpler method
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
Fixed and optiomized delmeta for objects
In storage, fixed delmeta which was disfunctionalIn pithos added an optimized implementation using the pithos update parameter
Move to requests 0.12.1
Make source PEP8 compliant
Added mkdir functionality to storage
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...
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)...
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)...
Added un/publish object
Call superclass init in ClientError
Add Content-Length header when sending data
Disable certificate verification
Was failing with the production server
Add support for Astakos API
Add "astakos authenticate" command
Add a store list command
Refactored networking
Adds requests dependency.
Add Pithos support
Modularize clients