You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2015/10/27 14:53:15 UTC

ambari git commit: AMBARI-13581. No Properties for Flume configs in Add Service Wizard. (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk c1312ee78 -> 8c7b9f8fd


AMBARI-13581. No Properties for Flume configs in Add Service Wizard. (akovalenko)


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

Branch: refs/heads/trunk
Commit: 8c7b9f8fdb2bdb9f880c19be120d1e7e7db9ed3b
Parents: c1312ee
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Tue Oct 27 15:38:11 2015 +0200
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Tue Oct 27 15:52:59 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/add_controller.js | 3 ---
 ambari-web/app/routes/add_service_routes.js               | 1 +
 ambari-web/app/routes/installer.js                        | 1 +
 3 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8c7b9f8f/ambari-web/app/controllers/main/service/add_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/add_controller.js b/ambari-web/app/controllers/main/service/add_controller.js
index 5a5366e..6fba1b1 100644
--- a/ambari-web/app/controllers/main/service/add_controller.js
+++ b/ambari-web/app/controllers/main/service/add_controller.js
@@ -123,9 +123,6 @@ App.AddServiceController = App.WizardController.extend(App.AddSecurityConfigs, {
           var self = this;
           var dfd = $.Deferred();
           this.loadKerberosDescriptorConfigs().done(function() {
-            var serviceNames = App.StackService.find().filter(function(s) {
-              return s.get('isSelected') || s.get('isInstalled');
-            }).mapProperty('serviceName');
             self.loadConfigThemes().then(function() {
               dfd.resolve();
             });

http://git-wip-us.apache.org/repos/asf/ambari/blob/8c7b9f8f/ambari-web/app/routes/add_service_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/add_service_routes.js b/ambari-web/app/routes/add_service_routes.js
index aa26565..7286c74 100644
--- a/ambari-web/app/routes/add_service_routes.js
+++ b/ambari-web/app/routes/add_service_routes.js
@@ -136,6 +136,7 @@ module.exports = App.WizardRoute.extend({
       var wizardStep5Controller = router.get('wizardStep5Controller');
       wizardStep5Controller.clearRecommendations(); // Force reload recommendation between steps 1 and 2
       addServiceController.setDBProperty('recommendations', undefined);
+      addServiceController.set('stackConfigsLoaded', false);
       router.transitionTo('step2');
     }
   }),

http://git-wip-us.apache.org/repos/asf/ambari/blob/8c7b9f8f/ambari-web/app/routes/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/installer.js b/ambari-web/app/routes/installer.js
index 013a934..6423b4f 100644
--- a/ambari-web/app/routes/installer.js
+++ b/ambari-web/app/routes/installer.js
@@ -250,6 +250,7 @@ module.exports = Em.Route.extend(App.RouterRedirections, {
         recommendations: undefined,
         masterComponentHosts: undefined
       });
+      controller.set('stackConfigsLoaded', false);
       router.transitionTo('step5');
       console.timeEnd('step4 next');
     }