Repository: ambari Updated Branches: refs/heads/trunk b24836681 -> 044c5eb29
AMBARI-20492. Knox Proxy - Ambari HIVE2.0 view doesn't showup due to Servicecheck issues. (gauravn7) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/044c5eb2 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/044c5eb2 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/044c5eb2 Branch: refs/heads/trunk Commit: 044c5eb29f5670cf8a3e8a8d1847bb5a3d090816 Parents: b248366 Author: Gaurav Nagar <[email protected]> Authored: Mon Mar 20 11:50:17 2017 +0530 Committer: Gaurav Nagar <[email protected]> Committed: Mon Mar 20 11:50:17 2017 +0530 ---------------------------------------------------------------------- contrib/views/hive20/src/main/resources/ui/app/index.html | 2 +- .../hive20/src/main/resources/ui/app/services/tez-view-info.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/044c5eb2/contrib/views/hive20/src/main/resources/ui/app/index.html ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/index.html b/contrib/views/hive20/src/main/resources/ui/app/index.html index cc9141f..57179d8 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/index.html +++ b/contrib/views/hive20/src/main/resources/ui/app/index.html @@ -36,7 +36,7 @@ {{content-for "body"}} <script src="assets/vendor.js"></script> - <script src="assets/ui.js"></script> + <script src="assets/ui.js" integrity=""></script> {{content-for "body-footer"}} </body> http://git-wip-us.apache.org/repos/asf/ambari/blob/044c5eb2/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js b/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js index 02cc5af..2c0493e 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js +++ b/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js @@ -20,7 +20,8 @@ import Ember from 'ember'; export default Ember.Service.extend({ tezViewURL: null, - tezApiURL: '/api/v1/views/TEZ', + // replace used to avoid slash duplication by proxy + tezApiURL: '/api/v1/views/TEZ'.replace(/^\/\//, '/'), tezURLPrefix: '/views/TEZ', tezDagPath: '?viewPath=/#/dag/', getTezViewInfo: function () {
