11978 Commits

Author SHA1 Message Date
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
Anthony Xu
41f7c745bd bug 5934: if it is standalone, give cluser name as Standalone-ip/name
status 5934: resolved fixed

Conflicts:

	server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
2010-08-18 17:33:25 -07:00
Kelven Yang
792fdf91b8 1) Add host_master table for tracking VMWare vShpere servers
2) Add SynchronizationEvent for in-process event synchronization
3) Move VMware files out of FOSS code base
2010-08-18 17:30:11 -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
Alex Huang
b250b985ec changes 2010-08-18 12:19:22 -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
kishan
d202ce4c7a Issue #: 5775
Release vnet and private IP allocation when domR fails to start
2010-08-18 19:43:16 +05:30
kishan
fb8e3ffec5 Merge branch 'master' of ssh://kishan@git.cloud.com/var/lib/git/cloudstack-oss 2010-08-18 14:09:13 +05:30
kishan
ef41ebc9ec Check for null vnet when allocation fails 2010-08-18 13:54:53 +05:30
nitin
5331e13bac 5844 - adding more tags to updateTemplate API 2010-08-18 12:44:27 +05:30
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
Kelven Yang
53097c67f5 1) Fix build problem caused by alex's Refactoring
2) Let console proxy servlet support API key to allow session-less access
2010-08-17 15:15:06 -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
Alex Huang
a89aad4d15 removed override 2010-08-17 10:16:16 -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