kamaki
11 years agoAdjust help messages to configuration changes
Stavros Sachtouris [Fri, 7 Jun 2013 12:41:00 +0000 (15:41 +0300)]
Adjust help messages to configuration changes

Refs:#3934

11 years agoFix a PEP8 issue
Stavros Sachtouris [Fri, 7 Jun 2013 11:24:25 +0000 (14:24 +0300)]
Fix a PEP8 issue

11 years agoAdjust all command specs to multicloud/singleauth
Stavros Sachtouris [Thu, 6 Jun 2013 14:29:43 +0000 (17:29 +0300)]
Adjust all command specs to multicloud/singleauth

Refs: #3934

11 years agoMake sure user and history commands work fine
Stavros Sachtouris [Thu, 6 Jun 2013 11:20:47 +0000 (14:20 +0300)]
Make sure user and history commands work fine

Refs: #3934

11 years agoAdjust config cli commands to serve remotes
Stavros Sachtouris [Thu, 6 Jun 2013 10:32:19 +0000 (13:32 +0300)]
Adjust config cli commands to serve remotes

Refs: #3934

config set remote.smth.option value
  inserts option=value in remote smth
config get remote.smth
  lists the contents (key=val) of remote smth
config delete remote.smth.option
  deletes this specific option from the remote smth
config delete remote.smth
  completely erased the remote smth

11 years agoDecide a cloud term, use it if no cloud.url
Stavros Sachtouris [Wed, 5 Jun 2013 16:00:38 +0000 (19:00 +0300)]
Decide a cloud term, use it if no cloud.url

Refs: #3934

11 years agoImplement remotes support in Config and cli init
Stavros Sachtouris [Wed, 5 Jun 2013 12:43:50 +0000 (15:43 +0300)]
Implement remotes support in Config and cli init

Refs: #3934

In Config:

Simplify guess_version heuristics (check if the following exist:
    global.url/token, remote-defaults)
Trasnlate files 'remote "name"' to 3-level dict and back
Implement rescue_old_file to convert config files to v3.0

In kamaki.cli:

Implement method _check_config_version

11 years agoPlan Config changes (rescue_old_file, translates)
Stavros Sachtouris [Tue, 4 Jun 2013 15:44:49 +0000 (18:44 +0300)]
Plan Config changes (rescue_old_file, translates)

Refs: #3934

