History | View | Annotate | Download (73.5 kB)
Use multiformed ranges in kamaki pithos lib
Refs: #4059
Also, adjust corresponding unit and functional tests
Allow upload_from_string to use content-encoding
Adjust unit/functional tests
Refs: #3964
Fix expected "public" header params in tests
Do not unpublish by default @ pithos rest calls
Refs: #3780
Update file operations and their output
Refs: #3756 #3732
- Add optional output for file methods: mkdir, touch, create, move, create, copy, move, append, delete, purge, info, meta, upload - Transliterate permissions and metadata methods to apear as get/set/delete...
Update changelog, unittests for upload_from_string
Refs: #3608
Implement download_to_string in pithos client
The download_to_string method downloads a remote object from pithos into astring, which is then returned.
Also, implemented unit and functional tests. Changelog is updated
Update unitest to include container_info_cache
Refs: 3707
Modify upload methods to return created obj info
Methods affected: upload_object upload_object_unchunked upload_object_by_manifestation
unittests modified accordingly
Refs: #3656
Split file-quota semantics for account and contner
kamaki file quota --> only for accountkamaki file quota <container> --> kamaki file containerlimit get [container]
Support #3541
Rename file setquota to file containerlimit set
Also, do not allow user to set account quota
Remove quotaholder from kamaki
This affects the cli:- remove the quotaholder commands set- remove the commissioning system (automatic command retrieval)
This affevts the clients:- remove the quotaholder client- remove the clients commissioning system...
Add if-etag-match to pithos client upload
Add option to fail upload if remote file exists
The if-none-match header option with '*' is used in that case.This is exposed as 'if_not_exist' in PithosClient.upload_object
Feature #3574
Create a livetest that catches bug #3555
A boring file is a file with at least two same blocksKamaki fails to download more than 1 same blocks, therefore the downloadedfile is corruptedThis test fixes the bug
Redesign http connection module
Merge everything to kamaki.clients
Remove multiple hierarchies of connection classes (== abandon support for alternative connection methods, e.g. for requests from pypi)
New connection classes are- RequestManager- ResponseManager...
Apply a simple naming convention for unit tests
Naming convention:
Actual functionality:
In package kamaki.clients.pkg there is class C containing a method MTest it in a package kamaki.clients.pkg.test, with a class C + a method test_MCommand line run:...
Unittest PithosRest.object_delete and its over
Unittest PithosRest.obejct_post
Unittest PithosRest.object_move
Unittest PithosRest.object_copy
Unittest PithosRest.object_put
Unittest PithosRest.object_get
Unittest PithosRest.object_head
Unittest PithosRest.container_delete
Unittest PithosRest.container_post
Unittest PithosRest.container_get
Unittest PithorRest.container_get
Unittest PithorRest.container_head
Unittest PithosRest.account_post
Unittest PithosRest.account_get
Unittest PithosRest.account_head
Prepare PithorRest testcase for implementation
Rephrase pithos mocking expressions
Finetest and move Storage.list_objects_in_path
Finetest and move Storage.delete_object
Finetest Storage/Pithos.get_object_meta
Finetest Storage.create_directory
Finetest and move Storage.create_object
Finetest and move Storage.delete_container
Finetest and move Stoage.create_container
Finetest and move Storage.replace_account_meta
Finetest PithosClient.get_account_info
Rearange client packages 4 uniformity in testing