cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [6/7] git commit: updated refs/heads/master to 535ab51
Date Tue, 27 Oct 2015 18:27:40 GMT
CLOUDSTACK-8816 added missing events

added missing events for createUser, updateUser, createAccount apis.


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

Branch: refs/heads/master
Commit: 2c0af1f86716714590a1709987f4ad0bf3c9566b
Parents: 3ff7bf7
Author: Rajani Karuturi <rajani.karuturi@citrix.com>
Authored: Wed Oct 21 10:53:33 2015 +0530
Committer: Rajani Karuturi <rajani.karuturi@citrix.com>
Committed: Mon Oct 26 09:15:33 2015 +0530

----------------------------------------------------------------------
 server/src/com/cloud/user/AccountManagerImpl.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2c0af1f8/server/src/com/cloud/user/AccountManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/user/AccountManagerImpl.java b/server/src/com/cloud/user/AccountManagerImpl.java
index edc8ad8..8f3a1b2 100644
--- a/server/src/com/cloud/user/AccountManagerImpl.java
+++ b/server/src/com/cloud/user/AccountManagerImpl.java
@@ -991,6 +991,10 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager,
M
     }
 
     @Override
+    @ActionEvents({
+        @ActionEvent(eventType = EventTypes.EVENT_ACCOUNT_CREATE, eventDescription = "creating
Account"),
+        @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating
User")
+    })
     public UserAccount createUserAccount(final String userName, final String password, final
String firstName, final String lastName, final String email, final String timezone,
             String accountName, final short accountType, Long domainId, final String networkDomain,
final Map<String, String> details, String accountUUID, final String userUUID) {
 
@@ -1132,6 +1136,7 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager,
M
     }
 
     @Override
+    @ActionEvent(eventType = EventTypes.EVENT_USER_CREATE, eventDescription = "creating User")
     public UserVO createUser(String userName, String password, String firstName, String lastName,
String email, String timeZone, String accountName, Long domainId,
         String userUUID) {
 
@@ -1263,6 +1268,7 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager,
M
     }
 
     @Override
+    @ActionEvent(eventType = EventTypes.EVENT_USER_UPDATE, eventDescription = "updating User")
     public UserAccount updateUser(UpdateUserCmd cmd) {
         Long id = cmd.getId();
         String apiKey = cmd.getApiKey();


Mime
View raw message