You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2013/10/03 14:01:30 UTC

git commit: AMBARI-3444. Refreshing page on steps "Initialize JournalNodes"/"Initialize Metadata" of HA wizard returns to previous step with all steps completed. (alexantonenko)

Updated Branches:
  refs/heads/branch-1.4.1 a7e53faa0 -> 0bc3b087e


AMBARI-3444. Refreshing page on steps "Initialize JournalNodes"/"Initialize Metadata" of HA wizard returns to previous step with all steps completed. (alexantonenko)


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

Branch: refs/heads/branch-1.4.1
Commit: 0bc3b087e6d060b27b5d67ab7d99bd9e4b50f77d
Parents: a7e53fa
Author: Alex Antonenko <hi...@gmail.com>
Authored: Thu Oct 3 14:29:09 2013 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Thu Oct 3 14:29:09 2013 +0300

----------------------------------------------------------------------
 ambari-web/app/routes/high_availability_routes.js | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/0bc3b087/ambari-web/app/routes/high_availability_routes.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/high_availability_routes.js b/ambari-web/app/routes/high_availability_routes.js
index a9631fe..38197a3 100644
--- a/ambari-web/app/routes/high_availability_routes.js
+++ b/ambari-web/app/routes/high_availability_routes.js
@@ -213,6 +213,12 @@ module.exports = Em.Route.extend({
       var controller = router.get('highAvailabilityWizardController');
       controller.setCurrentStep('6');
       controller.setLowerStepsDisable(6);
+      App.clusterStatus.setClusterStatus({
+        clusterName: this.get('content.cluster.name'),
+        clusterState: 'HIGH_AVAILABILITY_DEPLOY',
+        wizardControllerName: this.get('content.controllerName'),
+        localdb: App.db.data
+      });
       controller.dataLoading().done(function () {
         controller.loadAllPriorSteps();
         controller.connectOutlet('highAvailabilityWizardStep6',  controller.get('content'));
@@ -253,6 +259,12 @@ module.exports = Em.Route.extend({
       var controller = router.get('highAvailabilityWizardController');
       controller.setCurrentStep('8');
       controller.setLowerStepsDisable(8);
+      App.clusterStatus.setClusterStatus({
+        clusterName: this.get('content.cluster.name'),
+        clusterState: 'HIGH_AVAILABILITY_DEPLOY',
+        wizardControllerName: this.get('content.controllerName'),
+        localdb: App.db.data
+      });
       controller.dataLoading().done(function () {
         controller.loadAllPriorSteps();
         controller.connectOutlet('highAvailabilityWizardStep8',  controller.get('content'));