25503 Commits

Author SHA1 Message Date
Rajani Karuturi
e08522dbaa volume upload: adding the rewrite rules on start of cloud service 2015-01-29 16:55:30 +05:30
Rajani Karuturi
7231daa71d volume upload: fixed the post body parsing logic
as long as the boundary is completely in the byte buffer it works.
2015-01-29 16:55:29 +05:30
Rajani Karuturi
92669e314e volume upload: modified parsing logic
vhd file download works fine. some open issues with parsing params
2015-01-29 16:55:28 +05:30
Rajani Karuturi
89ef9e709b volume upload: updating the PSK if its null 2015-01-29 16:55:26 +05:30
Rajani Karuturi
a710743871 volume upload: persisting into volume store ref only when SSVM is found 2015-01-29 16:55:24 +05:30
Rajani Karuturi
b343fb79e3 volume upload: fixed NPE if SSVM is not up 2015-01-29 16:55:16 +05:30
Jessica Wang
a25d77473d CLOUDSTACK-8182: UI > volumes > upload volume from URL > add Custom Disk Offering field which is optional. 2015-01-26 14:50:34 -08:00
Jessica Wang
c16d5a8221 volume-upload: UI > dialog widget > display $frameForm(the hidden form to submit file with signature/expires/metadata) in console log. 2015-01-22 15:45:08 -08:00
Jessica Wang
26acdd7f6c volume-upload: volumes > (1) Shorten action label to make all items in header to fit into one line, otherwise search box will be pushed out of place. (2) Add dialog: move URL field to the top. 2015-01-22 13:23:08 -08:00
Jessica Wang
48a66ace6c volume-upload: templates > (1) Shorten action label to make all items in header to fit into one line, otherwise search box will be pushed out of place. (2) Register Template dialog: move URL field to the top. 2015-01-22 13:23:08 -08:00
Brian Federle
0aded6b959 Reduce size of 'select view' dropdown to fix more dense toolbars. 2015-01-22 13:12:40 -08:00
Jessica Wang
d79c3714d2 volume-upload: UI > storage > volumes > add new action "Upload Volume from Local" in header of listView. 2015-01-21 16:30:12 -08:00
Jessica Wang
818f9cfcc7 volume-upload: UI > dialog widget > write log in console indicating callback() is triggered. 2015-01-21 15:11:44 -08:00
Jessica Wang
9acfb2eec1 volume-upload: UI > upload template from local > after uploading file to postURL, pop up a message indicating where to check the template's newest status. 2015-01-21 14:51:53 -08:00
Jessica Wang
573a4b1e43 volume-upload: tempalates > upload template from local > format dropdown > include OVA, VMDK, BareMetal, TAR, VHDX option. 2015-01-21 13:44:22 -08:00
Jessica Wang
eb180b131d UI > dialog widget > Allow passing custom data in POST request. 2015-01-21 12:33:16 -08:00
Jessica Wang
4e569f85eb volume-upload: UI > upload template from local > fix a bug that fields below OS Type field (isPublic, isFeatured, ~ ) are not created. 2015-01-20 16:58:04 -08:00
Jessica Wang
68789b76d3 volume-upload: tempalates > upload template from local > format dropdown > show different options upon selected hypervisor. 2015-01-20 14:36:06 -08:00
Jessica Wang
7a3c2304a0 volume-upload: UI > templates > upload template from local > pass ispublic, requireshvm, isfeatured, isrouting parameter to getUploadParamsForTemplate API if corresponding fields are not hidden. 2015-01-20 14:00:23 -08:00
Brian Federle
e92e46aba5 Dialog uploader -> getURL(): Pass $form 2015-01-20 10:53:24 -08:00
Bharat Kumar
2a2d4364e1 made changes to move a file to the specified localtion
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2015-01-20 16:02:33 +05:30
Rajani Karuturi
a31e1bff33 volume upload: fixed build error from the commit b0a96c4c85f2d6dfe57ce3474ce95ebb3cec6d2a 2015-01-20 12:44:05 +05:30
Rajani Karuturi
b0a96c4c85 volume upload: fixed nio server blocking thread issue 2015-01-20 12:27:26 +05:30
Rajani Karuturi
15ae33a5b6 volume upload: refactored post upload command and used it during template registration 2015-01-20 09:24:14 +05:30
Jessica Wang
f0b60c742b volume-upload: UI > templates > add new action "Upload Template from Local". 2015-01-19 17:31:32 -08:00
Jessica Wang
cef4447fd4 (1) Remove UploadFile button from Register Template dialog. (2) sync latest templates.js from master branch. 2015-01-19 16:13:57 -08:00
Jessica Wang
aa9a7f50b7 Revert "Add to storage->upload volume dialog"
This reverts commit 8641de85d2da4d755cfe966ea5c6c3aaf4abc2b5.
2015-01-19 15:56:48 -08:00
Jessica Wang
f10709c756 Revert "Allow passing custom data in POST request"
This reverts commit e4d1049096152cb9fcd4b937666c8dfe8a035392.
2015-01-19 15:56:13 -08:00
Brian Federle
e4d1049096 Allow passing custom data in POST request 2015-01-19 11:35:42 -08:00
Brian Federle
8641de85d2 Add to storage->upload volume dialog 2015-01-19 11:35:42 -08:00
Rajani Karuturi
ad6b7b30cb Volume upload: sending the nfsstore url in the metadata
decoding the metadata and deserialising it on receiving it
2015-01-19 18:04:14 +05:30
Koushik Das
cd02ceb7a1 volume-upload: gc thread to clean partially uploaded files
Added state transitions from error/abandoned to destroyed
2015-01-19 18:01:29 +05:30
Rajani Karuturi
ca0f9de6c7 volume upload: parsing post body to get all the params 2015-01-19 12:04:30 +05:30
Koushik Das
7900ae5d9f volume-upload: initializing state for volume and also setting the post url in volume_store_ref 2015-01-19 11:03:42 +05:30
Rajani Karuturi
c5be9d0b9b volume upload: removed debug messages in post request handler. 2015-01-17 04:23:44 +05:30
Rajani Karuturi
ef0c5d35cf volume upload: added post request parser to get the file content 2015-01-17 04:06:29 +05:30
Bharat Kumar
5e1bd634a4 Added changes to maintain and send the upload progress.
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2015-01-17 04:06:29 +05:30
Brian Federle
d9a3268db6 Close dialog after upload 2015-01-16 09:24:29 -08:00
Koushik Das
053c160b0f volume upload: management server polling and upload status from agent
MS polling logic to query status for templates that are uploaded
2015-01-16 18:03:36 +05:30
Rajani Karuturi
1bf4058732 volume upload: removed the handlerFactory and the handler which were required by NioServer 2015-01-16 17:19:19 +05:30
Rajani Karuturi
ebaa4dd38e 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.
2015-01-16 17:15:14 +05:30
Koushik Das
1f1c96d2ee 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
2015-01-16 15:28:17 +05:30
Rajani Karuturi
0eee9e8138 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
2015-01-16 12:50:42 +05:30
Brian Federle
f243ae135b Add front-end file uploader 2015-01-14 11:26:38 -08:00
Koushik Das
627f5a62dc volume upload: management server polling and upload status from agent
MS polling logic to query status for volumes that are uploaded
2015-01-14 10:19:12 +05:30
Rajani Karuturi
c2cf2503c1 volume upload: persisting the PSK only when its not present 2015-01-13 11:37:22 +05:30
Rajani Karuturi
631e6e0088 volume upload: doing https redirect as NioServer handles only https 2015-01-13 10:43:21 +05:30
Rajani Karuturi
1ae34d98d4 volume upload: fixed circular reference error while generating json 2015-01-13 10:41:39 +05:30
Rajani Karuturi
2c169bc02d volume-upload added a upload url redirect in apache conf
rewrite engine is on only in the case fo SSVM
2015-01-09 09:16:00 +05:30
Rajani Karuturi
2a4ca1b9c7 volume upload: fixed null in api response 2015-01-06 12:34:46 +05:30