7984 Commits

Author SHA1 Message Date
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
1c87879e21 bug 4898: removing the upgrade.url param
status 4898: resolved fixed
2010-08-30 14:49:22 -07:00
abhishek
992458e9d0 bug 5843: Merging in the fix
status 5843: resolved fixed
2010-08-30 13:45:22 -07:00
abhishek
64210bd16d bug 6010: Fixing the list volumes issue, now we filter volumes based on the template type and not based on the names
status 6010: resolved fixed
2010-08-30 11:18:43 -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
7a0ad69b89 Incremental checkin 2010-08-30 10:40:45 -07:00
Kelven Yang
7eb61b705a Allow NetworkManagerImpl and SecondaryStorageImpl to tolerate missing of system vm template at startup 2010-08-27 16:32:03 -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
kishan
0e326e853c bug 5900: Added events for disk offering 2010-08-27 18:02:23 +05:30
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
Anthony Xu
8a928a7a30 Merge branch 'master' of ssh://anthony@git.cloud.com/var/lib/git/cloudstack-oss 2010-08-26 16:06:57 -07:00
Anthony Xu
d72e0538da Revert "Revert "use iso to patch systemvm""
This reverts commit 145e2e0aaa9b57286102664787e8e40ad3d75e26.
2010-08-26 16:06:28 -07:00
Anthony Xu
145e2e0aaa Revert "use iso to patch systemvm"
This reverts commit 3565f8d21b331745b99ce3a09a35d642f2f7bcfe.
2010-08-26 16:03:34 -07:00
root
3565f8d21b use iso to patch systemvm
Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	scripts/vm/hypervisor/xenserver/xenserver56/patch
2010-08-26 15:56:02 -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
Kelven Yang
b69816814c Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-08-26 13:56:23 -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
kishan
43169f3f96 bug 5895: added config param to turn on/off md5 hash 2010-08-26 23:39:32 +05:30
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
kishan
fb99f95d7c bug 5730: update dns of systemVms during zone update 2010-08-26 21:02:37 +05:30
kishan
acb23b6158 bug 5904,5474: added listCapabilities API 2010-08-26 14:53:03 +05:30
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
will
f8c93cd5fa Bug #:5975
Merge from 2.1.x

- Fixed issue where listAccounts only return one less than the actual number of accounts in the system.  That is because the SQL query asks for X accounts, but the API filters out the SYSTEM account.  The fix is to add the filter of the system account in the actual query itself rather than have the code do it.

Conflicts:

	server/src/com/cloud/api/commands/ListAccountsCmd.java
2010-08-25 18:21:32 -07:00
Kelven Yang
23a38bc2be Debug & Test template copy from secondary storage to primary stroage on vmware 2010-08-25 18:17:20 -07:00
abhishek
cf68dfb430 Refactored detach iso command 2010-08-25 15:33:06 -07:00
edison
3ab4651cf0 Issue #: 5978 5977 5971 5972
Status 5978: resolved fixed
Status 5977: resolved fixed
Status 5971: resolved fixed
Status 5972: resolved fixed
2010-08-25 15:27:34 -07:00
abhishek
37f6e794d9 Used the wrong base cmd 2010-08-25 14:54:38 -07:00