Statistics
| Branch: | Tag: | Revision:

root / kamaki / clients / storage.py @ 961e6040

History | View | Annotate | Download (8.3 kB)

# Date Author Comment
3dabe5d2 11/02/2012 01:16 pm Stavros Sachtouris

Make all source pep8 compliant

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

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

a45852c5 09/20/2012 01:11 pm Stavros Sachtouris

Unitest get_container_object_meta

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

Implement kamakicon, use it

kamakicon: an httplib/ObjectPool based connection class

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

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

65a45524 08/09/2012 06:23 pm Stavros Sachtouris

Add arguments/options to upload

manifest is now a seperated method for uploading
old, naive upload is preserved with --unchunked option

b974d110 08/03/2012 07:44 pm Stavros Sachtouris

Detach CLI from client libs

Allow custom libs to be easily loaded to kamaki CLI
At the moment, everything is given in a conf file and
pre-imported

f70616fc 07/27/2012 06:09 pm Stavros Sachtouris

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

4e68908f 07/26/2012 07:05 pm Stavros Sachtouris

Complete unittesting for container level pithos

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

Adjusting account/container opps + bug fixes

89c2e77b 07/25/2012 04:37 pm Stavros Sachtouris

Added objectcopy/move/post _ minor bugfixes

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

Added tests for object_put + minor bug fixes

379cd4bb 07/18/2012 06:58 pm Stavros Sachtouris

Implemented tests (Pithos+, partial, for now)

Used unittest, implemented tests for all account level Pithos+
operations and some container level operations
TBC

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

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

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

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

Implemented move

In CLI added store_move for moving objects from container/path to destination container/path
In storage added move_object in OOS style

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

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

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

Added list_containers in storage

Not tested yet

11f8eed3 07/10/2012 05:09 pm Stavros Sachtouris

Unicode support in results

Replaced str() with unicode() in kamaki/utils

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

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

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

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

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

Added delete_container (remove an empty container)

In CLI:
- Added store_delete_container

In storage:
- Added delete_container

175f40ab 07/10/2012 05:09 pm Stavros Sachtouris

Error code handling

In storage delete_container and list_object

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

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
d2dec8b1 07/10/2012 05:09 pm Stavros Sachtouris

Added store info

In CLI:
- store_info added

In storage:
- get_account_info added

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

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

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

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

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

Merged delete operations

In CLI:
- store_delete merged with store_delete_container

In storage:
- Error message fix

450bb2e6 07/10/2012 05:09 pm Stavros Sachtouris

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

8c4f0fbf 07/10/2012 05:09 pm Stavros Sachtouris

Adjusted store_download and store_upload params

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

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

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

890e1a48 05/09/2012 01:18 pm Giorgos Verigakis

Add status_code in Container already exists exception

810d80b8 05/09/2012 01:18 pm Giorgos Verigakis

Add an optional size argument in create_object

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.

16d445fe 04/19/2012 02:37 pm Giorgos Verigakis

Add status_code in Container already exists exception

188f23b9 03/19/2012 06:33 pm Giorgos Verigakis

Add an optional size argument in create_object

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.

60560d7c 02/02/2012 04:15 pm Giorgos Verigakis

Add a store create command to create a container

176894c1 01/20/2012 03:58 pm Giorgos Verigakis

Add a store download command

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