You also need to update API.md, mockmodel and test cases.
I know do a test for model will be difficult in this case, so add test
to test_rest.py to just check the API.
On 09/01/2014 08:50 AM, lvroyce0210(a)gmail.com wrote:
From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Change storage volumes create to return task so that upload and download can
fit in this frame.
Limit upload size to 4GB, update uploading progress in task message during
writing.
Royce Lv (5):
Storage volume upload: Dispatch volume create to right handler
Storage volume upload: Change storagevolumes to AsyncCollection
Storage volume upload: Parse params for upload formdata
Storage volume upload: Support file based upload
Storage volume upload: Adding progress to task message
src/kimchi/control/storagevolumes.py | 4 +--
src/kimchi/control/utils.py | 4 ++-
src/kimchi/i18n.py | 3 ++
src/kimchi/model/storagevolumes.py | 63 ++++++++++++++++++++++++++++++++++--
tests/test_model.py | 8 +++--
tests/test_rest.py | 9 ++++--
6 files changed, 81 insertions(+), 10 deletions(-)