diff options
author | uj426b <uj426b@att.com> | 2019-11-01 14:42:28 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-11-04 15:35:55 +0000 |
commit | a61c10945456dde51397d354379257c7d0d01fb2 (patch) | |
tree | d3d27e67b08f0ec451a174aee32347bf33134b54 /POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController | |
parent | 46b5b531eada52e963f9ca196473a6c1bd8cbf37 (diff) |
Fixed Sonar issues for Console Logs
Issue-ID: POLICY-2153
Change-Id: Id21a9dd4910ff0c831e49a1539f130ade1779577
Signed-off-by: utkarshJ <uj426b@att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController')
-rw-r--r-- | POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSHeaderDefaultValuesDictGridController.js | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSHeaderDefaultValuesDictGridController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSHeaderDefaultValuesDictGridController.js index 4e6b9696b..e12db92c7 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSHeaderDefaultValuesDictGridController.js +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryGridController/MSHeaderDefaultValuesDictGridController.js @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ - * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2018, 2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,51 +23,31 @@ app.controller('msHeaderDefaultValuesDictGridController', function ($scope, Poli PolicyAppService.getData('getDictionary/get_MicroServiceHeaderDefaultsData').then(function (data) { var j = data; $scope.data = JSON.parse(j.data); - console.log($scope.data); $scope.microServiceHeaderDefaultDatas = JSON.parse($scope.data.microServiceHeaderDefaultDatas); - console.log("microServiceHeaderDefaultDatas: " + $scope.microServiceHeaderDefaultDatas); - }, function (error) { - console.log("failed"); }); PolicyAppService.getData('getDictionary/get_MicroServiceModelsDataByName').then(function (data) { var j = data; $scope.data = JSON.parse(j.data); - console.log($scope.data); $scope.microServiceModelsDictionaryDatas = JSON.parse($scope.data.microServiceModelsDictionaryDatas); - console.log($scope.microServiceModelsDictionaryDatas); - }, function (error) { - console.log("failed"); }); PolicyAppService.getData('getDictionary/get_RiskTypeDataByName').then(function (data) { var j = data; $scope.data = JSON.parse(j.data); - console.log("riskTypeDictionaryDatas: " + $scope.data); $scope.riskTypeDictionaryDatas = JSON.parse($scope.data.riskTypeDictionaryDatas); - console.log($scope.riskTypeDictionaryDatas); - }, function (error) { - console.log("failed"); }); PolicyAppService.getData('getDictionary/get_OnapNameDataByName').then(function (data) { var j = data; $scope.data = JSON.parse(j.data); - console.log($scope.data); $scope.onapNameDictionaryDatas = JSON.parse($scope.data.onapNameDictionaryDatas); - console.log($scope.onapNameDictionaryDatas); - }, function (error) { - console.log("failed"); }); PolicyAppService.getData('get_DCAEPriorityValues').then(function (data) { var j = data; $scope.data = JSON.parse(j.data); - console.log($scope.data); $scope.priorityDatas = JSON.parse($scope.data.priorityDatas); - console.log($scope.priorityDatas); - }, function (error) { - console.log("failed"); }); PolicyAppService.getData('get_LockDownData').then(function(data){ @@ -81,8 +61,6 @@ app.controller('msHeaderDefaultValuesDictGridController', function ($scope, Poli $scope.msHeaderDefaultValuesDictionaryGrid.columnDefs[0].visible = true; $scope.gridApi.grid.refresh(); } - },function(error){ - console.log("failed"); }); $scope.msHeaderDefaultValuesDictionaryGrid = { @@ -116,7 +94,6 @@ app.controller('msHeaderDefaultValuesDictGridController', function ($scope, Poli } }); modalInstance.result.then(function(response){ - console.log('response', response); $scope.microServiceHeaderDefaultDatas=response.microServiceHeaderDefaultDatas; }); }; @@ -137,7 +114,6 @@ app.controller('msHeaderDefaultValuesDictGridController', function ($scope, Poli } }); modalInstance.result.then(function(response){ - console.log('response', response); $scope.modelAttributeDictionaryDataa = response.modelAttributeDictionaryDatas; }); }; @@ -157,7 +133,6 @@ app.controller('msHeaderDefaultValuesDictGridController', function ($scope, Poli $scope.$apply(function(){$scope.microServiceHeaderDefaultDatas=data.microServiceHeaderDefaultDatas;}); }, error : function(data){ - console.log(data); modalService.showFailure("Fail","Error while deleting: "+ data.responseText); } }); |