71 Commits

Author SHA1 Message Date
Alex Huang
8571d04034 unit testing is working again 2011-02-28 16:21:19 -08:00
Alex Huang
ab3c719389 run the scripts 2011-02-28 14:37:30 -08:00
Alex Huang
378a0da0df more unittest support 2011-02-25 11:58:12 -08:00
Alex Huang
b6056bc0b1 missing files 2011-02-22 19:12:10 -08:00
Alex Huang
c22b37e402 latest work on db migration 2011-02-22 18:23:05 -08:00
Alex Huang
c6efb2b09d bug 8529: propagated to master. Added junit test support to ant 2011-02-16 17:40:59 -08:00
Kelven Yang
ddda5fc431 Cleanup of worker VMs left over from previous session in a reliable way 2011-01-31 17:41:07 -08:00
Kelven Yang
8a263f34ba Fix jUnit reference issue in test project for Eclipse 2011-01-05 03:58:47 -08:00
Kelven Yang
ea88089fd2 Bug 7409: Implement forcely-cancelling mechenism for jobs that have been staying in queue for too long
1) introduced a global configuration variable job.cancel.threshold.minutes
2) Default value for the job.cancel.threshold.minutes is 60 minutes, if a job has been staying in processing state for over 60 minutes, system will forcely remove it from the queue to allow others to run
2011-01-05 15:44:10 -08:00
Kelven Yang
7a66300fc9 Update test to avoid eclipse compiling error 2010-12-30 21:07:00 -08:00
Kelven Yang
dca59ce324 Disable IPAddress test case as couldn't follow on the rapid ever changing code refactoring of its dependent classes 2010-12-06 14:50:45 -08:00
Kelven Yang
bb5d00fb7f Fix test code broken by changes in IPAddressDao 2010-12-06 09:49:56 -08:00
Alex Huang
d38f7fd56d Moved DAO to server 2010-11-22 07:40:41 -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
560d7a275e Removed InternalErrorException. Renamed the lock methods on the DAO objects to be more understandable. 2010-11-02 12:25:08 -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
d7b6ccd056 Comment out code in executors during the transition to the new API framework. The code is being left around for reference during testing/debugging of the new framework and will be removed in the future. 2010-09-17 11:13:29 -07:00
nit
f5ac46255c bug 4286: Schema changes to include the upload table, Introducing extractIso command and extractVolume command 2010-09-15 17:51:42 +05:30
Kris McQueen
df10af0688 cleaning up imports, fixing up some compilation problems related to API refactoring 2010-09-13 15:25:46 -07:00
Alex Huang
7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
Manuel Amador (Rudd-O)
05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00