Commit Graph

53 Commits

Author SHA1 Message Date
Kelven Yang 824f0586f7 Add manager context to CleanupMaid to allow management service access in cleanup() method 2011-05-02 18:28:38 -07:00
alena 11ef6bbbe2 bug 9638: fixed bunch of DB upgrade bugs
status 9638: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	utils/src/com/cloud/utils/net/NetUtils.java
2011-04-28 18:30:40 -07:00
Kelven Yang 814fe02c59 Recalculate and update host used capacity (mem & cpu) in upgrade (2.1.x to 2.2.y)
Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-04-28 10:11:01 -07:00
alena 485f7a10cc bug 9621: dbUpgrade - set reservation strategy to be Create for Guest Nics in Basic zone
status 9621: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade218to22.java
	setup/db/db/schema-222to224.sql
2011-04-27 22:51:56 -07:00
alena afa7d3f34d bug 9563: fixed DB upgrade from 2.2.2/2.2.3 to 2.2.4
status 9563: resolved fixed

Also added unittest for 2.2.2 to 2.2.4 upgrade

Conflicts:

	setup/db/db/schema-222to224.sql
2011-04-23 23:05:42 -07:00
Kelven Yang 6ed18b5583 Add keystore management and related JUNIT test case 2011-04-19 16:20:06 -07:00
Frank 92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
anthony 288a36d09f Merge branch '2.2.4'
Conflicts:
	api/src/com/cloud/configuration/ConfigurationService.java
	core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-21to22.sql
	setup/db/db/schema-222to224.sql
	utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -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
Alex Huang 04099a4950 bug 9311: changed instance_id to nic_id 2011-04-05 09:12:55 -07:00
Alex Huang 7ce3e22d36 bug 9259: added upgrade test suite 2011-04-01 17:01:53 -04:00
Alex Huang 8b34065623 bug 9259: added upgrade test suite 2011-04-01 10:32:23 -07:00
kishan 7f08061e72 Added missing semi-colon and corrected usage unit test error messages 2011-04-01 12:06:52 +05:30
kishan 9a29e1d926 Added missing semi-colon and corrected usage unit test error messages 2011-03-31 18:16:44 +05:30
kishan e276d3b7fb bug 7631: Convert unprocessed events to usage_events
status 7631: resolved fixed
2011-03-30 11:19:04 +05:30
kishan f06972b180 bug 7631: Convert unprocessed events to usage_events
status 7631: resolved fixed
2011-03-30 11:09:21 +05:30
alena 92f01ba143 2.1.x to 2.2.2 upgrade for Domain level vlans 2011-03-25 15:23:18 -07:00
Alex Huang 109c4eae0e restarting domr is close to working 2011-03-21 17:56:00 -07:00
alena abb2e2b2ff bug 8831: partial checkin for Domain specific Networks (includes DB changes) 2011-03-21 15:05:07 -07:00
alena 505848bbbe Fixed unittest 2011-03-21 10:29:11 -07:00
Alex Huang d7e0f8dcc1 db upgrade 2011-03-19 10:33:13 -07:00
Alex Huang 82f7504832 checking in the upgrade stuff for now 2011-03-19 09:27:10 -07:00
alena 10077be555 DB upgrade for LB rules 2011-03-17 11:52:23 -07:00
Alex Huang b18b2a68b1 fixed unit test 2011-03-17 10:40:59 -07:00
alena 7eb20f8133 DB upgrade for port forwarding rules 2011-03-16 18:19:02 -07:00
Alex Huang 8bec1e0b9f added the concept of system integrity checking before a system starts 2011-03-16 17:59:34 -07:00
Alex Huang b6f4ff33ca domr upgraded 2011-03-11 16:53:01 -08:00
alena e25fbe3a89 bug 8885: enableAccount - account/domainID are required parameters now
status 8885: resolved fixed
2011-03-09 09:31:39 -08:00
alena a50950bbef 221 to 222 DB upgrade for InstanceGroup. Unit test is included 2011-03-09 08:34:08 -08:00
anthony c013d0a6c6 fixed unit test 2011-03-08 20:04:28 -08:00
anthony 5781aafdcb fixed upgrade unittest 2011-03-08 18:24:11 -08:00
alena fe267c2cb2 Basic zone 221 to 222 DB upgrade. Unit test is included 2011-03-08 15:32:55 -08:00
Alex Huang f7ea6e17cd break upgrade fix upgrade 2011-03-04 18:07:26 -08:00
Alex Huang 40db230095 more changes for db upgrade 2011-03-04 11:09:24 -08:00
Alex Huang d0a5816999 Added Premium upgrade 2011-03-01 23:47:36 -08:00
Alex Huang e3438d2ff0 upgrade data center is done. 2011-02-28 17:59:02 -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 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