87 Commits

Author SHA1 Message Date
abhishek
5154ba1539 bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying 2010-12-16 15:37:19 -08:00
abhishek
6ae9e73c0b bug 7466: adding a whole bunch of new apis for accounts and users; merging account locking and disabling into one; preventing account manipulation on user disabling; disabling user lock 2010-12-14 15:38:37 -08:00
alena
d077b127aa bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
alena
c7a9267225 Delete network as a part of account cleanup 2010-12-13 10:47:10 -08:00
Alex Huang
87626bea6b start vm is working 2010-12-06 14:17:53 -08:00
Alex Huang
fcdd20ca06 more checkin 2010-12-06 14:17:53 -08:00
Alex Huang
16caf1954b New ip address states and mode 2010-12-04 17:32:32 -08:00
Alex Huang
daa9add158 removed router stuff from network manager 2010-12-04 17:32:31 -08:00
Alex Huang
bb78986ddb port forwarding working 2010-12-03 08:48:02 -08:00
alena
f4908758b3 bug 7234: don't try to delete pod level vlan when it doesn't exist
status 7234: resolved fixed
2010-11-23 15:06:29 -08:00
alena
a495f34d4f Fixed enableAccount command - domain permission check was done incorrectly 2010-11-19 15:25:29 -08:00
alena
a0eaf32cad Fixed updateAccount command to work via 8096 port. 2010-11-18 17:35:41 -08:00
alena
0b2b8e31d8 Fixed updateUser command - didn't work correctly via 8096 port (user account info was taken from UserContext instead of User object). 2010-11-18 17:07:20 -08:00
alena
a95b853a17 bug 6898: updateResourceLimit command requires domainId or account/domainId now if executed via 8096 port
status 6898: resolved fixed
2010-11-17 19:43:06 -08:00
abhishek
7575a03663 bug 6861: we were setting the account cleanup flag incorrectly, even for a vol which was never attached to a vm. Fixing the same
status 6861: resolved fixed
2010-11-16 16:11:55 -08:00
nit
ff4250fe89 bug 5360 : USER.DELETE - Adding Started event and refactored the code around it.
status 5360: resolved fixed
2010-11-12 14:47:30 +05:30
Alex Huang
edf9ddd464 added reservation id to vnet 2010-11-08 12:29:38 -08:00
alena
1c24deda34 1) Refactored current Apis not to use reflection for method invocation. In new version following has to be done:
* Implement callCreate() and execute() methods in apis extending BaseAsyncCreateCmd (example - CreateVolumeCmd)
* Implement execute() method in apis extending BaseCmd and BaseAsyncCmd (example - deleteVolumeCmd and deleteUserCmd)

We no longer need createMethod(), method(), manager() fields in @Implementation annotation, cleanup has to be done.

2) Moved Account/User related methods to AccountManagerImpl. Methods are exposed via AccountService interface.
3) Enhanced exception handing for Api calls.
4) Created ConfigurationService interface, all Api config methods are exposed via it.
2010-11-08 11:27:36 -08:00
Alex Huang
e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00
Alex Huang
5fe5450abc even more refactoring 2010-11-02 15:25:07 -07:00
kishan
b08037d22c bug 6851: use specified account properties instead of admin, resourceType enum instead of type
status 6851: resolved fixed
2010-11-01 19:19:33 +05:30
Alex Huang
14f80f2e13 domain router up and running...now on to patching through the network between the domain router and the vm 2010-10-29 12:16:58 -07:00
Kris McQueen
901f52eb99 bug 6782: incremental checkin for deleting an account. Since there was a change to findById to not find removed objects, these NPEs pop up from time to time where we expected to find the object previously and now it's not found. Since the account is getting deleted, do a findByIdIncludingRemoved to make sure the actual account object is retrieved. 2010-10-27 18:23:23 -07:00
Alex Huang
4f9f249218 make console proxy work again with the new network configuration 2010-10-26 17:37:29 -07:00
Alex Huang
f58063911e deploy vm completed 2010-10-26 09:35:24 -07:00
Kris McQueen
b3c7821b44 bug 6752: fix updating resource limits for a domain by looking at the given accountName/domainId parameters rather than looking at the caller's account. If updating limits for an account, e.g. account 'foo' in domain 4, then execute updateResourceLimit&account=foo&domainid=4&..., but if updating the limit for a domain, don't specify the account parameter. When processing the command, if accountName is null, the limit for the domain will be properly updated.
status 6752: resolved fixed
2010-10-25 17:32:28 -07:00
Alex Huang
d5d8f27cad Added more changes to the api 2010-10-21 15:11:49 -07:00
Alex Huang
794ca16a65 Added code to start domR 2010-10-19 11:52:01 -07:00
Kris McQueen
45c611100a fix NPE when updating a resource limit using the internal API port 2010-10-07 15:10:03 -07:00
Kris McQueen
848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00
Kris McQueen
4e5aa9cd98 Finish refactoring listResourceLimits to new API framework. 2010-09-07 14:56:51 -07:00
Kris McQueen
cee6b37757 Partial refactoring of listResourceLimits to new API framework. 2010-09-07 14:56:51 -07:00
Alex Huang
e0165dd2ef my changes 2010-08-23 13:59:23 -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
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
Alex Huang
a89aad4d15 removed override 2010-08-17 10:16:16 -07:00
Manuel Amador (Rudd-O)
05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00