Commit Graph

54 Commits

Author SHA1 Message Date
Alex Huang e22e58b583 Added RAT 2013-06-25 04:18:40 -07:00
Alex Huang 7b7db0560c merge is complete 2013-06-24 16:50:31 -07:00
Kelven Yang 340e1da4c4 Fix test cases in OSS build caused by CallContext changes 2013-06-20 18:03:08 -07:00
Alex Huang 3a074f31ae Removed a bunch of useless classes. Move configuration into utils package 2013-06-17 17:04:04 -07:00
Alex Huang aad2bc78c1 Completely Isolated job manager from user 2013-06-17 17:04:03 -07:00
Alex Huang ea6ca5ff5c Removed AsyncJobConstant 2013-06-17 17:04:01 -07:00
Alex Huang aff0220d45 Moved files into cloud-engine 2013-06-13 16:34:41 -07:00
Kelven Yang 39dd4bd26b Manage active job in run numbers 2013-06-12 14:29:44 -07:00
Kelven Yang f2717207aa Fix several assert revealed bugs 2013-06-12 09:45:06 -07:00
Alex Huang ad1c82fdda Removed unused stuff from virtualmachinemanager 2013-06-11 13:15:23 -07:00
Alex Huang 5e6d2cf559 Fixed the start 2013-06-07 10:11:57 -07:00
Kelven Yang 90df846adb Fix CallContext NDC cleanup problem 2013-06-06 17:52:21 -07:00
Kelven Yang 3327371f97 Add unit test back for async-job after job project structure re-org 2013-06-04 17:16:12 -07:00
Alex Huang 1c78396ae2 Completely removed the generic type from VirtualMachineProfile 2013-05-18 10:05:09 -07:00
Kelven Yang a681a7efe5 more job wakeup improvements 2013-05-09 19:52:09 -07:00
Kelven Yang 4d316addac prepare wakeup support to job-joining 2013-05-08 18:09:01 -07:00
Kelven Yang a10049e4e8 Add pseudo job to support VM operations that are initiated from system threads outside job pool 2013-05-08 15:18:26 -07:00
Kelven Yang 006b2f8ed8 add support to job joining 2013-05-07 13:26:37 -07:00
Kelven Yang a8a09ba287 hook-up new sync with VirtualMachineGuru(s) 2013-05-06 10:01:46 -07:00
Kelven Yang 7de2af9457 Unit test to job heartbeat on message bus 2013-05-01 22:51:10 -07:00
Kelven Yang 9e4ebdd8b3 Add job monitor to help manage system concurrent level 2013-05-01 22:45:27 -07:00
Kelven Yang 17930685e4 Unit tests to VM work scheduling 2013-05-01 16:43:05 -07:00
Kelven Yang 7ad0722b86 Unit test to added method to AsyncJobManager 2013-04-26 13:09:19 -07:00
Kelven Yang f1ba6586b9 Add Predicate and MesageDetector for message bus 2013-04-25 17:57:48 -07:00
Kelven Yang e7d7fb58c5 Some unit test work 2013-04-19 22:01:33 -07:00
Kelven Yang 96ebac1e47 server/test/com/cloud/async/AsyncJobTestConfiguration.java 2013-04-19 21:55:03 -07:00
Brian Spindler 469c4dd139 Removing ^M's from code.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-04 00:53:20 +05:30
Kelven Yang 7b75f0d990 Sync master to javelin one more time 2013-02-01 11:37:33 -08:00
Kishan Kavala 1f57d925eb Apply API refactoring changes. Make changes to Regions API to work with new code 2013-01-25 18:41:59 +05:30
Kelven Yang 6fb1a1e6f1 Fix issues after another round of merge 2013-01-11 16:54:32 -08:00
Alex Huang fac2270240 more files changed 2013-01-10 15:29:14 -08:00
Alex Huang f40e7b7511 removed componentlocator and inject 2013-01-10 11:05:20 -08:00
Kishan Kavala f0f33bf4da Added Mock ApiServer, Regions API calls with api keys 2012-10-17 14:16:36 +05:30
Alena Prokharchyk 339aa41442 CLOUDSTACK-304: Synchronization support for createSnapshot command - don't sent more than "concurrent.snapshots.threshold.perhost" createSnapshots commands to the backend host.
Conflicts:

	core/src/com/cloud/async/AsyncJobVO.java
	core/src/com/cloud/async/SyncQueueVO.java
	server/src/com/cloud/api/ApiDispatcher.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/async/AsyncJobManagerImpl.java
	server/src/com/cloud/async/SyncQueueManager.java
	server/src/com/cloud/async/SyncQueueManagerImpl.java
	server/src/com/cloud/async/dao/SyncQueueDao.java
	server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java
	server/test/com/cloud/async/TestSyncQueueManager.java
	setup/db/create-schema.sql
2012-10-10 13:40:00 -07:00
David Nalley e87558256c Patch from Chip Childers
https://reviews.apache.org/r/5704/
License header updates for the server folder
2012-07-02 09:51:21 -04:00
David Nalley 59436be4ee fixing line endings in server 2012-04-07 20:13:10 -04:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
alena a1331d1cfc Intermidiate checkin to Project feature:
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
alena 9be9a970c9 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-06 16:57:19 -07:00
Frank 92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
Alex Huang 2230c24ab3 check in changes from 2.2.4 2011-04-05 11:01:35 -07:00
Alex Huang 075fba5899 stackmaid is now taskmanager 2011-04-05 10:17:22 -07: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