Statistics
| Branch: | Tag: | Revision:

root @ 8cec3671

# Date Author Comment
8cec3671 06/03/2013 02:22 pm Stavros Sachtouris

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

a9ffcdb5 06/03/2013 01:01 pm Stavros Sachtouris

Update changelog

cb4a5d9c 06/03/2013 12:58 pm Stavros Sachtouris

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

74d443db 05/31/2013 05:56 pm Stavros Sachtouris

Merge branch 'develop' into feature-endpoints

8440b163 05/31/2013 05:55 pm Stavros Sachtouris

Fix pep8 warning

f724cd35 05/31/2013 05:37 pm Stavros Sachtouris

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

05e144e2 05/31/2013 01:29 pm Stavros Sachtouris

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

6fdb3576 05/31/2013 10:58 am Stavros Sachtouris

Merge commit '528550d929d5d30009016ae23b2a948d13fe8eb3' into develop

Conflicts:
Changelog
version

528550d9 05/30/2013 04:35 pm Stavros Sachtouris

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

59794110 05/29/2013 06:01 pm Stavros Sachtouris

Merge branch 'feature-osv2-compatibility' into release-0.9

8fc64597 05/29/2013 06:00 pm Stavros Sachtouris

Merge branch 'release-0.9' into feature-osv2-compatibility

ed46d009 05/29/2013 01:28 pm Stavros Sachtouris

Initialize version 0.10

313f3f81 05/28/2013 11:48 am Stavros Sachtouris

Initialize kamaki v0.9rc1

7983398f 05/28/2013 11:45 am Stavros Sachtouris

Merge branch 'feature-expose-astakosclient' into develop

6f04d079 05/28/2013 11:45 am Stavros Sachtouris

Merge branch 'feature-osv2-compatibility' into develop

f27657f7 05/27/2013 05:11 pm Stavros Sachtouris

Update Changelog for latest astakosclient cli

683335b1 05/27/2013 05:07 pm Stavros Sachtouris

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

4abb3f7e 05/27/2013 03:37 pm Stavros Sachtouris

Update log about astakos authenticate adjustment

b79ae40b 05/27/2013 03:35 pm Stavros Sachtouris

Adjust astakos authenticate to snf-0.14 url sheme

97fc1e06 05/27/2013 03:23 pm Stavros Sachtouris

Setup a snf-astakos command set

f0415090 05/24/2013 05:40 pm Stavros Sachtouris

Update config file version tag

137c51f5 05/24/2013 05:24 pm Stavros Sachtouris

Fix typo in kamak.cli.logger import

bcef3ac9 05/24/2013 04:47 pm Stavros Sachtouris

Rename meta-->metadata and remove values @CLI

Refs: #3633

fab9b17f 05/23/2013 06:42 pm Stavros Sachtouris

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

13c02904 05/23/2013 05:46 pm Stavros Sachtouris

Fix expected "public" header params in tests

fb3998bd 05/23/2013 05:27 pm Stavros Sachtouris

Merge branch 'feature-image-meta-record-format' into develop

aa82dd5a 05/23/2013 05:25 pm Stavros Sachtouris

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

17b255c7 05/23/2013 02:01 pm Stavros Sachtouris

Use _format_image_headers: image_register,get_meta

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

Refs: #3797

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

Restore thread-wait for append

e4ff4453 05/22/2013 06:15 pm Stavros Sachtouris

Fix typo (permition --> permission)

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

d9301a7a 05/22/2013 06:01 pm Stavros Sachtouris

Fix typo in pithos upload output

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

6dfd55cb 05/22/2013 01:42 pm Stavros Sachtouris

Add json/optional output to astakos cmds

Refs: #3732

1b73b4c1 05/22/2013 01:38 pm Stavros Sachtouris

Add json/optional responses to flavor/network cmds

Refs: #3732

cd295a1d 05/22/2013 01:07 pm Stavros Sachtouris

Add json/optional outputs to server commands

Refs: #3732

6aadd6e1 05/21/2013 07:47 pm Stavros Sachtouris

Do not unpublish by default @ pithos rest calls

Refs: #3780

4a469d38 05/21/2013 07:34 pm Stavros Sachtouris

Merge branch 'feature-image-meta-record' into develop

c4aefeaf 05/21/2013 07:32 pm Stavros Sachtouris

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

9553da85 05/21/2013 06:26 pm Stavros Sachtouris

Print full and nice response in image register

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

Do not recalculate #blocks in upload_from_string

Refs: #3608

90099c14 05/21/2013 06:08 pm Stavros Sachtouris

Do not recalculate #blocks in upload_from_string

Refs: #3608

f7a37648 05/21/2013 06:04 pm Stavros Sachtouris

Make sure registered properties are unique

Refs: #3769

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

623a4ceb 05/21/2013 03:23 pm Stavros Sachtouris

Optionaly load images properties from file

Refs: #3769

14fef2b7 05/21/2013 12:40 pm Stavros Sachtouris

Merge branch 'feature-json-output' into feature-image-meta-record

395fbf9e 05/20/2013 06:40 pm Stavros Sachtouris

Update documentation to reflect changes in output

Refs: #3756

f5f35422 05/20/2013 05:54 pm Stavros Sachtouris

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

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

0399ac7e 05/17/2013 01:48 pm Stavros Sachtouris

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

36778d79 05/16/2013 08:26 pm Stavros Sachtouris