rescue_old_file: mines info from old config file to use them in new file
translates:
  remote "smth" --> 'remote': {'smth': ...
  global.{url, token} --> remote.default.{url, token}
  <command>.cli --> global.command_cli
  some commands are maped to other names, e.g. pithos --> file
  <command>.url --> remote.defailt.<command>_url

11 years agoImplement Config.guess_version for config files
Stavros Sachtouris [Tue, 4 Jun 2013 15:11:50 +0000 (18:11 +0300)]
Implement Config.guess_version for config files

11 years agoImplement the Config.guess_version method
Stavros Sachtouris [Tue, 4 Jun 2013 15:11:02 +0000 (18:11 +0300)]
Implement the Config.guess_version method

11 years agoA. Hardcode the new kamaki config file
Stavros Sachtouris [Tue, 4 Jun 2013 11:03:34 +0000 (14:03 +0300)]
A. Hardcode the new kamaki config file

Refs: #3934

Breaks compatibility, implements a remotes-based config file

11 years agoBackwards compatibility for configuraiton file
Stavros Sachtouris [Tue, 4 Jun 2013 09:30:32 +0000 (12:30 +0300)]
Backwards compatibility for configuraiton file

Compatible with kamaki config files v2

user.url, file.url, compute.url and image.url
are now valid and of higher priority to
astakos.url, pithos.url, cyclades.url, plankton.url
which are also valid

All these are ignored iff [global].auth_url is given

11 years agoFix typos in default and expected values
Stavros Sachtouris [Mon, 3 Jun 2013 14:29:43 +0000 (17:29 +0300)]
Fix typos in default and expected values

11 years agoHandle url proccessing even if url is unicode
Stavros Sachtouris [Mon, 3 Jun 2013 14:18:28 +0000 (17:18 +0300)]
Handle url proccessing even if url is unicode

Also, fix typos and default values for service configurations

11 years agoFix typo in astakos client: version_id-->versionId
Stavros Sachtouris [Mon, 3 Jun 2013 13:49:03 +0000 (16:49 +0300)]
Fix typo in astakos client: version_id-->versionId

11 years agoAdjust cached auth info reading to recent changes
Stavros Sachtouris [Mon, 3 Jun 2013 13:06:04 +0000 (16:06 +0300)]
Adjust cached auth info reading to recent changes

11 years agoFix typos in user command flow
Stavros Sachtouris [Mon, 3 Jun 2013 12:14:59 +0000 (15:14 +0300)]
Fix typos in user command flow

11 years agoApply servce.url options to cross-sercice calls
Stavros Sachtouris [Mon, 3 Jun 2013 11:37:26 +0000 (14:37 +0300)]
Apply servce.url options to cross-sercice calls

Refs: #3874

Let cross-service initializations to use explicit service endpoint urls if
there is no single authentication url.
- In Image commands, there are calls that use astakos and pithos clients
- In pithos there are calls that use astakos client

11 years agoUse explicitely set services urls if no auth_url
Stavros Sachtouris [Mon, 3 Jun 2013 11:22:58 +0000 (14:22 +0300)]
Use explicitely set services urls if no auth_url

Refs: #3874

In current configuration, kamaki checks for auth_url. If that fails,
it raises an error. If it is not set, it prints a warning and attempts
to read the <service>.url option from the configuration file.

Service urls: astakos.url, pithos.url, cyclades.url, plankton.url

11 years agoUpdate changelog
Stavros Sachtouris [Mon, 3 Jun 2013 10:01:41 +0000 (13:01 +0300)]
Update changelog

11 years agoImplement --cloud arg to switch between clouds
Stavros Sachtouris [Mon, 3 Jun 2013 09:58:34 +0000 (12:58 +0300)]
Implement --cloud arg to switch between clouds

Refs: #3913

Config file can (optionaly) contain:

[remotes]
 example = https://www.example.org/astakos/identity/v2.0/
 old_version = https://www.example.org/astakos/identity/v1.0/
 ...

Now, user can explicitely request for a remote cloud authentication URI:

kamaki --cloud=<remote>

11 years agoMerge branch 'develop' into feature-endpoints
Stavros Sachtouris [Fri, 31 May 2013 14:56:30 +0000 (17:56 +0300)]
Merge branch 'develop' into feature-endpoints

11 years agoFix pep8 warning
Stavros Sachtouris [Fri, 31 May 2013 14:55:41 +0000 (17:55 +0300)]
Fix pep8 warning

11 years agoGet endpoint urls for all CLI operations
Stavros Sachtouris [Fri, 31 May 2013 14:37:37 +0000 (17:37 +0300)]
Get endpoint urls for all CLI operations

Refs: #3874

Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get
user information and, most importantly, endpoints. Allow users to authenticate
multiple tokens on the same session. In every session there must be at most
one authentication per user/token.

Major change: top kamaki.cli.commands class now contains a base_auth field
with the cached authenticating client. All urls are drained from this field.

11 years agoCreate config file version 3
Stavros Sachtouris [Fri, 31 May 2013 10:29:18 +0000 (13:29 +0300)]
Create config file version 3

Refs: #3874

Minimum config file:
[global]
token = <user token>

Changes:

- Only one field "cli" for user command specs, to map command groups to CLIs:

[cli]
 user = astakos
 file = pithos
 server = cyclades
...

- Specify client services/apis and versions.
 General format:
 [client]
  type = <service>
  version = <api version>

 Example:
 [cyclades]
  type = compute
  version = v2.0

11 years agoMerge commit '528550d929d5d30009016ae23b2a948d13fe8eb3' into develop
Stavros Sachtouris [Fri, 31 May 2013 07:58:27 +0000 (10:58 +0300)]
Merge commit '528550d929d5d30009016ae23b2a948d13fe8eb3' into develop

Conflicts:
Changelog
version

11 years agoEnrich/rename astakos client calls with endpoints
Stavros Sachtouris [Thu, 30 May 2013 13:35:02 +0000 (16:35 +0300)]
Enrich/rename astakos client calls with endpoints

Refs: #3874

Kamaki.clients.astakos.AstakosClient is now a high-level client lib that
offers access to token-authenticated astakos-aquired cached information.
Users who need an astakos client should use the snf-astakosclient instead.

Usage:

 astakos_cache = AstakosClient(<astakos/base/url/with/identity/api>)
 astakos_cache.authenticate(<token>)
 user_info = astakos_cache.user_info()
 compute_endpoints = astakos_cache.get_service_endpoints('compute', 'v2')

Major changes:

Modify ReST call from /im/authenticate to /tokens

New methods as AstakosClient instance cache accessors:
 get_services
 get_service_details
 get_service_endpoints

Method renaiming for existing AstakosClient instance cache accessors:
 info --> user_info
 user --> list_users

11 years agoMerge branch 'feature-osv2-compatibility' into release-0.9
Stavros Sachtouris [Wed, 29 May 2013 15:01:43 +0000 (18:01 +0300)]
Merge branch 'feature-osv2-compatibility' into release-0.9

11 years agoMerge branch 'release-0.9' into feature-osv2-compatibility
Stavros Sachtouris [Wed, 29 May 2013 15:00:47 +0000 (18:00 +0300)]
Merge branch 'release-0.9' into feature-osv2-compatibility

11 years agoInitialize version 0.10
Stavros Sachtouris [Wed, 29 May 2013 10:28:19 +0000 (13:28 +0300)]
Initialize version 0.10

11 years agoInitialize kamaki v0.9rc1 0.9rc1
Stavros Sachtouris [Tue, 28 May 2013 08:48:51 +0000 (11:48 +0300)]
Initialize kamaki v0.9rc1

11 years agoMerge branch 'feature-expose-astakosclient' into develop
Stavros Sachtouris [Tue, 28 May 2013 08:45:36 +0000 (11:45 +0300)]
Merge branch 'feature-expose-astakosclient' into develop

11 years agoMerge branch 'feature-osv2-compatibility' into develop
Stavros Sachtouris [Tue, 28 May 2013 08:45:25 +0000 (11:45 +0300)]
Merge branch 'feature-osv2-compatibility' into develop

11 years agoUpdate Changelog for latest astakosclient cli
Stavros Sachtouris [Mon, 27 May 2013 14:11:46 +0000 (17:11 +0300)]
Update Changelog for latest astakosclient cli

11 years agoExpose some basix astakosclient methods to cli
Stavros Sachtouris [Mon, 27 May 2013 14:07:40 +0000 (17:07 +0300)]
Expose some basix astakosclient methods to cli

Methods exposed:

get_user_info as authenticate
get_uuid[s] as uuid
get_username[s] as username
get_quotas as quotas
services_get_uuid[s]/username[s]/quotas as service uuid/username/quotas

11 years agoUpdate log about astakos authenticate adjustment
Stavros Sachtouris [Mon, 27 May 2013 12:37:24 +0000 (15:37 +0300)]
Update log about astakos authenticate adjustment

11 years agoAdjust astakos authenticate to snf-0.14 url sheme
Stavros Sachtouris [Mon, 27 May 2013 12:35:22 +0000 (15:35 +0300)]
Adjust astakos authenticate to snf-0.14 url sheme

11 years agoSetup a snf-astakos command set
Stavros Sachtouris [Mon, 27 May 2013 12:23:09 +0000 (15:23 +0300)]
Setup a snf-astakos command set

11 years agoUpdate config file version tag
Stavros Sachtouris [Fri, 24 May 2013 14:40:20 +0000 (17:40 +0300)]
Update config file version tag

11 years agoFix typo in kamak.cli.logger import
Stavros Sachtouris [Fri, 24 May 2013 14:24:53 +0000 (17:24 +0300)]
Fix typo in kamak.cli.logger import

11 years agoRename meta-->metadata and remove values @CLI
Stavros Sachtouris [Fri, 24 May 2013 13:47:16 +0000 (16:47 +0300)]
Rename meta-->metadata and remove values @CLI

Refs: #3633

11 years agoRename meta-->metadata and remove values @lib
Stavros Sachtouris [Thu, 23 May 2013 15:42:25 +0000 (18:42 +0300)]
Rename meta-->metadata and remove values @lib

- Meta-->metadata in some cases, according to the expected cyclades API
- remove values level from requests and responses @ cyclades lib

Refs: #3633

11 years agoFix expected "public" header params in tests
Stavros Sachtouris [Thu, 23 May 2013 14:46:37 +0000 (17:46 +0300)]
Fix expected "public" header params in tests

11 years agoMerge branch 'feature-image-meta-record-format' into develop
Stavros Sachtouris [Thu, 23 May 2013 14:27:17 +0000 (17:27 +0300)]
Merge branch 'feature-image-meta-record-format' into develop

11 years agoAdd metadata management to image register
Stavros Sachtouris [Thu, 23 May 2013 14:25:02 +0000 (17:25 +0300)]
Add metadata management to image register

- validate image metadata format
- read metadata from file
- merge file-loaded metadata with runtimes
- store metadata file on pithos, check existance, overwrite with -f
- raise helpful error messages when there fail

Refs: #3797

11 years agoUse _format_image_headers: image_register,get_meta
Stavros Sachtouris [Thu, 23 May 2013 11:01:13 +0000 (14:01 +0300)]
Use _format_image_headers: image_register,get_meta

- Ensure uniform image meta output
- Easy to apply the correct meta format

Refs: #3797

11 years agoRestore thread-wait for append
Stavros Sachtouris [Wed, 22 May 2013 15:25:07 +0000 (18:25 +0300)]
Restore thread-wait for append

11 years agoFix typo (permition --> permission)
Stavros Sachtouris [Wed, 22 May 2013 15:15:27 +0000 (18:15 +0300)]
Fix typo (permition --> permission)

11 years agoMerge branch 'feature-json-output' into develop
Stavros Sachtouris [Wed, 22 May 2013 15:05:00 +0000 (18:05 +0300)]
Merge branch 'feature-json-output' into develop

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

Also, take care of pep8 issues

11 years agoFix typo in pithos upload output
Stavros Sachtouris [Wed, 22 May 2013 15:01:12 +0000 (18:01 +0300)]
Fix typo in pithos upload output

11 years agoWait threads to finish in pithos append_object
Stavros Sachtouris [Wed, 22 May 2013 14:48:50 +0000 (17:48 +0300)]
Wait threads to finish in pithos append_object

11 years agoImplement an optional json output 4 outputing cmds
Stavros Sachtouris [Wed, 22 May 2013 14:26:59 +0000 (17:26 +0300)]
Implement an optional json output 4 outputing cmds

Refs: #3732

11 years agoAdd json/optional output to astakos cmds
Stavros Sachtouris [Wed, 22 May 2013 10:42:41 +0000 (13:42 +0300)]
Add json/optional output to astakos cmds

Refs: #3732

11 years agoAdd json/optional responses to flavor/network cmds
Stavros Sachtouris [Wed, 22 May 2013 10:38:05 +0000 (13:38 +0300)]
Add json/optional responses to flavor/network cmds

Refs: #3732

11 years agoAdd json/optional outputs to server commands
Stavros Sachtouris [Wed, 22 May 2013 10:07:14 +0000 (13:07 +0300)]
Add json/optional outputs to server commands

Refs: #3732

11 years agoDo not unpublish by default @ pithos rest calls
Stavros Sachtouris [Tue, 21 May 2013 16:47:46 +0000 (19:47 +0300)]
Do  not unpublish by default @ pithos rest calls

Refs: #3780

11 years agoMerge branch 'feature-image-meta-record' into develop
Stavros Sachtouris [Tue, 21 May 2013 16:34:07 +0000 (19:34 +0300)]
Merge branch 'feature-image-meta-record' into develop

11 years agoUpdate and enrich error messages in image register
Stavros Sachtouris [Tue, 21 May 2013 16:32:23 +0000 (19:32 +0300)]
Update and enrich error messages in image register

Parse ivalid property file and guide users to correct it
Guide users to pass valid container:path parameters

Refs:#3769

11 years agoPrint full and nice response in image register
Stavros Sachtouris [Tue, 21 May 2013 15:26:13 +0000 (18:26 +0300)]
Print full and nice response in image register

11 years agoDo not recalculate #blocks in upload_from_string
Stavros Sachtouris [Tue, 21 May 2013 15:08:48 +0000 (18:08 +0300)]
Do not recalculate #blocks in upload_from_string

Refs: #3608

11 years agoDo not recalculate #blocks in upload_from_string
Stavros Sachtouris [Tue, 21 May 2013 15:08:48 +0000 (18:08 +0300)]
Do not recalculate #blocks in upload_from_string

Refs: #3608

11 years agoMake sure registered properties are unique
Stavros Sachtouris [Tue, 21 May 2013 15:04:11 +0000 (18:04 +0300)]
Make sure registered properties are unique

Refs: #3769

11 years agoStore image properties after image registration
Stavros Sachtouris [Tue, 21 May 2013 14:08:34 +0000 (17:08 +0300)]
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
- If remote property file exists, force with -f, --fforce-upload-property-file
- Location is given as container:path
- User id can be aquired internaly with an astakos call

Refs: #3769, #3778

11 years agoOptionaly load images properties from file
Stavros Sachtouris [Tue, 21 May 2013 12:23:20 +0000 (15:23 +0300)]
Optionaly load images properties from file

Refs: #3769

11 years agoMerge branch 'feature-json-output' into feature-image-meta-record
Stavros Sachtouris [Tue, 21 May 2013 09:40:50 +0000 (12:40 +0300)]
Merge branch 'feature-json-output' into feature-image-meta-record

11 years agoUpdate documentation to reflect changes in output
Stavros Sachtouris [Mon, 20 May 2013 15:40:59 +0000 (18:40 +0300)]
Update documentation to reflect changes in output

Refs: #3756

11 years agoApply option outputs to image commands + renames
Stavros Sachtouris [Mon, 20 May 2013 14:54:34 +0000 (17:54 +0300)]
Apply option outputs to image commands + renames

- Add image.add_member missing content-length header
- Rename image-[add|del]member commands to members-[add|delete]
- Remove update option from image-register
- In image-compute split properties to properties-list and properties-get
- Add optional output to methods
 * image: unregister, members add/delete/set
 * image compute: delete, properties delete
- Transliterate methods to list-get-set-delete command groups:
 * image: members, member
 * image compute: properties

Refs :#3756 #3732

11 years agoApply optional output to kamaki file commands
Stavros Sachtouris [Mon, 20 May 2013 10:21:13 +0000 (13:21 +0300)]
Apply optional output to kamaki file commands

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

11 years agoUpdate file operations and their output
Stavros Sachtouris [Fri, 17 May 2013 16:11:42 +0000 (19:11 +0300)]
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
    command subgroups
    e.g. kamaki file metadata set ...
    instead of
    kamaki file setmeta
- Add method create_container to pithos client, add unit and functional tests

11 years agoAdd output to file copy/move
Stavros Sachtouris [Fri, 17 May 2013 12:49:09 +0000 (15:49 +0300)]
Add output to file copy/move

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

Refs: #3756 #3732

11 years agoAdd output support to create methods
Stavros Sachtouris [Fri, 17 May 2013 11:48:27 +0000 (14:48 +0300)]
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
- add (-j, --json) flag for optional json-formated output
- apply these changes to file_mkdir, file_touch, file_create

11 years agoAdd json formated output for file list
Stavros Sachtouris [Fri, 17 May 2013 10:48:41 +0000 (13:48 +0300)]
Add json formated output for file list

- Implement a print_json auxiliary method in kamaki.cli.utils
- Add a (-j, --json) flag to file list
- When -j or --json flag is on, only json is printed

Refs: #3732

11 years agoMerge branch 'feature-updownload-fromto-string' into develop
Stavros Sachtouris [Thu, 16 May 2013 17:26:32 +0000 (20:26 +0300)]
Merge branch 'feature-updownload-fromto-string' into develop

11 years agoUpdate changelog, unittests for upload_from_string
Stavros Sachtouris [Thu, 16 May 2013 17:25:07 +0000 (20:25 +0300)]
Update changelog, unittests for upload_from_string

Refs: #3608

11 years agoFunctional test and debug for upload_from_string
Stavros Sachtouris [Thu, 16 May 2013 17:14:03 +0000 (20:14 +0300)]
Functional test and debug for upload_from_string

Refs: #3608

11 years agoImplement upload_from_string
Stavros Sachtouris [Thu, 16 May 2013 16:27:54 +0000 (19:27 +0300)]
Implement upload_from_string

Implemented with threads

Refs: #3608

11 years agoOptimize download_to_string by using threads
Stavros Sachtouris [Thu, 16 May 2013 14:17:58 +0000 (17:17 +0300)]
Optimize download_to_string by using threads

Refs: #3608

11 years agoImplement download_to_string in pithos client
Stavros Sachtouris [Thu, 16 May 2013 13:31:40 +0000 (16:31 +0300)]
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

11 years agoMerge branch 'bug-move-copy' into develop
Stavros Sachtouris [Wed, 15 May 2013 16:41:38 +0000 (19:41 +0300)]
Merge branch 'bug-move-copy' into develop

11 years agoAllow copy of deleted objects by refering to older
Stavros Sachtouris [Wed, 15 May 2013 16:39:56 +0000 (19:39 +0300)]
Allow copy of deleted objects by refering to older

 Also disallow moving deleted objects by version The later was implemented by
accident, due to the symetry between move and copy

Refs: #3737

11 years agoFix typo dst_path instead of ds_path
Stavros Sachtouris [Wed, 15 May 2013 15:32:28 +0000 (18:32 +0300)]
Fix typo dst_path instead of ds_path

Refs: 3737

11 years agoMerge branch 'feature-enumeration' into develop
Stavros Sachtouris [Wed, 15 May 2013 14:37:35 +0000 (17:37 +0300)]
Merge branch 'feature-enumeration' into develop

11 years agoAdd enumeration as optional for all list cmds
Stavros Sachtouris [Wed, 15 May 2013 14:36:02 +0000 (17:36 +0300)]
Add enumeration as optional for all list cmds

Refs: #3739

11 years agoMerge branch 'bug-shell-cmd-syntax' into develop
Stavros Sachtouris [Wed, 15 May 2013 13:12:59 +0000 (16:12 +0300)]
Merge branch 'bug-shell-cmd-syntax' into develop

11 years agoRestore 2nd level command sysntax in shell
Stavros Sachtouris [Wed, 15 May 2013 13:12:27 +0000 (16:12 +0300)]
Restore 2nd level command sysntax in shell

Refs: #3736

11 years agoMerge branch 'feature-cache-container-info' into develop
Stavros Sachtouris [Wed, 15 May 2013 12:46:07 +0000 (15:46 +0300)]
Merge branch 'feature-cache-container-info' into develop

11 years agoUpload Changelog for container info upload caching
Stavros Sachtouris [Wed, 15 May 2013 12:45:25 +0000 (15:45 +0300)]
Upload Changelog for container info upload caching

Refs: #3735

11 years agoCache container info request per upload session
Stavros Sachtouris [Wed, 15 May 2013 12:44:05 +0000 (15:44 +0300)]
Cache container info request per upload session

Refs: #3735

11 years agoUpdate changelog for upload's container_info_cache
Stavros Sachtouris [Wed, 15 May 2013 12:13:29 +0000 (15:13 +0300)]
Update changelog for upload's container_info_cache

Refs: #3707

11 years agoAdjust pithos livetest to use container_info_cache
Stavros Sachtouris [Wed, 15 May 2013 12:12:04 +0000 (15:12 +0300)]
Adjust pithos livetest to use container_info_cache

Refs: #3707

11 years agoUpdate unitest to include container_info_cache
Stavros Sachtouris [Wed, 15 May 2013 11:23:21 +0000 (14:23 +0300)]
Update unitest to include container_info_cache

Refs: 3707

11 years agoAdd a container_infor_cache param to upload_object
Stavros Sachtouris [Wed, 15 May 2013 11:06:41 +0000 (14:06 +0300)]
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
in a session.

Refs: #3707

11 years agoMerge branch 'feature-upload-returns' into develop
Stavros Sachtouris [Tue, 14 May 2013 16:34:14 +0000 (19:34 +0300)]
Merge branch 'feature-upload-returns' into develop

11 years agoUpdate documentation for -l at file upload
Stavros Sachtouris [Tue, 14 May 2013 16:33:00 +0000 (19:33 +0300)]
Update documentation for -l at file upload

Refs: #3730

11 years agoAdd a -l option to upload: list uploaded details
Stavros Sachtouris [Tue, 14 May 2013 16:30:42 +0000 (19:30 +0300)]
Add a -l option to upload: list uploaded details

If the upload is successfull, if the -l or --details argument is present,
kamaki lists all uploaded objects with all details returned by the server
(e.g. object version, date of creation, etc)

Refs: #3730

11 years agoUpdate changelog (pithos upload modification)
Stavros Sachtouris [Tue, 14 May 2013 16:03:21 +0000 (19:03 +0300)]
Update changelog (pithos upload modification)

Refs: #3656

11 years agoUpdate livetest for upload return modification
Stavros Sachtouris [Tue, 14 May 2013 16:00:20 +0000 (19:00 +0300)]
Update livetest for upload return modification

Refs: #3656

11 years agoModify upload methods to return created obj info
Stavros Sachtouris [Tue, 14 May 2013 15:52:30 +0000 (18:52 +0300)]
Modify upload methods to return created obj info

Methods affected:
    upload_object
    upload_object_unchunked
    upload_object_by_manifestation

unittests modified accordingly

Refs: #3656

11 years agoMerge branch 'feature-empty-container' into develop
Stavros Sachtouris [Tue, 14 May 2013 15:25:23 +0000 (18:25 +0300)]
Merge branch 'feature-empty-container' into develop

11 years agoUpdate Changelog for #3662
Stavros Sachtouris [Tue, 14 May 2013 15:25:02 +0000 (18:25 +0300)]
Update Changelog for #3662