summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsurya-huawei <a.u.surya@huawei.com>2017-09-17 21:34:01 +0530
committersurya-huawei <a.u.surya@huawei.com>2017-09-17 21:37:45 +0530
commitf7129016e4371a587d9ff01d43f83aec206184a2 (patch)
treeb9a010996cc64f41093476dc09c2fe589b635135
parent31dd076b804105db95ab8f183915199caa08cb7a (diff)
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 <a.u.surya@huawei.com>
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-controllers.js4
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-service.js2
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-controllers.js4
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-service.js2
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/cloudify/execution-service.js2
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/consul/datacenter-health-service.js2
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/consul/node-health-service.js2
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/consul/service-health-service.js2
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/home/tree-view-directive.js2
9 files changed, 11 insertions, 11 deletions
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