ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stoa...@apache.org
Subject [19/51] [abbrv] ambari git commit: Update and UpdateItem audit event creators
Date Thu, 24 Mar 2016 12:08:51 GMT
Update and UpdateItem audit event creators


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

Branch: refs/heads/audit_logging
Commit: 872f85c1fc064703e6d1472421cdc91824aeccda
Parents: 5f7cada
Author: Daniel Gergely <dgergely@hortonworks.com>
Authored: Wed Feb 24 17:22:08 2016 +0100
Committer: Toader, Sebastian <stoader@hortonworks.com>
Committed: Thu Mar 24 13:06:47 2016 +0100

----------------------------------------------------------------------
 .../org/apache/ambari/server/controller/ControllerModule.java    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/872f85c1/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
index 4c2992a..0d7128d 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
@@ -60,6 +60,8 @@ import org.apache.ambari.server.audit.request.eventcreator.ConfigurationChangeEv
 import org.apache.ambari.server.audit.request.eventcreator.DefaultEventCreator;
 import org.apache.ambari.server.audit.request.eventcreator.ComponentEventCreator;
 import org.apache.ambari.server.audit.request.eventcreator.ServiceEventCreator;
+import org.apache.ambari.server.audit.request.eventcreator.UpgradeEventCreator;
+import org.apache.ambari.server.audit.request.eventcreator.UpgradeItemEventCreator;
 import org.apache.ambari.server.audit.request.eventcreator.UserEventCreator;
 import org.apache.ambari.server.audit.request.eventcreator.ViewInstanceEventCreator;
 import org.apache.ambari.server.audit.request.eventcreator.ViewPrivilegeEventCreator;
@@ -426,6 +428,8 @@ public class ControllerModule extends AbstractModule {
     auditLogEventCreatorBinder.addBinding().to(AlertGroupEventCreator.class);
     auditLogEventCreatorBinder.addBinding().to(AlertTargetEventCreator.class);
     auditLogEventCreatorBinder.addBinding().to(HostEventCreator.class);
+    auditLogEventCreatorBinder.addBinding().to(UpgradeEventCreator.class);
+    auditLogEventCreatorBinder.addBinding().to(UpgradeItemEventCreator.class);
 
     bind(RequestAuditLogger.class).to(RequestAuditLoggerImpl.class);
   }


Mime
View raw message