Statistics
| Branch: | Tag: | Revision:

root / kamaki / clients / pithos / __init__.py @ 38a79780

History | View | Annotate | Download (49.4 kB)

# Date Author Comment
38a79780 01/24/2014 12:37 pm Stavros Sachtouris

Document content-type in object_overwrite

b5b4441e 01/23/2014 06:44 pm Stavros Sachtouris

Keep objects content type by default

614a20dc 01/23/2014 11:56 am Stavros Sachtouris

Allow content-type in file overwrite

482bc0c4 01/17/2014 03:51 pm Stavros Sachtouris

Bugfix: container delete for numerical containers

d58df7c0 01/10/2014 02:48 pm Stavros Sachtouris

Remove fstat from clients.utils.readall

Refs: #4871

Fstat was used to compute the actual file size in order to
distinguish if an empty read was because the file ended.
It now considers an empty read to be an end of file.

This allows reading non-regular files.

6e6b6117 01/07/2014 05:10 pm Stavros Sachtouris

Minor typos

438efab2 12/11/2013 02:25 pm Stavros Sachtouris

Fix typo in file upload

bd02c3ea 12/11/2013 01:02 pm Stavros Sachtouris

Fix bug w. 0 file syncing

edc1182f 11/25/2013 06:14 pm Stavros Sachtouris

Carefully copy file * up to car

Refs: #4583

a2ed4352 10/30/2013 05:50 pm Stavros Sachtouris

Merge branch 'feature-require-astakosclient' into develop

4f228300 10/24/2013 06:15 pm Stavros Sachtouris

Apply "readall" method to PithosClient local IO

ab863157 10/24/2013 05:14 pm Stavros Sachtouris

Complete astakosclient exposition in astakos.py

Refs: #4340

6c068db6 10/07/2013 06:33 pm Stavros Sachtouris

Create a step by step showcase kamaki.lib example

Refs: #4441

This example involves astakos, pithos, image and cyclades clients
It also shows how to use kamaki.cli.config to get cloud information
It attempts to create a cluster of VMs from a user-created image,...

776b275c 08/05/2013 06:45 pm Stavros Sachtouris

Use multiformed ranges in kamaki pithos lib

Refs: #4059

Also, adjust corresponding unit and functional tests

6e50fed4 08/02/2013 05:21 pm Stavros Sachtouris

Pithos client understands more range expressions

Refs: #4059

7806f19d 08/02/2013 04:50 pm Stavros Sachtouris

Let argument.rangeArgument parse more ranges

Refs: #4059

5c2058e7 08/01/2013 01:37 pm Stavros Sachtouris

Allow upload_from_string to use content-encoding

ecf0fc97 08/01/2013 12:51 pm Stavros Sachtouris

Do not allow thread exceptions to stop errors

f8426b5c 07/31/2013 03:18 pm Stavros Sachtouris

Guess mimetype and use it in uploads

Refs: #4196

fa382f9e 06/14/2013 05:51 pm Stavros Sachtouris

Fix deprecated terms in documentation

df0045d8 06/13/2013 06:37 pm Stavros Sachtouris

Fix all minor typos and modifications in tests

8f91e50c 06/12/2013 04:14 pm Stavros Sachtouris

Fix typo in method docs

9dc6159f 06/10/2013 04:03 pm Stavros Sachtouris

Document the Upgrade notes for v0.9

4e424eaa 05/22/2013 06:25 pm Stavros Sachtouris

Restore thread-wait for append

117ca598 05/22/2013 06:05 pm Stavros Sachtouris

Merge branch 'feature-json-output' into develop

Conflicts:
Changelog
kamaki/cli/commands/image.py

Also, take care of pep8 issues

3ec5c230 05/22/2013 05:48 pm Stavros Sachtouris

Wait threads to finish in pithos append_object

545c6c29 05/22/2013 05:26 pm Stavros Sachtouris

Implement an optional json output 4 outputing cmds

Refs: #3732

f17121cd 05/21/2013 06:10 pm Stavros Sachtouris

Do not recalculate #blocks in upload_from_string

Refs: #3608

