GitHub user karuturi opened a pull request:

    https://github.com/apache/cloudstack/pull/199

    [MERGE] Browser based template or volume upload

    We worked on below proposal for Browser based template or volume upload.
    development effort from @bvbharat, Koushik Das and @karuturi
    UI help from @bfederle , Jessica Wang and @rags22489664
    testing effort from Deepthi Machiraju and @sailajamada
    
    We believe this feature is ready to merge. If you have any 
objections/suggestions/comments, please let us know before tomorrow.
    
    Proposal discussion: http://markmail.org/message/ne6ucmnfqhkddnhu
    FS and testplan: 
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=39620237

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/cloudstack volume-upload

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/199.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #199
    
----
commit 3da3d7418e9095f52b7a38dedb29d74adfcb0690
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-11-19T12:23:14Z

    volume upload: PSK exchange between managemnet server and SSVM
    
    generated a key during management server start and saved it in
    configurationt table

commit d2ef7295f90ea52788da0d99306bbcf84555cc5b
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-11-28T11:10:20Z

    volume upload: sending the preshared key to ssvm
    
    sending the key to ssvm in the secondary storage setup command
    saving it in a file on ssvm

commit b6c86bdb75143071c0f25e6cf9ca80a65ee63fa8
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-11-28T11:31:16Z

    changed commons-io version to the latest stable 2.4
    
    also updated version numbers in all the poms its used.

commit b963bb1e6d6b49d585a7937071c5b2eb8371ba11
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-12-02T06:45:42Z

    volume upload: added getUploadParamsForVolume and 
getUploadParamsForTemplate api

commit 7e030ee72dd208bc50d5cf39a19c302ce0aee63d
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-12-16T06:22:09Z

    volume upload: persisting the template metadata
    
    on calling GetUploadParamsForTemplate, persisting the metadata to db
    validating the account limits and incrementing the appropriate limits
    encoded the metadata on management server using preshared key

commit f70a2a1486e63e8860c163e569a524dd249dc048
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-12-16T07:18:37Z

    volume upload: renamed command classes to follow the naming convention

commit 36c0c38ab8294a222b25f6d7f6e5c8e80cc3aec2
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-12-16T10:11:27Z

    volume upload: added the url validation check when url is not null

commit 9bb6cf845284deaabb5e2ea8896cbb10b5935513
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-12-18T12:20:51Z

    volume upload: persisting the volume metadata
    
        on calling GetUploadParamsForVolume, persisting the metadata to db
        validating the account limits and incrementing the appropriate limits
        encoded the metadata on management server using preshared key

commit 3e594c4e4f91271e4bfe60497163c62cfa466a83
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2014-12-19T07:14:56Z

    volume upload: removed unused variables

commit 42fdc343f593acc1998e44c65dc650cb0855f9c7
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-06T05:37:10Z

    volume upload: starting NIO server on SSVM

commit 2a4ca1b9c70556edb93492165fcf6eff4d7b13dc
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-06T07:04:46Z

    volume upload: fixed null in api response

commit 2c169bc02d3136ec9bb80bc8249d9209fceb3ab2
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-09T03:46:00Z

    volume-upload added a upload url redirect in apache conf
    
    rewrite engine is on only in the case fo SSVM

commit 1ae34d98d49e232df276593b04f6563d1711b229
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-13T05:11:39Z

    volume upload: fixed circular reference error while generating json

commit 631e6e0088bea34031dcd5daf5bd27eafa99b3f9
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-13T05:13:21Z

    volume upload: doing https redirect as NioServer handles only https

commit c2cf2503c190fa4472a49a561fd529f5b48e278f
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-13T06:07:22Z

    volume upload: persisting the PSK only when its not present

commit 627f5a62dc71d7cfda53fa2b6bc4852a312aee02
Author: Koushik Das <kous...@apache.org>
Date:   2015-01-14T04:49:12Z

    volume upload: management server polling and upload status from agent
    MS polling logic to query status for volumes that are uploaded

commit f243ae135b802d09077dde7bf20256f28c9e6287
Author: Brian Federle <brian.fede...@citrix.com>
Date:   2015-01-14T19:26:38Z

    Add front-end file uploader

commit 0eee9e8138092ed10ce298e763092367b7f9edd5
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-16T06:52:35Z

    volume upload: removed the transition from IN-PROGRESS to ABONDONED
    
    incase of timeout it moved to error state. ABONDONED state is only when
    the user hasnt initiated the post request in the specified time

commit 1f1c96d2eea88340c25bfacbab09d613c835a12c
Author: Koushik Das <kous...@apache.org>
Date:   2015-01-16T09:58:17Z

    volume upload: management server polling and upload status from agent
    - Added config parameters for upload monitoring interval and operation 
timeout
    - Some updates to the volume state machine

commit ebaa4dd38e9f8388a6328796eda4e25ec222834d
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-16T11:40:57Z

    volume upload: added httpcomponents server and removed nio server
    
    removing nio server as it is currently handling only https connections
    and the parsing logic is also specific to agent communication.
    
    current limitation of httpcomponents server is that the entire file is
    read in memory. need figure out how to read it in chunks and send it
    through a inputstreamreader to save on secondary storage.

commit 1bf40587322c82c0fc83b16185591acd08427d92
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-16T11:47:34Z

    volume upload: removed the handlerFactory and the handler which were 
required by NioServer

commit 053c160b0fb5ba537d56c6d460998c2231904439
Author: Koushik Das <kous...@apache.org>
Date:   2015-01-16T12:33:36Z

    volume upload: management server polling and upload status from agent
    MS polling logic to query status for templates that are uploaded

commit d9a3268db6716bf43b3112af82a35538b178c558
Author: Brian Federle <brian.fede...@citrix.com>
Date:   2015-01-16T17:23:42Z

    Close dialog after upload

commit 5e1bd634a496ce621371f9e3b1e9129d209b329d
Author: Bharat Kumar <bharat.ku...@citrix.com>
Date:   2015-01-16T10:48:42Z

    Added changes to maintain and send the upload progress.
    
    Signed-off-by: Rajani Karuturi <rajanikarut...@gmail.com>

commit ef0c5d35cf39b7c2a8c2ea6d3c639b6ffb3a6319
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-16T22:34:55Z

    volume upload: added post request parser to get the file content

commit c5be9d0b9bd8afdf50cc510c6e6787ad04c56d29
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-16T22:53:44Z

    volume upload: removed debug messages in post request handler.

commit 7900ae5d9f0f6be07745530e14fcd2ac18216c91
Author: Koushik Das <kous...@apache.org>
Date:   2015-01-19T05:33:42Z

    volume-upload: initializing state for volume and also setting the post url 
in volume_store_ref

commit ca0f9de6c7db1632f2b8936a36554fbb30761fe7
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-19T06:34:30Z

    volume upload: parsing post body to get all the params

commit cd02ceb7a19eefad43cba41ad5cbb0cccdef13d7
Author: Koushik Das <kous...@apache.org>
Date:   2015-01-19T12:31:29Z

    volume-upload: gc thread to clean partially uploaded files
    Added state transitions from error/abandoned to destroyed

commit ad6b7b30cbbb68fd1b72dd5a2fe92143931d0220
Author: Rajani Karuturi <rajanikarut...@gmail.com>
Date:   2015-01-19T12:33:00Z

    Volume upload: sending the nfsstore url in the metadata
    
    decoding the metadata and deserialising it on receiving it

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to