rhtyd commented on issue #92: [WIP] - Register Template Action
URL: https://github.com/apache/cloudstack-primate/pull/92#issuecomment-574021233
 
 
   @utchoang I've completed the review, made some fixes. However, the API 
request is not correct, for example all the extra options should be passed as 
`details`.
   For example, to register a VMware template with custom nic, storage 
controller, nic controller, this PR send this request:
   ![Screenshot from 2020-01-14 
11-43-56](https://user-images.githubusercontent.com/95203/72318832-663cba80-36c3-11ea-9261-ef06572885c7.png)
   
   And, the old UI sends this request:
   ![Screenshot from 2020-01-14 
11-43-30](https://user-images.githubusercontent.com/95203/72318844-6c329b80-36c3-11ea-8865-495063c09a85.png)
   
   @utchoang please refer to the API doc here: 
http://cloudstack.apache.org/api/apidocs-4.13/apis/registerTemplate.html
   ... and for reference please refer to the old code/implementation here:
   https://github.com/apache/cloudstack/blob/master/ui/scripts/templates.js#L123
   cc @svenvogel 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to