From f7129016e4371a587d9ff01d43f83aec206184a2 Mon Sep 17 00:00:00 2001 From: surya-huawei Date: Sun, 17 Sep 2017 21:34:01 +0530 Subject: Fix Sonar issues in dashboard module blocker issues in oom-app-overlay * Remove trailing comma in files Issue-Id: CCSDK-87 Change-Id: I23987e141bf9a7a966ebb10feb9050e464bdf189 Signed-off-by: surya-huawei --- .../src/main/webapp/app/oom/cloudify/blueprint-controllers.js | 4 ++-- oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-service.js | 2 +- .../src/main/webapp/app/oom/cloudify/deployment-controllers.js | 4 ++-- .../src/main/webapp/app/oom/cloudify/deployment-service.js | 2 +- oom-app-overlay/src/main/webapp/app/oom/cloudify/execution-service.js | 2 +- .../src/main/webapp/app/oom/consul/datacenter-health-service.js | 2 +- oom-app-overlay/src/main/webapp/app/oom/consul/node-health-service.js | 2 +- .../src/main/webapp/app/oom/consul/service-health-service.js | 2 +- oom-app-overlay/src/main/webapp/app/oom/home/tree-view-directive.js | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) (limited to 'oom-app-overlay/src/main') diff --git a/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-controllers.js b/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-controllers.js index 2845782..cb6e712 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-controllers.js +++ b/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-controllers.js @@ -121,7 +121,7 @@ appDS2.controller('blueprintTableController', function( message : function() { var dataForPopup = { blueprint : $scope.ecdapp.editBlueprint, - blueprintList : $scope.ecdapp.tableData, + blueprintList : $scope.ecdapp.tableData }; return dataForPopup; } @@ -159,7 +159,7 @@ appDS2.controller('blueprintTableController', function( resolve : { message : function() { var dataForPopup = { - blueprint : blueprint, + blueprint : blueprint }; return dataForPopup; } diff --git a/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-service.js b/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-service.js index 422e53d..f058b09 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-service.js +++ b/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-service.js @@ -108,7 +108,7 @@ appDS2.factory('BlueprintService', function ($http, $q, $log) { $log.error('BlueprintService.deleteBlueprint failed: ' + JSON.stringify(error)); return $q.reject(error.statusText); }); - }, + } }; }); diff --git a/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-controllers.js b/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-controllers.js index b46d242..1e80082 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-controllers.js +++ b/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-controllers.js @@ -96,7 +96,7 @@ appDS2.controller('deploymentTableController', function( resolve : { message : function() { var dataForPopup = { - deployment : deployment, + deployment : deployment }; return dataForPopup; } @@ -131,7 +131,7 @@ appDS2.controller('deploymentTableController', function( resolve : { message : function() { var dataForPopup = { - deployment : deployment, + deployment : deployment }; return dataForPopup; } diff --git a/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-service.js b/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-service.js index 886cba1..cee83c3 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-service.js +++ b/oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-service.js @@ -84,6 +84,6 @@ appDS2.factory('DeploymentService', function ($http, $q, $log) { $log.error('DeploymentService.deleteDeployment failed: ' + JSON.stringify(error)); return $q.reject(error.statusText); }); - }, + } }; }); diff --git a/oom-app-overlay/src/main/webapp/app/oom/cloudify/execution-service.js b/oom-app-overlay/src/main/webapp/app/oom/cloudify/execution-service.js index f1a5698..34414c4 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/cloudify/execution-service.js +++ b/oom-app-overlay/src/main/webapp/app/oom/cloudify/execution-service.js @@ -105,6 +105,6 @@ appDS2.factory('ExecutionService', function ($http, $q, $log) { $log.error('ExecutionService.cancelExecution failed: ' + JSON.stringify(error)); return $q.reject(error.statusText); }); - }, + } }; }); diff --git a/oom-app-overlay/src/main/webapp/app/oom/consul/datacenter-health-service.js b/oom-app-overlay/src/main/webapp/app/oom/consul/datacenter-health-service.js index 66f934e..64618c1 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/consul/datacenter-health-service.js +++ b/oom-app-overlay/src/main/webapp/app/oom/consul/datacenter-health-service.js @@ -45,7 +45,7 @@ appDS2.factory('DatacenterHealthService', function ($http, $q, $log) { $log.error('DatacenterService.getDatacentersHealth failed: ' + JSON.stringify(error)); return $q.reject(error.statusText); }); - }, + } }; }); diff --git a/oom-app-overlay/src/main/webapp/app/oom/consul/node-health-service.js b/oom-app-overlay/src/main/webapp/app/oom/consul/node-health-service.js index 3f3c8f6..18fc30b 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/consul/node-health-service.js +++ b/oom-app-overlay/src/main/webapp/app/oom/consul/node-health-service.js @@ -72,7 +72,7 @@ appDS2.factory('NodeHealthService', function ($http, $q, $log) { $log.error('serviceHealthService.getNodeServicesHealth failed: ' + JSON.stringify(error)); return $q.reject(error.statusText); }); - }, + } }; }); diff --git a/oom-app-overlay/src/main/webapp/app/oom/consul/service-health-service.js b/oom-app-overlay/src/main/webapp/app/oom/consul/service-health-service.js index 010cc11..1a60b21 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/consul/service-health-service.js +++ b/oom-app-overlay/src/main/webapp/app/oom/consul/service-health-service.js @@ -139,7 +139,7 @@ appDS2.factory('ServiceHealthService', function ($http, $q, $log) { $log.error('ServiceHealthService.deregisterService failed: ' + JSON.stringify(error)); return $q.reject(error.statusText); }); - }, + } }; }); diff --git a/oom-app-overlay/src/main/webapp/app/oom/home/tree-view-directive.js b/oom-app-overlay/src/main/webapp/app/oom/home/tree-view-directive.js index 06f2959..fa81246 100644 --- a/oom-app-overlay/src/main/webapp/app/oom/home/tree-view-directive.js +++ b/oom-app-overlay/src/main/webapp/app/oom/home/tree-view-directive.js @@ -180,7 +180,7 @@ drawOrgChart(data); - }, + } }; }; })(); \ No newline at end of file -- cgit 1.2.3-korg