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 |
|
abhishek
|
5503013e1f
|
Refactoring the lockAccount cmd
|
2010-08-20 14:48:35 -07:00 |
|
abhishek
|
58598bb0cb
|
Refactoring the lockUser cmd
|
2010-08-20 14:20:27 -07:00 |
|
abhishek
|
934173db2e
|
Refactoring some more system vm commands
|
2010-08-20 12:19:37 -07:00 |
|
abhishek
|
dc45e9b08b
|
Refactoring the rebootvm cmd
|
2010-08-20 11:48:24 -07:00 |
|
abhishek
|
be75946b1f
|
Refactored the reconnectHost command
|
2010-08-20 11:14:48 -07:00 |
|
abhishek
|
49482e947b
|
Refactoring another bunch of commands for vms
|
2010-08-20 10:38:44 -07:00 |
|
abhishek
|
b27a5af5fc
|
Refactored
|
2010-08-20 10:15:58 -07:00 |
|
abhishek
|
62df1ce6a9
|
Refactored
|
2010-08-20 10:15:35 -07:00 |
|
abhishek
|
f625900b8b
|
Refactoring the register command
|
2010-08-20 09:59:06 -07:00 |
|
abhishek
|
728b4641f6
|
Further refactoring of the templates and iso code.
|
2010-08-19 18:07:07 -07:00 |
|
abhishek
|
d5b041a790
|
Refactoring register commands for template and iso
|
2010-08-19 17:59:56 -07:00 |
|
abhishek
|
d468a0bd7f
|
Incremental checkin
|
2010-08-19 16:40:41 -07:00 |
|
abhishek
|
21f7c0dec8
|
Refactored RegisterTemplateCmd
|
2010-08-19 16:33:26 -07:00 |
|
abhishek
|
fcdeb5a97d
|
Incremental checkin
|
2010-08-19 14:40:08 -07:00 |
|
abhishek
|
9da6d89837
|
Refactoring deleteServiceOffering cmd
|
2010-08-19 12:15:26 -07:00 |
|
abhishek
|
c200375b0f
|
Refactoring RemoveFromLoadBalancerRuleCmd
|
2010-08-19 11:59:56 -07:00 |
|
abhishek
|
ef2b80f9c6
|
Refactoring the removePortForwardingService cmd
|
2010-08-19 10:55:58 -07:00 |
|
abhishek
|
25d5126f68
|
Refactoring the resetVmPassword command
|
2010-08-19 10:12:38 -07:00 |
|
alena
|
78846ec4eb
|
1) Fixed AddHost, AddSecondaryStorage, UpdateIso, UpdateTemplate to return correct command name.
2) Added missing accessors getFormat and isPasswordEnabled to UpdateTemplateOrIso abstract class.
|
2010-08-18 21:03:31 -07:00 |
|
Kris McQueen
|
4c86af9901
|
cleaning up imports
|
2010-08-18 19:12:27 -07:00 |
|
Kris McQueen
|
74e0201c77
|
cleaning up some imports
|
2010-08-18 19:11:01 -07:00 |
|
Kris McQueen
|
78445d8348
|
Refactoring createStoragePool to new API framework. The logic was always in StoragePoolManager, mostly removed the management server proxy method which called into StoragePoolManager. There is still an outstanding TODO for this API in terms of the response. Once the storage pool has been added, there is a query for the allocated bytes on the pool in order to return proper storage stats. Hooking into this query to get the right data needs to be done.
|
2010-08-18 19:11:01 -07:00 |
|
Kris McQueen
|
b0668df1b9
|
refactoring createSnapshotPolicy to new API framework...since this is a basic database create just move parameter validation to SnapshotManager and save the snapshot policy in the database
|
2010-08-18 19:08:23 -07:00 |
|
Kris McQueen
|
da03aee028
|
Add snapshot manager to the list of managers that can be invoked through the API. This prepares the way for refactoring createSnapshot, but since the method is an async create that also needs to create a policy first and generally does not follow any other patters, I'll do this one last.
|
2010-08-18 19:08:23 -07:00 |
|
Kris McQueen
|
96f999a375
|
Refactoring createServiceOffering to the new API framework, just a simple database create that has been moved from a management server proxy method that calls configuration manager directly into the configuration manager.
|
2010-08-18 19:06:12 -07:00 |
|
Kris McQueen
|
88395cfcd8
|
CreatePortForwardingService has been refactored to the new API framework. CreatePortForwardingServiceRule has also been refactored to the new API framework. This is the first async create command, so there are some changes for the framework with async creates. First, the annotation has a 'createMethod' element, the framework will invoke the createMethod synchronously, update the id of the created object, return the jobId and objectId, then queue the method. Once the method is invoked the actual business logic will kick in, for example 'createVolume' will create a database record for the volume, return the appropriate id, and then asynchronously create the volume in the correct storage pool. The requirement is now that both a create method and an implementation method will be required in the given manager for async create commands.
|
2010-08-18 19:06:12 -07:00 |
|
abhishek
|
3198abd8c1
|
Refactoring network ingress group command
|
2010-08-18 17:52:55 -07:00 |
|