Merge branch 'feature-updownload-fromto-string' into develop

dcfe7455 05/16/2013 08:25 pm Stavros Sachtouris

Update changelog, unittests for upload_from_string

Refs: #3608

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

653e6193 05/15/2013 07:41 pm Stavros Sachtouris

Merge branch 'bug-move-copy' into develop

1d3f006b 05/15/2013 07:39 pm Stavros Sachtouris

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

e2d7b883 05/15/2013 06:32 pm Stavros Sachtouris

Fix typo dst_path instead of ds_path

Refs: 3737

c8175540 05/15/2013 05:37 pm Stavros Sachtouris

Merge branch 'feature-enumeration' into develop

ed9af02c 05/15/2013 05:36 pm Stavros Sachtouris

Add enumeration as optional for all list cmds

Refs: #3739

8bdf3047 05/15/2013 04:12 pm Stavros Sachtouris

Merge branch 'bug-shell-cmd-syntax' into develop

030c0d3a 05/15/2013 04:12 pm Stavros Sachtouris

Restore 2nd level command sysntax in shell

Refs: #3736

c2c1ebd4 05/15/2013 03:46 pm Stavros Sachtouris

Merge branch 'feature-cache-container-info' into develop

3583ef07 05/15/2013 03:45 pm Stavros Sachtouris

Upload Changelog for container info upload caching

Refs: #3735

74c65e80 05/15/2013 03:44 pm Stavros Sachtouris

Cache container info request per upload session

Refs: #3735

9550a759 05/15/2013 03:13 pm Stavros Sachtouris

Update changelog for upload's container_info_cache

Refs: #3707

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

Adjust pithos livetest to use container_info_cache

Refs: #3707

0ef0db9f 05/15/2013 02:23 pm Stavros Sachtouris

Update unitest to include 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...

9eebbc83 05/14/2013 07:34 pm Stavros Sachtouris

Merge branch 'feature-upload-returns' into develop

978eb0ec 05/14/2013 07:33 pm Stavros Sachtouris

Update documentation for -l at file upload

Refs: #3730

0e728dcb 05/14/2013 07:30 pm Stavros Sachtouris

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

51fad88a 05/14/2013 07:03 pm Stavros Sachtouris

Update changelog (pithos upload modification)

Refs: #3656

cb010e3e 05/14/2013 07:00 pm Stavros Sachtouris

Update livetest for upload return modification

Refs: #3656

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

70f186e2 05/14/2013 06:25 pm Stavros Sachtouris

Merge branch 'feature-empty-container' into develop

b97e18b1 05/14/2013 06:25 pm Stavros Sachtouris

Update Changelog for #3662

be4a8ccd 05/14/2013 06:22 pm Stavros Sachtouris

Implement purging a non-empty container

kamaki file purge <container> -F

will automatically empty a container before purging it

Refs: #3662

3279092f 05/14/2013 05:40 pm Stavros Sachtouris

Merge branch 'feature-image-unregister' into develop

4fbc9d34 05/14/2013 05:39 pm Stavros Sachtouris

Implement livetest for image unregister

Refs: #3728

5948e809 05/14/2013 05:13 pm Stavros Sachtouris

Merge branch 'feature-image-unregister' into develop

c6da1973 05/14/2013 05:13 pm Stavros Sachtouris

Update Changelog for image unregister feature

4a17d307 05/14/2013 05:12 pm Stavros Sachtouris

Expose image-unregister to cli and unittest it

fd6608bd 05/14/2013 04:40 pm Stavros Sachtouris

Implement image unregister in kamaki.clients

Refs: #3728

c3ba22f2 05/13/2013 05:00 pm Stavros Sachtouris

Merge branch 'feature-shell-arguments' into develop

5976ddfb 05/13/2013 05:00 pm Stavros Sachtouris

Update Changelog

e3c2c890 05/13/2013 04:53 pm Stavros Sachtouris

Allow runtime args when invoking interactive shell

Refs: #3716

Behavior After This:
kamaki -XXX -YY ... parses -XXX -YY
If not recognized: syntax error
If recognized, group them into shell args (e.g. -h) and command args (e.g. -d)
Whenever a command is run in this shell instance, apply the command args...

54f5d0ca 05/13/2013 02:17 pm Stavros Sachtouris

Merge branch 'feature-cli-command-errors' into develop

334338ce 05/13/2013 02:13 pm Stavros Sachtouris

Raise a descriptive error for misconfigured cmds

Refs: #3663

A command group that is declared in the config file is not supported
by valid command specification code or the specification code is not
pointed at by <command>.cli configure variable

58850eb0 05/13/2013 12:55 pm Stavros Sachtouris

Log initial call arguments in first log

ef4357c1 05/10/2013 07:25 pm Stavros Sachtouris

Merge branch 'feature-logging' into develop

7637d600 05/10/2013 07:24 pm Stavros Sachtouris

Move logger module to kamaki.cli

c4d51ec9 05/10/2013 07:16 pm Stavros Sachtouris

Make kamaki.clients unware of kamaki.logger

use logging for getting the loggers

0d4a6d0a 05/10/2013 06:33 pm Stavros Sachtouris

Stop shell from destroying config instance

This caused warnings about preset variables

77126a0e 05/10/2013 05:55 pm Stavros Sachtouris

Merge branch 'feature-logging' into develop