130 Commits

Author SHA1 Message Date
Kris McQueen
ec9ad29c9a Refactoring listLoadBalancerRules to new API framework. 2010-09-01 10:10:48 -07:00
Kris McQueen
583f29242d Refactoring listLoadBalancerRuleInstances to new API framework. 2010-08-31 18:59:20 -07:00
Kris McQueen
4be6af476d Refactoring listTemplates and listIsos to new API framework. 2010-08-31 14:50:30 -07:00
Kris McQueen
7e7baba8e7 Refactor listHosts API to new framework. 2010-08-30 18:02:54 -07:00
Kris McQueen
b797313ac0 Refactor listOSTypes API to new framework. 2010-08-30 16:18:40 -07:00
Kris McQueen
9abc658da0 Refactor listGuestOSCategories API to new framework. 2010-08-30 16:18:40 -07:00
Kris McQueen
5636503e39 Refactor listDomainChildren API to new framework. 2010-08-30 16:18:40 -07:00
Kris McQueen
4bb71d2a0c Refactor listEvents API to new framework. 2010-08-30 16:18:40 -07:00
Kris McQueen
9eeabb701a Refactoring listDomains to the new API framework. The search criteria are now retrieved from the command itself rather than creating an intermediate Criteria object first. 2010-08-30 16:18:40 -07:00
Kris McQueen
e55e6c283f Refactoring work on listCapacities, listConfigurations, listClusters, and listDiskOfferings commands. The work represents consolidating the Criteria object into just pulling the search criteria directly from the command. Also changed BaseListCmd to server the startIndex and pageSizeVal [includes default page size of 50] rather than have each search command compute these things. 2010-08-30 16:18:39 -07:00
Kris McQueen
68275debc0 Refactor listAsyncJobs to new API framework, consolidating parameter and criteria packing/unpacking into just command unpacking to simplify building the search criteria. 2010-08-30 16:18:39 -07:00
alena
53892037c4 Refactored associateIPAddress and updateHost commands. 2010-08-30 15:22:42 -07:00
abhishek
48944aedec import refactoring 2010-08-30 10:54:12 -07:00
abhishek
dc750e2691 Moving the disassoc logic to network manager 2010-08-30 10:50:27 -07:00
abhishek
742869b750 Refactoring the delete snapshot command. This has a lot of spaghetti calls, trying my best to make it works. Hopefully it all does, on the 1st pass 2010-08-27 11:26:14 -07:00
abhishek
284c630eeb Further refactoring the cmd 2010-08-27 10:27:00 -07:00
abhishek
0ea56e1504 refactored the delete port forwarding service rule cmd 2010-08-27 10:22:11 -07:00
abhishek
126da4baf7 Refactored the delete user cmd 2010-08-26 17:58:53 -07:00
abhishek
3d8a3ef358 Refactoring the snapshot policies cmd 2010-08-26 17:17:30 -07:00
abhishek
8b8e0929f1 Refactored the delete template command 2010-08-26 16:15:42 -07:00
abhishek
4bdbc64bf7 Some more refactoring 2010-08-26 15:33:12 -07:00
abhishek
7f7a342cbe Refactoring the delete volume command 2010-08-26 14:31:25 -07:00
abhishek
604e7016a3 Incremental checkin 2010-08-26 14:18:36 -07:00
abhishek
2bdaaa48a6 Refactored the destroy vm command 2010-08-26 13:37:57 -07:00
abhishek
6070948e16 Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor 2010-08-26 11:11:10 -07:00
abhishek
f73d14e267 Refactored the destroy console proxy command 2010-08-26 11:10:29 -07:00
Kris McQueen
f30e0dc383 Adding the response object for alerts, initially created as part of the listAlerts refactoring. 2010-08-26 10:46:04 -07:00
Kris McQueen
187d89fce5 Refactoring listAlerts to the new API framework. This is now a BaseListCmd so it inherits keywork, page, and pagesize parameters. This also simplifies creating a Criteria object from the parameters, and then creating a search criteria from the criteria object. It's now one step...search criteria from the command itself. 2010-08-26 10:46:04 -07:00
abhishek
14fde77792 test again 2010-08-26 10:39:21 -07:00
abhishek
76a79890d6 test 2010-08-26 10:36:20 -07:00
abhishek
5f1459be93 Adding new methods 2010-08-26 10:34:28 -07:00
abhishek
3e3cc19937 adding manager 2010-08-26 10:33:18 -07:00
abhishek
d1b4034633 Mvoing console proxy manager to server 2010-08-26 10:30:52 -07:00
abhishek
88d41090ca Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor 2010-08-26 10:17:36 -07:00
abhishek
3a2930e383 Adding another manager 2010-08-26 10:16:51 -07:00
Kris McQueen
479ff26051 Refactoring createZone to new API framework. The logic was entirely delegated to configuration manager, so pushed the logic there and removed the proxy method from Management server. 2010-08-25 18:26:38 -07:00
Kris McQueen
34a3c3ece2 Refactored createVlanIpRange to new API framework. Moved logic to configuration manager, including the association of the ip addresses on a vlan with the account for which the vlan is being created. On deployVirtualMachine, this association might happen as well, and now mgmt server calls config manager. 2010-08-25 18:26:38 -07:00
Kris McQueen
c085283c2e Refactor createUser to new API framework. Consolidate the old createUser (GWT UI used this API) and createUserAPI into one createUser method since it's only called through integration API now. Return a UserAccount instead of a User in order to generate a response with all the information required. Also clean up some of the unused private template code from ManagementServer that was mistakenly left in from a previous refactor. 2010-08-25 18:26:38 -07:00
Kris McQueen
defae59126 Finish refactoring createTemplate to new API framework. The executor and result object from old framework still need to be deleted, but this commit moves all the business logic to the manager with validation in the createPrivateTemplateRecord and creating a snapshot if necessary in createPrivateTemplate. Additionally, added a find method on the template dao to check if the template name is in use for the account (this is part of the validation). 2010-08-25 18:26:38 -07:00
Kris McQueen
97f3068687 Work in progress refactoring createTemplate command to new API. The logic had been partially moved to the manager, still need to finish up moving the logic, then delete the unnecessary code. 2010-08-25 18:26:38 -07:00
abhishek
cf68dfb430 Refactored detach iso command 2010-08-25 15:33:06 -07:00
abhishek
37f6e794d9 Used the wrong base cmd 2010-08-25 14:54:38 -07:00
abhishek
74a8dc0aa8 Incremental checkin 2010-08-25 14:20:08 -07:00
abhishek
d8219225ea Import cleanup 2010-08-25 13:54:31 -07:00
abhishek
82fbae2553 Refactoring the detach volume command 2010-08-25 13:53:43 -07:00
abhishek
46f69a604b some more refactoring 2010-08-25 11:43:49 -07:00
abhishek
702658556b Refactoring the delete zone cmd 2010-08-25 11:16:07 -07:00
abhishek
c2f517fa81 Refactoring the delete vlan ip range cmd 2010-08-25 10:59:14 -07:00
abhishek
5a8313cc51 Detach volume command refactor incremental checkin 2010-08-23 17:41:22 -07:00
abhishek
ec9fdd5b16 Refactored disassociateipaddress cmd 2010-08-20 16:01:37 -07:00