From 6496c7b9e9fd9131fd100268f28b8e8a6cffb0f6 Mon Sep 17 00:00:00 2001 From: seshukm Date: Thu, 20 Apr 2017 18:48:41 +0530 Subject: VNF Market place issues fix IssueId : CLIENT-189 Change-Id: I906c13df2cde6509099407f2150a5a15d9ee708a Signed-off-by: seshukm --- .../vnfmarket/app/modules/home/serviceDetails/serviceDetailsCtrl.js | 3 ++- vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js | 4 ++-- vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js | 6 ++++-- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'vnfmarket/src/main/webapp') diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceDetails/serviceDetailsCtrl.js b/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceDetails/serviceDetailsCtrl.js index 95da6bf7..466ab412 100644 --- a/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceDetails/serviceDetailsCtrl.js +++ b/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceDetails/serviceDetailsCtrl.js @@ -46,7 +46,8 @@ } vm.service = $stateParams.serviceDetails; - vm.service.funcTestReportUrl = baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + vm.service.report; + //ses vm.service.funcTestReportUrl = baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + vm.service.report; + vm.service.funcTestReportUrl = vm.service.report; vm.downloadService = function(csarId) { homeService.updateDownloadCount(csarId).then(function(response){ diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js b/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js index c4836889..72b9f5a9 100644 --- a/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js +++ b/vnfmarket/src/main/webapp/vnfmarket/common/config/baseUrlConfig.js @@ -28,8 +28,8 @@ .module('vnfmarket') .constant("baseUrlConfig", { "common": { - "ip" : "http://127.0.0.1", - "port" : "8080" + "ip" : "", //ses + "port" : "" //ses } }) })(); \ No newline at end of file diff --git a/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js b/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js index 51b64348..3141a1f4 100644 --- a/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js +++ b/vnfmarket/src/main/webapp/vnfmarket/common/services/httpService.js @@ -39,7 +39,8 @@ var defer = $q.defer() $http({ method: method, - url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url, + //ses url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url, + url:url, data: data, headers: headers }).then(function successCallback(response) { @@ -73,7 +74,8 @@ var defer = $q.defer() $http({ method: method, - url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url, + //ses url: baseUrlConfig.common.ip + ":" + baseUrlConfig.common.port + url, + url:url, data: data, headers: headers, transformRequest: angular.identity, -- cgit 1.2.3-korg