History | View | Annotate | Download (10.6 kB)
Complete testing storage-compatible clients.pithos
Last method: list objects in path
Unittest clients.pithos list objects
Unittest clients.pithos copy object
Unittest clients.pithos replace object meta
Unittest clients.pithos create container
Unittest clients.pithos replace account meta
Fix pep8 compliance issues everywhere
Add store_touch, create_object
Create a zero-length object
Enrich image_public
Update docs and doc-parsed comments in storage
docs: replace Glance with Planktonstorage: standard sphincs-parsable comments
Change order of params for get_object_meta
Make all source pep8 compliant
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...
Remove relative imports from all pkgs, fix astakos
astakos imports an anused (and soon deprecated) module
Unitest get_container_object_meta
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
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
Add arguments/options to upload
manifest is now a seperated method for uploadingold, naive upload is preserved with --unchunked option
Detach CLI from client libs
Allow custom libs to be easily loaded to kamaki CLIAt the moment, everything is given in a conf file andpre-imported
Adjust unit-test object_head/get/put/copy +bugs
Missing:- account_quota/versioning- container_post with transfer-encoding- object_put with transfer-encoding- object_copy with manifest- adjust object_move/post/delete
Complete unittesting for container level pithos
Adjusting account/container opps + bug fixes
Added objectcopy/move/post _ minor bugfixes
Added tests for object_put + minor bug fixes
Implemented tests (Pithos+, partial, for now)
Used unittest, implemented tests for all account level Pithos+operations and some container level operationsTBC
Simplified Client code
Added set_header method then replaced code that pushes headers to the query with calls to this much simpler method
Implemented group, delgroup and copy
In CLI: - added store group to retrieve user grouos of account - added store delgroup to delete a user group by groupname - added store copy to copy an object from container/path to destination container/path...
Implemented move
In CLI added store_move for moving objects from container/path to destination container/pathIn storage added move_object in OOS style
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
Make source PEP8 compliant
Added mkdir functionality to storage
Added list_containers in storage
Not tested yet
Unicode support in results
Replaced str() with unicode() in kamaki/utils
Added list_object
In CLI: - created store_list_object - removed unused optional path option from store_list
In storage: - added list_objects_in_path, similar to list_objects but parses out objects that are not prefixed with path
Added store_object_info, container_info name fixed
In CLI: - Added store_object_info functionality - Store_container renamed to store_container_info
In storage: - Created method get_object_info - Renamed get_container_meta to get_container_info
Added delete_container (remove an empty container)
In CLI: - Added store_delete_container
In storage: - Added delete_container
Error code handling
In storage delete_container and list_object
Store list_path renamed and optimised
In CLI store_list_object became store_list_path In storage list_objects_in_path was optimised to used path option in query
Added store info
In CLI: - store_info added
In storage: - get_account_info added
Merged store info command, fixed bug
In CLI: - store info, container_info and object_info are merged in one command, namely store info
In storage: - Fixed get_object_info return object to Response.headers
Merged store list*, fixed bug
In CLI: - methods list, list_containers, list_object are now merged in list, with slighlty different syntax
In storage: - fixed bug in error message
Merged delete operations
In CLI: - store_delete merged with store_delete_container
In storage: - Error message fix
Merged store create operations
In CLI, store_create_container and store_create_object(directory) are merged as "create" The function "store_upload" remains due to different semantics
Adjusted store_download and store_upload params
Added meta to retrieve custom metacontent
In CLI added store_meta for retrieving custom metacontent for account, container or object
In storage added: - auxiliary method filter_dict_with_prefix - get_account_meta - get_container_meta - get_object_meta
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
Add status_code in Container already exists exception
Add an optional size argument in create_object
Add a store list command
Refactored networking
Adds requests dependency.
Add a store create command to create a container
Add a store download command
Add Pithos support
Modularize clients