shwstppr opened a new pull request #3250: server: compute offering domains zones
URL: https://github.com/apache/cloudstack/pull/3250
 
 
   ## Description
   **Problem**: Compute or service offerings cannot be linked to specified 
multiple domain(s) and zone(s).
   **Root cause**: Compute offerings are independent of zones and they can be 
linked only to a single domain/sub-domain
   **Solution**: Compute or service offerings will be allowed to link with 
specified domain(s) and zone(s). Disk offering linked with multiple domains and 
zones can be created both with UI and API. Refactored createServiceOffering  
API to allow passing list of domain and zone IDs with domainids and zoneids 
parameter respectively. UI has been refactored to allow selecting multiple 
domains and zones while creating compute offering using multi-select elements. 
When list of passed domains contain both parent and child domain offering will 
be created for parent domain. Compute offering details will now show list of 
linked domains and zones as a comma-separated list of names. Linked domains and 
zones will be stored in the cloud.service_offering_details table in database as 
comma-separated list of IDs with key domainids and zoneids respectively.
   
   ## 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)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ## Screenshots (if appropriate):
   ![Screenshot from 2019-03-29 
12-22-16](https://user-images.githubusercontent.com/153340/55323530-eda29f80-549c-11e9-9e76-b20daac2ca95.png)
   ![Screenshot from 2019-03-29 
12-22-39](https://user-images.githubusercontent.com/153340/55323537-f2ffea00-549c-11e9-9930-05e7b982a483.png)
   ![Screenshot from 2019-03-29 
12-43-44](https://user-images.githubusercontent.com/153340/55323549-f85d3480-549c-11e9-8cc5-f46d5ffd6ceb.png)
   ![Screenshot from 2019-03-29 
12-18-11](https://user-images.githubusercontent.com/153340/55323580-12971280-549d-11e9-8b88-a906a0503609.png)
   
   
   ## How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   <!-- see how your change affects other areas of the code, etc. -->
   From UI and using cmk
   
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md)
 document -->
   

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