incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-3444. Refreshing page on steps "Initialize JournalNodes"/"Initialize Metadata" of HA wizard returns to previous step with all steps completed. (alexantonenko)
Date Thu, 03 Oct 2013 12:01:59 GMT
Updated Branches:
  refs/heads/trunk 7e538964c -> 0ddb963ea


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/0ddb963e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/0ddb963e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/0ddb963e

Branch: refs/heads/trunk
Commit: 0ddb963ea9312e26eba2b45ca1732441a4b6eae7
Parents: 7e53896
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Oct 3 14:25:40 2013 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Thu Oct 3 14:25:40 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/0ddb963e/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'));


Mime
View raw message