ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pallav...@apache.org
Subject ambari git commit: AMBARI-17398. FilesView: Adopt front-end assets to support proxy (pallavkul)
Date Tue, 28 Jun 2016 17:50:41 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 c2a8ad52a -> 9e609237e


AMBARI-17398. FilesView: Adopt front-end assets to support proxy (pallavkul)


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

Branch: refs/heads/branch-2.4
Commit: 9e609237eaa185a77e03f926c155ed613fe60d26
Parents: c2a8ad5
Author: Pallav Kulshreshtha <pallav.kul@gmail.com>
Authored: Tue Jun 28 23:19:09 2016 +0530
Committer: Pallav Kulshreshtha <pallav.kul@gmail.com>
Committed: Tue Jun 28 23:20:22 2016 +0530

----------------------------------------------------------------------
 .../files/src/main/resources/ui/app/mixins/file-operation.js  | 7 -------
 contrib/views/files/src/main/resources/ui/ember-cli-build.js  | 3 +++
 2 files changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9e609237/contrib/views/files/src/main/resources/ui/app/mixins/file-operation.js
----------------------------------------------------------------------
diff --git a/contrib/views/files/src/main/resources/ui/app/mixins/file-operation.js b/contrib/views/files/src/main/resources/ui/app/mixins/file-operation.js
index 6f4d070..bdf44fa 100644
--- a/contrib/views/files/src/main/resources/ui/app/mixins/file-operation.js
+++ b/contrib/views/files/src/main/resources/ui/app/mixins/file-operation.js
@@ -25,13 +25,6 @@ import Ember from 'ember';
 export default Ember.Mixin.create({
   store: Ember.inject.service('store'),
 
-  getBaseFilesURLPath: function() {
-    // TODO: This has to be changed when it is integrated inside Ambari
-    //var pathName = window.location.pathname;
-    var pathname = '/api/v1/views/FILES/versions/1.0.0/instances/Files/resources/files';
-    return pathname;
-  },
-
   getBaseDirPath: function(path) {
     return path.substring(0, path.lastIndexOf('/') + 1);
   },

http://git-wip-us.apache.org/repos/asf/ambari/blob/9e609237/contrib/views/files/src/main/resources/ui/ember-cli-build.js
----------------------------------------------------------------------
diff --git a/contrib/views/files/src/main/resources/ui/ember-cli-build.js b/contrib/views/files/src/main/resources/ui/ember-cli-build.js
index ab684c4..88089fb 100644
--- a/contrib/views/files/src/main/resources/ui/ember-cli-build.js
+++ b/contrib/views/files/src/main/resources/ui/ember-cli-build.js
@@ -27,6 +27,9 @@ module.exports = function(defaults) {
       paths: [
         'bower_components/bootstrap/less'
       ]
+    },
+    fingerprint: {
+      enabled: false
     }
   });
 


Mime
View raw message