141 Commits

Author SHA1 Message Date
alena
41000e61d3 Refactored copyIso/copyTemplate/attachIso/startRouter/stopRouter/rebootRouter commands 2010-09-07 18:53:04 -07:00
alena
70279f35fa Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor 2010-09-07 11:31:46 -07:00
alena
f2a680ae66 1) Refactored DeleteIsoCmd api.
2) Removed DeleteTemplateExecutor and DeleteTemplateParam files because deleteTemplate/deleteIso are not async commands
3) Cleaned up unused imports.
2010-09-02 18:52:43 -07:00
Kris McQueen
22b0a95b2f Refactor listPublicIpAddresses to new API framework. 2010-09-02 16:23:29 -07:00
Kris McQueen
1d1e10d2d3 Refactoring listPreallocatedLuns to new API framework. 2010-09-02 15:23:15 -07:00
Kris McQueen
2cd9a44267 Refactoring listPortForwardingServices to new API framework. Also forgot to return a response from listPortForwardingServicesByVM... 2010-09-02 15:03:06 -07:00
Kris McQueen
f6ae5e9b52 Refactoring listPortForwardingServicesByVM to new API framework. 2010-09-02 11:57:31 -07:00
Kris McQueen
476151453e Refactor listPortForwardingServiceRules to new API framework. 2010-09-01 16:19:11 -07:00
Kris McQueen
931706ad87 Refactor listPortForwardingRules to new API framework. Clean up imports. 2010-09-01 15:00:22 -07:00
Kris McQueen
44eaf247b5 Refactoring listPods to new API framework. 2010-09-01 14:17:00 -07:00
Kris McQueen
fbcb02cd9e Refactoring listNetworkGroups to new API framework. The search is done entirely within NetworkGroupManager, and this is one instances of a response with nested data (the ingress rules are nested within the groups). Some work will need to be done to serialize this response properly. 2010-09-01 14:05:39 -07:00
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