cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 448bb79
Date Thu, 30 Oct 2014 09:41:38 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master c78f14cbc -> 448bb7974


CLOUDSTACK-7767: fixed events are not generated for snapshot creation


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d8b46b81
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d8b46b81
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d8b46b81

Branch: refs/heads/master
Commit: d8b46b81b946672ab6836f13ea0389cee63321d8
Parents: c78f14c
Author: Anshul Gangwar <anshul.gangwar@citrix.com>
Authored: Tue Oct 28 11:49:30 2014 +0530
Committer: Anshul Gangwar <anshul.gangwar@citrix.com>
Committed: Thu Oct 30 13:25:06 2014 +0530

----------------------------------------------------------------------
 server/src/com/cloud/storage/VolumeApiServiceImpl.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d8b46b81/server/src/com/cloud/storage/VolumeApiServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/VolumeApiServiceImpl.java b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
index b70d753..64cc2f4 100644
--- a/server/src/com/cloud/storage/VolumeApiServiceImpl.java
+++ b/server/src/com/cloud/storage/VolumeApiServiceImpl.java
@@ -1828,6 +1828,7 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
     }
 
     @Override
+    @ActionEvent(eventType = EventTypes.EVENT_SNAPSHOT_CREATE, eventDescription = "taking
snapshot", async = true)
     public Snapshot takeSnapshot(Long volumeId, Long policyId, Long snapshotId, Account account,
boolean quiescevm) throws ResourceAllocationException {
 
         VolumeInfo volume = volFactory.getVolume(volumeId);
@@ -1914,6 +1915,7 @@ public class VolumeApiServiceImpl extends ManagerBase implements VolumeApiServic
     }
 
     @Override
+    @ActionEvent(eventType = EventTypes.EVENT_SNAPSHOT_CREATE, eventDescription = "allocating
snapshot", create = true)
     public Snapshot allocSnapshot(Long volumeId, Long policyId) throws ResourceAllocationException
{
         Account caller = CallContext.current().getCallingAccount();
 


Mime
View raw message