ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbhowm...@apache.org
Subject ambari git commit: AMBARI-17360. IE browser fetches Hive view API call results from browser cache, hence does not update the query status. (dipayanb)
Date Thu, 23 Jun 2016 05:32:14 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 80defcd4f -> 5d70458ea


AMBARI-17360. IE browser fetches Hive view API call results from browser cache, hence does
not update the query status. (dipayanb)


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

Branch: refs/heads/trunk
Commit: 5d70458ea30784700cdea19facca146ef388f271
Parents: 80defcd
Author: Dipayan Bhowmick <dipayan.bhowmick@gmail.com>
Authored: Wed Jun 22 14:21:57 2016 +0530
Committer: Dipayan Bhowmick <dipayan.bhowmick@gmail.com>
Committed: Thu Jun 23 11:01:52 2016 +0530

----------------------------------------------------------------------
 .../main/resources/ui/hive-web/app/adapters/application.js   | 8 ++++++++
 .../main/resources/ui/hive-web/app/adapters/application.js   | 8 ++++++++
 2 files changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5d70458e/contrib/views/hive-next/src/main/resources/ui/hive-web/app/adapters/application.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/adapters/application.js
b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/adapters/application.js
index 34caa8a..2c68b89 100644
--- a/contrib/views/hive-next/src/main/resources/ui/hive-web/app/adapters/application.js
+++ b/contrib/views/hive-next/src/main/resources/ui/hive-web/app/adapters/application.js
@@ -17,9 +17,17 @@
  */
 
 import DS from 'ember-data';
+import Ember from 'ember';
 import constants from 'hive/utils/constants';
 
 export default DS.RESTAdapter.extend({
+
+  init: function() {
+    Ember.$.ajaxSetup({
+      cache: false
+    })
+  },
+
   headers: {
     'X-Requested-By': 'ambari',
     'Content-Type': 'application/json'

http://git-wip-us.apache.org/repos/asf/ambari/blob/5d70458e/contrib/views/hive/src/main/resources/ui/hive-web/app/adapters/application.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/adapters/application.js
b/contrib/views/hive/src/main/resources/ui/hive-web/app/adapters/application.js
index 34caa8a..2c68b89 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/adapters/application.js
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/adapters/application.js
@@ -17,9 +17,17 @@
  */
 
 import DS from 'ember-data';
+import Ember from 'ember';
 import constants from 'hive/utils/constants';
 
 export default DS.RESTAdapter.extend({
+
+  init: function() {
+    Ember.$.ajaxSetup({
+      cache: false
+    })
+  },
+
   headers: {
     'X-Requested-By': 'ambari',
     'Content-Type': 'application/json'


Mime
View raw message