Feature #3756
Add optional output to kamaki calls that create stuff
Status: | Closed | Start date: | 05/17/2013 | |
---|---|---|---|---|
Priority: | Medium | Due date: | 05/24/2013 | |
Assignee: | Stavros Sachtouris | % Done: | 100% |
|
Category: | kamaki | Spent time: | 7.00 hours | |
Target version: | v0.9 | Estimated time: | 8.00 hours |
Description
Examples: kamaki file mkdir
Now: in success it prints nothing
Desired: kamaki file mkdir --with-output
should print the response headers
Side effect: this modification will enrich some kamaki clients methods as well, by making them return the retrieved information
Related issues
Associated revisions
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
- add (j, --json) flag for optional json-formated output apply these changes to file_mkdir, file_touch, file_create
Update file operations and their output
- 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
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
Update documentation to reflect changes in output
Refs: #3756
History
#1 Updated by Stavros Sachtouris about 10 years ago
- Due date changed from 05/20/2013 to 05/24/2013
- % Done changed from 10 to 50
#2 Updated by Stavros Sachtouris about 10 years ago
- Status changed from New to Closed
- % Done changed from 50 to 100