cloudstack/server/test/com/cloud
Rajani Karuturi e384f2d146 Merge pull request #715 from devdeep/CLOUDSTACK-8687
CLOUDSTACK-8687: Prepare template only on a given storage poolUpdate prepare template api to seed/prepare a template only on a given primary storage. Currently, the prepare template api will seed/prepare a given template on all the primary storage pools in a zone. If however, a user wishes to prepare a template only a particular storage pool, it isn't possible. Updated the api to take storage pool id as an optional parameter. If the pool id is provided then the template is prepared only on the given primary storage pool. Also added unit tests to validate the functionality

* pr/715:
  CLOUDSTACK-8687: Unit tests for validating the prepare template functionality. These tests validate that the templates get scheduled for seeding. Additionally, if a template is already seeded, we do not try and seed it again. Tests also validate that templates are seeded to storage pools which are available.
  CLOUDSTACK-8687: Update prepare template api to seed/prepare a template only on a given primary storage. Currently, the prepare template api will seed/prepare a given template on all the primary storage pools in a zone. If however, a user wishes to prepare a template only a particular storage pool, it isn't possible. Updated the api to take storage pool id as an optional parameter. If the pool id is provided then the template is prepared only on the given primary storage pool

Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2015-08-19 15:58:42 +05:30
..
alert CLOUDSTACK-5261: added support for Alert publishing via ROOT Admin API 2013-12-04 10:05:46 -08:00
api Added unit tests for CLOUDSTACK-8133 2015-08-13 13:47:38 +02:00
capacity All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
configuration CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 14:53:53 +05:30
consoleproxy CLOUDSTACK-8623: CPVM fails to start after MS is restarted during its initial start-up process 2015-07-14 10:56:05 +05:30
event Disable IAM feature from 4.4 release. 2014-05-22 18:27:08 -07:00
ha CLOUDSTACK-8704: Schedule restart of router VMs ahead of user VMs as part of HA 2015-08-10 14:51:44 +05:30
keystore Reformatted all of the code. 2013-11-21 06:15:26 -08:00
metadata Resource metadata: by default, all metadata is set with display=true (meaning that the detail is avaialble for display to the regular user). If admin wants to set a specific detail to be false, he has to specify it explicitly in addResourceDetail command 2014-02-10 12:05:59 -08:00
network Refactored Nic.java for readability. 2015-08-18 14:04:48 +02:00
projects Revert "CLOUDSTACK-5872: Async response from addAccountToProject doesn't contain useful information" 2014-03-03 12:44:08 -08:00
resource Add method implementation to the mock class. 2015-06-29 09:59:10 +02:00
resourcelimit Reformatted all of the code. 2013-11-21 06:15:26 -08:00
server CLOUDSTACK-8537 test for the sake of testing the fix seems so trivial but no testing is available for it at all. when bugs arise test extension should be the start point here. 2015-06-17 20:47:57 +02:00
servlet test for escapeHTML 2014-05-02 21:19:49 +02:00
snapshot All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
storage CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 14:53:53 +05:30
template CLOUDSTACK-8687: Unit tests for validating the prepare template functionality. 2015-08-19 10:06:54 +05:30
user CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 14:53:53 +05:30
vm CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 14:53:53 +05:30
vpc CLOUDSTACK-8656: restructure tests to ensure exception throwing 2015-08-14 15:43:54 +02:00