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
abhishek
d6f1f641b4
bug 5934: Checking if scmbug works : TEST
...
status 5934: resolved fixed
2010-08-18 17:42:12 -07:00
abhishek
2c670609b1
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
2010-08-18 16:15:09 -07:00
abhishek
66f51effd9
Refactoring startsystemvm cmd
2010-08-18 16:14:31 -07:00
alena
89179dd12e
Api refactor
2010-08-18 16:00:31 -07:00
alena
46c331b54b
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
...
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2010-08-18 15:52:23 -07:00
alena
f1b95641cb
Refactor api deletePool, addHost, addSecondaryStorage
2010-08-18 15:41:16 -07:00
abhishek
6ca1ceb769
Refactoring the startvm cmd
2010-08-18 15:38:02 -07:00
abhishek
c58749b917
Refactoring StopSystemVmCmd
2010-08-18 14:55:19 -07:00
abhishek
716271fca1
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
2010-08-18 14:05:45 -07:00
abhishek
aa6e9ab2bb
Refactoring the startvm command
2010-08-18 14:01:15 -07:00
alena
e2950eb5a1
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
...
Conflicts:
server/src/com/cloud/api/BaseCmd.java
server/src/com/cloud/network/security/NetworkGroupManagerImpl.java
2010-08-18 11:36:05 -07:00
alena
3d85fdf687
API refactor
2010-08-18 11:24:29 -07:00
abhishek
8f54cac031
Resolve conflicts
...
Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
Conflicts:
server/src/com/cloud/api/BaseCmd.java
2010-08-18 10:41:34 -07:00
abhishek
e553bcde96
Refactoring the updateResourceLimits code, moving all logic to agent manager, updating the enum with a new manager type for reflection
2010-08-18 10:32:21 -07:00
Kris McQueen
261c96f99c
refactor createPod command to new API framework
2010-08-17 19:08:06 -07:00
Kris McQueen
21ab91dc2c
refactoring CreateNetworkGroup API command to new API framework
2010-08-17 19:07:00 -07:00
Kris McQueen
82d6edcdf3
Refactoring CreateIPForwardingRule and CreateLoadBalancerRule to new API framework
2010-08-17 19:07:00 -07:00
Kris McQueen
a6c34d422c
Work in progress for modifying createPortForwardingRule command.
...
- some of the logic has been moved to manager
- some annotations have been added for the command itself
2010-08-17 19:07:00 -07:00
abhishek
154c6985a4
Refactoring updatePod command
2010-08-17 17:55:38 -07:00
abhishek
1252a2b8a7
Refactoring update service offering cmd
2010-08-17 17:21:04 -07:00
abhishek
1174486e27
Refactoring into server project
2010-08-17 16:43:57 -07:00
abhishek
57edd7d2f8
Refactoring the StorageManager interface into server code
2010-08-17 16:43:01 -07:00
abhishek
8b8f126a2c
Called the wrong method, fixing the same
2010-08-17 16:11:44 -07:00
abhishek
7e502768ed
Incremental checkin
2010-08-17 16:07:48 -07:00
abhishek
492fa760ff
Removing unused imports
2010-08-17 15:19:09 -07:00
abhishek
fffd1f2099
Refactoring permissions commands
2010-08-17 15:18:00 -07:00
abhishek
67b8a9e608
Incremental checkin
2010-08-17 14:52:29 -07:00
abhishek
4114c1b74a
Adding the updatetemplateoriso command refactoring,
2010-08-17 14:14:16 -07:00
abhishek
c092b78c47
Changing the manager
2010-08-17 12:22:26 -07:00
abhishek
001fc0f7ae
Refactoring update user command
2010-08-17 12:12:07 -07:00
abhishek
6f680375f3
Refactoring some more vm commands, as well as refactoring the account and user validation into a method. Please use the same for future validation calls
2010-08-17 11:28:23 -07:00
abhishek
a4ab5fa38d
Creating a new response obj file
2010-08-17 10:56:06 -07:00
abhishek
7a937685b0
Adding the response object for UpgradeVmResponse
2010-08-17 10:54:01 -07:00
abhishek
3870d8f1dc
Some more refactoring
2010-08-17 10:07:57 -07:00
abhishek
b0cfdf1f37
Fixing some more issues in management server (do not know why this was not backported)
2010-08-17 10:04:09 -07:00
abhishek
1a0415601f
Incremental checkin
2010-08-17 10:00:09 -07:00
Kris McQueen
663f982628
Add ResponseObject interface.
2010-08-16 18:14:21 -07:00
Kris McQueen
5ed3ec9192
Add response object interface.
...
Add response objects for CreateDiskOffering and CreateDomain.
Move validation of parameters for CreateDiskOffering and CreateDomain to business logic, add getResponse logic for these commands.
2010-08-16 18:12:31 -07:00