Commit Graph

55 Commits

Author SHA1 Message Date
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
root 183eb4e4a3 Api refactoring for following commands: updateAccount, updateTemplate/Iso, UpdateDomain, EnableUser/Account, DeletePod 2010-08-15 21:01:24 -07:00
alena b4adabe4a9 Refactored EnableAccount api command 2010-08-13 17:51:00 -07:00
alena 3268303d51 Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor 2010-08-12 16:34:51 -07:00
alena 167433e562 Api refactor:
* Moved ManagementServer interface from "core" to "server" package
* Changed AddConfig, UpdateCfg, UpdateAccount commands
2010-08-12 16:32:23 -07:00
abhishek b5a6d81ffe Forgot to check this part in, for the UpgradeVmCmd 2010-08-12 14:28:24 -07:00
abhishek 5a0735edd6 Refactoring upgradeVmCmd (note that the response obj still needs to be constructed) 2010-08-12 14:22:30 -07:00
alena 8825147f0d Merge branch '2.1.refactor' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.1.refactor
Conflicts:
	server/src/com/cloud/configuration/ConfigurationManager.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2010-08-12 11:41:02 -07:00
alena a9d48a1b8a Refactored updateDiskOffering and deleteDiskOffering commands 2010-08-12 11:27:37 -07:00
abhishek 23444d5f07 Refactoring the updateZone command 2010-08-12 10:59:59 -07:00
Kris McQueen 96f76062f9 Moving createDiskOffering to configurationManager, make AssignToLoadBalancer async 2010-08-11 19:32:09 -07:00