Alex Huang
1e1ee902a2
Moved over the new jobs framework from vmsync. This has not been integrated into the server package yet. Will do that next
2013-07-30 15:00:58 -07:00
Alex Huang
111febc567
Fixed up the rest of the management server code that calls clustermanager
2013-07-25 19:57:45 -07:00
Alex Huang
9aaa378b08
Moved ClusterManager into it's own package. Removed the agent load balancing code.
2013-07-25 19:00:26 -07:00
ahuang
11971b5a58
Bring over from vmsync changes in utils package. Simple changes. New files are not being used yet in master
2013-07-17 18:29:42 -07:00
ahuang
11e1e585b1
UserContext switched to CallContext. Added generic storage mechanism for other code to carry information throughout a call. Made the calling User and Account a must have. Added an interface to carry entities in error. Fixed up the code. Part of the vmsync branch
2013-07-16 11:24:21 -07:00
Sanjay Tripathi
2e8d16b365
CLOUDSTACK-1047: tracking in logs using job id.
2013-07-11 10:41:39 +05:30
Ryan Dietrich
70f33efa72
CLOUDSTACK-3190: Async jobs actions now trigger event bus messages to be
...
published
-AsyncJobManagerImpl to publish async job events when async jobs are
created, updated and completed
2013-07-05 17:48:25 +05:30
Alex Huang
bec53fb59a
VMSync: Separating jobs from api
2013-07-03 11:22:40 -07:00
Alena Prokharchyk
2ecf9e3293
CLOUDSTACK-2680: Async job expunge thread - expunge only:
...
1) Unfinished jobs that are yet to be processed.
2) Completed jobs
The jobs that are in process, will be skipped by the expunge thread
Conflicts:
server/src/com/cloud/async/dao/AsyncJobDao.java
server/src/com/cloud/async/dao/AsyncJobDaoImpl.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-05-24 15:01:12 -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
176523254e
Improve component lifecycle management with system run-level concept
2013-01-30 15:21:02 -08:00
Alex Huang
10d9c019a9
All merge conflicts resolved
2013-01-18 12:14:57 -08:00
Min Chen
3dabd5fbf3
Clean up ApiServer, ApiServlet and ApiDispatcher flow to handle various CloudRuntimeException
...
and CloudException in one place, and Introduced ApiErrorCode to handle CloudStack API error
code to standard Http code mapping.
Signed-off-by: Min Chen <min.chen@citrix.com>
2013-01-16 22:36:34 -08:00
Kelven Yang
497dcd5044
Get rid of PlugService annotation, replace it with Spring standard injection in command classes
2013-01-16 18:44:44 -08:00
Alex Huang
56e5fbdee2
removed import of componentlocator and inject from all files
2013-01-10 11:44:47 -08:00
Alex Huang
0bcb64605f
all built with the latest
2013-01-09 05:02:39 -08:00
Kelven Yang
b274c570f9
Cleanup places that use explicit wiring of the components
2013-01-08 17:45:33 -08:00
Alex Huang
30f2565d98
Merge branch 'api_refactoring' into javelin
2013-01-08 12:36:04 -08:00
Rohit Yadav
e398b1e47a
api: Refactor command and response classes to org.apache.cloudstack.api.*
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 19:23:24 -08:00
Rohit Yadav
af28c06998
api: move and group all under command, org.apache.cloudstack.command.*
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 18:30:54 -08:00
Rohit Yadav
b673c21174
api_refactor: refactor job (async jobs) apis
...
- Fix refactored apis, mappings in commands*.in
- Fix comments etc.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-04 00:12:17 -08:00
Rohit Yadav
6fc3bc3760
api_refactor: refactor vpn and vm apis
...
- Refactor VPN and VM APIs to admin and user pkgs
- Names space, org.apache.cloudstack
- Fix refactored apis in commands*.in
- Fix comments etc.
- Expand tabs, remove trailing whitespace
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-03 21:27:02 -08:00
Kelven Yang
aab02e2743
Add Spring annotation to major components
2012-11-07 14:53:39 -08:00
Alena Prokharchyk
013102c028
CS-16611: when expunge Async job, expunge corresponding sync queue items
...
Conflicts:
server/src/com/cloud/async/AsyncJobManagerImpl.java
server/src/com/cloud/async/dao/SyncQueueItemDao.java
2012-11-02 10:51:29 -07:00
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
Mice Xia
5532f58bbc
remove cloud.com license headers
2012-09-13 12:34:32 +08: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
Alex Huang
7c6932ef80
some reformatting and a new way to get vos into the system
2012-04-12 11:04:38 -07: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
kishan
08df288bf5
Bug 13175: Fixed typos. minotoring instead of monitoring, assignbed instead of assigned
...
Status 13175: resolved fixed
Reviewed-By: Nitin
2012-01-30 14:31:48 +05:30
Alena Prokharchyk
83400cd15f
bug 12776: if there are multiple objects involved in resource creation, verify that they belong to the same account
...
status 12776: resolved fixed
2012-01-17 13:40:37 -08:00
Alena Prokharchyk
c581506103
bug 12306: list* command revamp
2012-01-09 10:07:42 -08:00
Alena Prokharchyk
28913c791b
bug 11626: return same fields in queryAsyncJobResult and listAsyncJobs API commands
...
status 11626: resolved fixed
2011-12-09 16:50:08 -08:00
Alena Prokharchyk
7ea6082f22
PhysicalNetworkId is not required in listNetworkServiceProvider call
2011-11-29 10:47:03 -08:00
Kelven Yang
8d8775b533
bug 6745: Using UUID instead of integers - for Async Jobs
2011-11-03 07:33:58 -07:00
alena
41be3716e3
bug 11196: fixed the code when gson serialization was done twice
...
status 11196: resolved fixed
2011-08-29 14:50:18 -07:00
alena
e3f179844e
bug 11236: domainAdmin/regularUser can edit/delete/copy/extract Public template/iso only if it was created by them. They still can use/see public template/iso when execute list/deploy/attachIso commands. Root admin can operate with other people templates w/o any restrictions.
...
status 11236: resolved fixed
2011-08-24 14:48:35 -07:00
Kelven Yang
2335fc5be4
bug 10918: cap async-job execution thread pool to be 2/3 of maximum DB connection limit
2011-07-29 18:37:32 -07:00
Alex Huang
d140ca7555
Fixes the issue where the Job-Executor can hit an exception in cleanup and eventually the entire executor pool is gone.
2011-06-02 09:54:34 -07:00
alena
b5aabfab75
bug 9898: fixed attachIso by domain admin - no need to make permission check when iso is public
...
status 9898: resolved fixed
2011-05-17 11:11:13 -07:00
alena
a4619c8347
bug 9859: added missing permission checks to queryAsyncJobResult API
...
status 9859: resolved fixed
Conflicts:
server/src/com/cloud/async/AsyncJobManagerImpl.java
2011-05-13 14:03:12 -07:00
alena
1a6d78eae4
Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions)
2011-04-21 16:26:53 -07:00
Kelven Yang
1b9cbd9166
bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing
2011-04-13 15:13:54 -07:00
Alex Huang
075fba5899
stackmaid is now taskmanager
2011-04-05 10:17:22 -07:00
Kelven Yang
65d4cc98be
Allow template re-deployment once template is deleted from hypervisor and CloudStack still holds out-dated status
2011-03-17 17:59:51 -07:00
Kelven Yang
6203ba6bfe
bug 8558: improve cluster management
2011-03-09 17:18:48 -08:00
Kelven Yang
33b3333d65
Add JMX support to async job management, active job details will be checked in jConsole
2011-03-08 16:34:17 -08:00
Kelven Yang
2f5bacf980
bug 8768: merge fix in 2.2.2 to master
2011-02-28 15:59:21 -08:00
Kelven Yang
1d8eab2a11
Let reset job description to be in API standard
2011-02-22 17:40:05 -08:00