ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srima...@apache.org
Subject git commit: AMBARI-5568. Security wizard freezes on the last step. (jaimin via srimanth)
Date Thu, 24 Apr 2014 23:36:39 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 1830dcf6d -> ed6aaaf73


AMBARI-5568. Security wizard freezes on the last step. (jaimin via srimanth)


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

Branch: refs/heads/trunk
Commit: ed6aaaf73e349b9dadc6a0047d862e82ee3491d0
Parents: 1830dcf
Author: Srimanth Gunturi <sgunturi@hortonworks.com>
Authored: Thu Apr 24 16:36:17 2014 -0700
Committer: Srimanth Gunturi <sgunturi@hortonworks.com>
Committed: Thu Apr 24 16:36:17 2014 -0700

----------------------------------------------------------------------
 .../app/controllers/main/admin/security/add/step4.js   | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ed6aaaf7/ambari-web/app/controllers/main/admin/security/add/step4.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/security/add/step4.js b/ambari-web/app/controllers/main/admin/security/add/step4.js
index 7f54332..b94f441 100644
--- a/ambari-web/app/controllers/main/admin/security/add/step4.js
+++ b/ambari-web/app/controllers/main/admin/security/add/step4.js
@@ -382,6 +382,19 @@ App.MainAdminSecurityAddStep4Controller = App.MainAdminSecurityProgressControlle
     return true;
   },
 
+  deleteComponents: function(componentName, hostName) {
+    App.ajax.send({
+      name: 'admin.delete_component',
+      sender: this,
+      data: {
+        componentName: componentName,
+        hostName: hostName
+      },
+      success: 'onDeleteComplete',
+      error: 'onDeleteError'
+    });
+  },
+
   onDeleteComplete: function () {
     var deleteAtsCommand = this.get('commands').findProperty('name', 'DELETE_ATS');
     console.warn('APP_TIMELINE_SERVER doesn\'t support security mode. It has been removed
from YARN service ');


Mime
View raw message