00336c85 05/21/2013 05:08 pm Stavros Sachtouris

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

915b99b5 05/20/2013 01:21 pm Stavros Sachtouris

Apply optional output to kamaki file commands

Apply the feature wherever is applicable
Generalize the feature by moving the corresponding code to _command_init

5655d560 05/17/2013 07:11 pm Stavros Sachtouris

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...
55c75058 05/17/2013 03:49 pm Stavros Sachtouris

Add output to file copy/move

Also, kamaki.clients.pithos.copy/move_object returns response headers

Refs: #3756 #3732

94bedc5b 05/17/2013 02:48 pm Stavros Sachtouris

Add output support to create methods

Refs: #3756 #3732

In kamaki.clients
-------------------
- storage.create_directory returns response headers
- implement pithos.create_container

In kamaki.cli.pithos
-------------------
- add flag --with_output for optional output...

6fa30b1b 05/16/2013 08:14 pm Stavros Sachtouris

Functional test and debug for upload_from_string

Refs: #3608

9d502497 05/16/2013 07:27 pm Stavros Sachtouris

Implement upload_from_string

Implemented with threads

Refs: #3608

0fbc8a52 05/16/2013 05:17 pm Stavros Sachtouris

Optimize download_to_string by using threads

Refs: #3608

49cc29b2 05/16/2013 04:31 pm Stavros Sachtouris

Implement download_to_string in pithos client

The download_to_string method downloads a remote object from pithos into a
string, which is then returned.

Also, implemented unit and functional tests. Changelog is updated

Refs: #3608

14c72dbd 05/15/2013 03:12 pm Stavros Sachtouris

Adjust pithos livetest to use container_info_cache

Refs: #3707

76ebf97c 05/15/2013 02:06 pm Stavros Sachtouris

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

3c216009 05/14/2013 06:52 pm Stavros Sachtouris

Modify upload methods to return created obj info

Methods affected:
upload_object
upload_object_unchunked
upload_object_by_manifestation

unittests modified accordingly

Refs: #3656

c6cec5e1 05/09/2013 05:12 pm Stavros Sachtouris

Fix typo in _create_or_get_missing_hashes call

b349b84b 05/09/2013 05:03 pm Stavros Sachtouris

Honour if_(none_)match even if all blocks are up

Refs: bug #3708

76e7661e 04/15/2013 06:14 pm Stavros Sachtouris

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'

3ed6dbde 04/15/2013 02:11 pm Stavros Sachtouris

Split file-quota semantics for account and contner

kamaki file quota --> only for account
kamaki file quota <container> --> kamaki file containerlimit get [container]

Support #3541

326a79b9 04/15/2013 01:32 pm Stavros Sachtouris

Rename file setquota to file containerlimit set

Also, do not allow user to set account quota

e9ac514e 04/12/2013 03:37 pm Stavros Sachtouris

Add if-etag-match to pithos client upload

2ec852fc 04/12/2013 03:24 pm Stavros Sachtouris

Merge branch 'feature-store' into develop

524d9cdd 04/12/2013 03:18 pm Stavros Sachtouris

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

50165863 04/11/2013 04:11 pm Stavros Sachtouris

Make --public and --sharing to work in upload

Bug #3509

e5c76b1a 04/08/2013 07:08 pm Stavros Sachtouris

Fix typo in using download progress bar

28cbc3c2 04/08/2013 06:50 pm Stavros Sachtouris

Minimize requeests whn dnlding same block

If a file has multiple same blocks, download one of them and copy it to local
file locations

ca7f78c0 04/08/2013 04:45 pm Stavros Sachtouris

fixbug 3555: blcks missing if same to other blcks

c2b5da2f 04/04/2013 04:37 pm Stavros Sachtouris

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

55faa0bc 03/15/2013 04:58 pm Stavros Sachtouris

Prepare PithorRest testcase for implementation

ae4585f5 03/15/2013 10:45 am Stavros Sachtouris

Rephrase astakos client and wip clients code

85898ca4 03/12/2013 05:59 pm Stavros Sachtouris

Rearange client packages 4 uniformity in testing