Make cyclades functional test code pretier
Adjust unit/functional tests
Refs: #3964
Fix deprecated terms in documentation
Fix all minor typos and modifications in tests
Fix typo in method docs
Document the Upgrade notes for v0.9
Fix expected "public" header params in tests
Restore thread-wait for append
Merge branch 'feature-json-output' into develop
Conflicts: Changelog kamaki/cli/commands/image.py
Also, take care of pep8 issues
Wait threads to finish in pithos append_object
Implement an optional json output 4 outputing cmds
Refs: #3732
Do not unpublish by default @ pithos rest calls
Refs: #3780
Do not recalculate #blocks in upload_from_string
Refs: #3608
Store image properties after image registration
Log of changes:- Properties are stored in a remote file on Pithos+- File name is <image-file>.meta- Feature can be switched off with --no-property-file-upload- If remote property file exists, registration is aborted...
Apply optional output to kamaki file commands
Apply the feature wherever is applicableGeneralize the feature by moving the corresponding code to _command_init
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...
Add output to file copy/move
Also, kamaki.clients.pithos.copy/move_object returns response headers
Add output support to create methods
In kamaki.clients-------------------- storage.create_directory returns response headers- implement pithos.create_container
In kamaki.cli.pithos-------------------- add flag --with_output for optional output...
Update changelog, unittests for upload_from_string
Functional test and debug for upload_from_string
Implement upload_from_string
Implemented with threads
Optimize download_to_string by using threads
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
Adjust pithos livetest to use container_info_cache
Refs: #3707
Update unitest to include container_info_cache
Refs: 3707
Add a container_infor_cache param to upload_object
Each upload involves a request that retrieves block size and hash information.In higher level applications, this request is redudant after the first upload.This feature allows higher level operations to cache retrieved container info...
Modify upload methods to return created obj info
Methods affected: upload_object upload_object_unchunked upload_object_by_manifestation
unittests modified accordingly
Refs: #3656
Fix typo in _create_or_get_missing_hashes call
Honour if_(none_)match even if all blocks are up
Refs: bug #3708
Update docs to use the term Synnefo where needed
In some cases, the term 'GRNET development team' was replaced with 'Synnefo' or'Synnefo development team'
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
Merge branch 'feature-store' into develop
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
Make --public and --sharing to work in upload
Bug #3509
Fix typo in using download progress bar
Minimize requeests whn dnlding same block
If a file has multiple same blocks, download one of them and copy it to localfile locations
fixbug 3555: blcks missing if same to other blcks
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 astakos client and wip clients code
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