ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [21/28] ambari git commit: AMBARI-20121. Hue Migration Tool: param values getting cached. (Ishan Bhatt via gauravn7)
Date Fri, 03 Mar 2017 18:04:08 GMT
AMBARI-20121. Hue Migration Tool: param values getting cached. (Ishan Bhatt via gauravn7)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: b065b37339ec21a22c969b44bff70e172b3f84f6
Parents: 4d92ae8
Author: Gaurav Nagar <grvngr@gmail.com>
Authored: Fri Mar 3 20:53:52 2017 +0530
Committer: Gaurav Nagar <grvngr@gmail.com>
Committed: Fri Mar 3 20:53:52 2017 +0530

----------------------------------------------------------------------
 .../app/routes/home-page/hive-history.js             | 15 ++++++++++++++-
 .../app/routes/home-page/hive-saved-query.js         | 14 ++++++++++++++
 .../app/routes/home-page/pig-job.js                  | 15 ++++++++++++++-
 .../app/routes/home-page/pig-script.js               | 14 ++++++++++++++
 .../app/routes/home-page/pig-udf.js                  | 15 ++++++++++++++-
 .../app/templates/home-page/hive-saved-query.hbs     |  2 +-
 .../app/templates/home-page/pig-job.hbs              |  2 +-
 .../app/templates/home-page/pig-script.hbs           |  2 +-
 .../app/templates/home-page/pig-udf.hbs              |  2 +-
 9 files changed, 74 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-history.js
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-history.js
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-history.js
index 746049d..a2cac91 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-history.js
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-history.js
@@ -21,6 +21,20 @@ import Ember from 'ember';
 
 export default Ember.Route.extend({
 
+  resetController: function(controller, isExiting, transition) {
+    if (isExiting) {
+      this.usernames = [];
+      this.controller.set('username', null);
+      this.controller.set('instancename', null);
+      this.controller.set('startdate', null);
+      this.controller.set('enddate', null);
+      this.controller.set('jobstatus', null);
+      this.controller.set('progressBar', null);
+      this.controller.set('completionStatus', null);
+      this.controller.set('error', null);
+    }
+  },
+
   usernames: [],
 
   model: function() {
@@ -29,7 +43,6 @@ export default Ember.Route.extend({
       usersdetail: store.findAll('usersdetail'),
       hiveinstancedetail: store.findAll('hiveinstancedetail'),
       selections: []
-
     });
 
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-saved-query.js
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-saved-query.js
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-saved-query.js
index 43653e7..d4e2ef3 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-saved-query.js
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/hive-saved-query.js
@@ -19,6 +19,20 @@ import Ember from 'ember';
 
 export default Ember.Route.extend({
 
+  resetController: function(controller, isExiting, transition) {
+    if (isExiting) {
+      this.usernames = [];
+      this.controller.set('username', null);
+      this.controller.set('instancename', null);
+      this.controller.set('startdate', null);
+      this.controller.set('enddate', null);
+      this.controller.set('jobstatus', null);
+      this.controller.set('progressBar', null);
+      this.controller.set('completionStatus', null);
+      this.controller.set('error', null);
+    }
+  },
+
   usernames: [],
 
   model: function() {

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-job.js
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-job.js
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-job.js
index a5409da..a789b02 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-job.js
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-job.js
@@ -19,6 +19,20 @@ import Ember from 'ember';
 
 export default Ember.Route.extend({
 
+  resetController: function(controller, isExiting, transition) {
+    if (isExiting) {
+      this.usernames = [];
+      this.controller.set('username', null);
+      this.controller.set('instancename', null);
+      this.controller.set('startdate', null);
+      this.controller.set('enddate', null);
+      this.controller.set('jobstatus', null);
+      this.controller.set('progressBar', null);
+      this.controller.set('completionStatus', null);
+      this.controller.set('error', null);
+    }
+  },
+
   usernames: [],
 
   model: function() {
@@ -27,7 +41,6 @@ export default Ember.Route.extend({
       usersdetail: store.findAll('usersdetail'),
       piginstancedetail: store.findAll('piginstancedetail'),
       selections: []
-
     });
 
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-script.js
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-script.js
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-script.js
index b1fa481..751997f 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-script.js
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-script.js
@@ -19,6 +19,20 @@ import Ember from 'ember';
 
 export default Ember.Route.extend({
 
+  resetController: function(controller, isExiting, transition) {
+    if (isExiting) {
+      this.usernames = [];
+      this.controller.set('username', null);
+      this.controller.set('instancename', null);
+      this.controller.set('startdate', null);
+      this.controller.set('enddate', null);
+      this.controller.set('jobstatus', null);
+      this.controller.set('progressBar', null);
+      this.controller.set('completionStatus', null);
+      this.controller.set('error', null);
+    }
+  },
+
   usernames: [],
 
   model: function() {

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-udf.js
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-udf.js
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-udf.js
index 0894702..53e153a 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-udf.js
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/routes/home-page/pig-udf.js
@@ -19,6 +19,20 @@ import Ember from 'ember';
 
 export default Ember.Route.extend({
 
+  resetController: function(controller, isExiting, transition) {
+    if (isExiting) {
+      this.usernames = [];
+      this.controller.set('username', null);
+      this.controller.set('instancename', null);
+      this.controller.set('startdate', null);
+      this.controller.set('enddate', null);
+      this.controller.set('jobstatus', null);
+      this.controller.set('progressBar', null);
+      this.controller.set('completionStatus', null);
+      this.controller.set('error', null);
+    }
+  },
+
   usernames: [],
 
   model: function() {
@@ -27,7 +41,6 @@ export default Ember.Route.extend({
       usersdetail: store.findAll('usersdetail'),
       piginstancedetail: store.findAll('piginstancedetail'),
       selections: []
-
     });
 
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-saved-query.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-saved-query.hbs
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-saved-query.hbs
index 28963aa..84c9e6c 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-saved-query.hbs
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/hive-saved-query.hbs
@@ -26,7 +26,7 @@ limitations under the License.
         </font>
       </div>
       <div class="col-sm-3">
-        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select an userName" }}
+        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select a User Name" }}
       </div>
     </div>
     <br>

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-job.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-job.hbs
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-job.hbs
index 1f5cce0..59805458 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-job.hbs
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-job.hbs
@@ -26,7 +26,7 @@ limitations under the License.
         </font>
       </div>
       <div class="col-sm-3">
-        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select an userName" }}
+        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select a User Name" }}
       </div>
     </div>
     <br>

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-script.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-script.hbs
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-script.hbs
index 113ad6e..59ba6a0 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-script.hbs
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-script.hbs
@@ -26,7 +26,7 @@ limitations under the License.
         </font>
       </div>
       <div class="col-sm-3">
-        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select an userName" }}
+        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select a User Name" }}
       </div>
     </div>
     <br>

http://git-wip-us.apache.org/repos/asf/ambari/blob/b065b373/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-udf.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-udf.hbs
b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-udf.hbs
index b2112c8..931eaa5 100644
--- a/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-udf.hbs
+++ b/contrib/views/hueambarimigration/src/main/resources/ui/hueambarimigration-view/app/templates/home-page/pig-udf.hbs
@@ -26,7 +26,7 @@ limitations under the License.
         </font>
       </div>
       <div class="col-sm-3">
-        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select an userName" }}
+        {{ember-selectize content=model.usersdetail  selection=model.selections optionValuePath="content.username"
optionLabelPath="content.username" multiple=true add-value="addSelection" remove-value="removeSelection"
placeholder="Select a User Name" }}
       </div>
     </div>
     <br>


Mime
View raw message