svenvogel commented on issue #62: Custom Upload Action - Template, ISO, volume
URL: 
https://github.com/apache/cloudstack-primate/issues/62#issuecomment-571637130
 
 
   @rhtyd sounds good. Let’s change to the suggestion from you.
   
   
   __
   
   Sven Vogel
   Teamlead Platform
   
   EWERK DIGITAL GmbH
   Brühl 24, D-04109 Leipzig
   P +49 341 42649 - 99
   F +49 341 42649 - 98
   s.vo...@ewerk.com
   www.ewerk.com
   
   Geschäftsführer:
   Dr. Erik Wende, Hendrik Schubert, Frank Richter
   Registergericht: Leipzig HRB 9065
   
   Support:
   +49 341 42649 555
   
   Zertifiziert nach:
   ISO/IEC 27001:2013
   DIN EN ISO 9001:2015
   DIN ISO/IEC 20000-1:2011
   
   ISAE 3402 Typ II Assessed
   
   EWERK-Blog<https://blog.ewerk.com/> | 
LinkedIn<https://www.linkedin.com/company/ewerk-group> | 
Xing<https://www.xing.com/company/ewerk> | 
Twitter<https://twitter.com/EWERK_Group> | 
Facebook<https://de-de.facebook.com/EWERK.IT/>
   
   Mit Handelsregistereintragung vom 09.07.2019 ist die EWERK RZ GmbH auf die 
EWERK IT GmbH verschmolzen und firmiert nun gemeinsam unter dem Namen: EWERK 
DIGITAL GmbH, für weitere Informationen klicken Sie 
hier<https://www.ewerk.com/ewerkdigital>.
   
   Auskünfte und Angebote per Mail sind freibleibend und unverbindlich.
   
   Disclaimer Privacy:
   Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist 
vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der 
bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die 
E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen 
Dank.
   
   The contents of this e-mail (including any attachments) are confidential and 
may be legally privileged. If you are not the intended recipient of this 
e-mail, any disclosure, copying, distribution or use of its contents is 
strictly prohibited, and you should please notify the sender immediately and 
then delete it (including any attachments) from your system. Thank you.
   
   Am 07.01.2020 um 04:51 schrieb Rohit Yadav <notificati...@github.com>:
   
   
   
   @utchoang<https://github.com/utchoang> this is a tricky one as it requires 
an environment that can access SSVM public IP to upload the file, the 
reference/test server (acs.shapeblue.com) on port-forwards to the management 
server so you won't be able to access the internal ssvm public IP. The other 
issue is that this features requires the environment to be SSL enabled as the 
URL returned by the getUploadParamsForTemplate API is https enabled. For 
example as seen in dev tools:
   
   [Screenshot from 2020-01-07 
09-03-41]<https://user-images.githubusercontent.com/95203/71866693-1db65780-312d-11ea-9cc8-a0d07df50efc.png>
   
   The code for all of the upload feature (for uploading template, iso and 
volume) roughly follows this pattern:
   
     *   Call to register the template/iso/volume via the 
getUploadParamsForTemplate/getUploadParamsForIso/getUploadParamsForVolume
     *   This API returns post URL, and some secrets/signatures
     *   The UI makes a HTTP post request of the file and receives 'upload 
successful' or some suitable message
   
   [Screenshot from 2020-01-07 
09-17-48]<https://user-images.githubusercontent.com/95203/71867083-b3061b80-312e-11ea-8113-0ecceb8dc774.png>
   [Screenshot from 2020-01-07 
09-17-58]<https://user-images.githubusercontent.com/95203/71867084-b39eb200-312e-11ea-944b-c1580201c8c0.png>
   
   For code reference you can see:
   https://github.com/apache/cloudstack/blob/master/ui/scripts/templates.js#L796
   
   You may try to implement this based on the above description and reference 
implementation from the old UI and I can help with testing. Let me know if 
you're unable to do so, in which case pick another task from the list (I'll 
ping you on the other tasks if you want)?
   
   —
   You are receiving this because you were mentioned.
   Reply to this email directly, view it on 
GitHub<https://github.com/apache/cloudstack-primate/issues/62?email_source=notifications&email_token=ABJOT5BAF2ZN4N5JTGE2EZTQ4P32FA5CNFSM4JYF4ZD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIHTHKA#issuecomment-571421608>,
 or 
unsubscribe<https://github.com/notifications/unsubscribe-auth/ABJOT5HNYSTKYOUMADZE47LQ4P32FANCNFSM4JYF4ZDQ>.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to