rhtyd opened a new pull request #3240: [WIP DO NOT MERGE] api: instance and 
template details are free text
URL: https://github.com/apache/cloudstack/pull/3240
 
 
   Problem: Users don't know what keys/values to enter for template and VM 
details.
   Root Cause: The feature does not exist that can list possible details and 
options.
   Solution: Based on the possible VM and template details handled by the
   codebase, those details were refactored and a list API is introduced
   that can return users those details along with possible values. When
   users add details now, they will be presented with a list of key details
   and their possible options if any.
   
   Introduces a new API:
   ```
   listDetailOptions: Lists all possible details and their options for a 
resource type such as a VM or a template
   Required params: resourcetype, 
   API Params               Type     Description
   ==========               ====     ===========
   resourceid               string   the UUID of the resource (optional)
   resourcetype             string   the resource type such as UserVm, Template 
etc.
   ```
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [x] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ## Screenshots (if appropriate):
   
   ![Screenshot from 2019-03-27 
18-12-18](https://user-images.githubusercontent.com/95203/55076970-b313be00-50bc-11e9-8981-c36d2c55d407.png)

----------------------------------------------------------------
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