Fix Sonar issues in dashboard module 19/12919/1
authorsurya-huawei <a.u.surya@huawei.com>
Sun, 17 Sep 2017 16:04:01 +0000 (21:34 +0530)
committersurya-huawei <a.u.surya@huawei.com>
Sun, 17 Sep 2017 16:07:45 +0000 (21:37 +0530)
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>
oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-controllers.js
oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint-service.js
oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-controllers.js
oom-app-overlay/src/main/webapp/app/oom/cloudify/deployment-service.js
oom-app-overlay/src/main/webapp/app/oom/cloudify/execution-service.js
oom-app-overlay/src/main/webapp/app/oom/consul/datacenter-health-service.js
oom-app-overlay/src/main/webapp/app/oom/consul/node-health-service.js
oom-app-overlay/src/main/webapp/app/oom/consul/service-health-service.js
oom-app-overlay/src/main/webapp/app/oom/home/tree-view-directive.js

index 2845782..cb6e712 100644 (file)
@@ -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;
                                }
index 422e53d..f058b09 100644 (file)
@@ -108,7 +108,7 @@ appDS2.factory('BlueprintService', function ($http, $q, $log) {
                                $log.error('BlueprintService.deleteBlueprint failed: ' + JSON.stringify(error));
                                return $q.reject(error.statusText);
                        });
-               },              
+               }
                
        };
 });
index b46d242..1e80082 100644 (file)
@@ -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;
                                }
index 886cba1..cee83c3 100644 (file)
@@ -84,6 +84,6 @@ appDS2.factory('DeploymentService', function ($http, $q, $log) {
                                $log.error('DeploymentService.deleteDeployment failed: ' + JSON.stringify(error));
                                return $q.reject(error.statusText);
                        });
-               },
+               }
        };
 });
index f1a5698..34414c4 100644 (file)
@@ -105,6 +105,6 @@ appDS2.factory('ExecutionService', function ($http, $q, $log) {
                                $log.error('ExecutionService.cancelExecution failed: ' + JSON.stringify(error));
                                return $q.reject(error.statusText);
                        });
-               },
+               }
        };
 });
index 66f934e..64618c1 100644 (file)
@@ -45,7 +45,7 @@ appDS2.factory('DatacenterHealthService', function ($http, $q, $log) {
                                $log.error('DatacenterService.getDatacentersHealth failed: ' + JSON.stringify(error));
                                return $q.reject(error.statusText);
                        });
-               },
+               }
                
        };
 });
index 3f3c8f6..18fc30b 100644 (file)
@@ -72,7 +72,7 @@ appDS2.factory('NodeHealthService', function ($http, $q, $log) {
                                $log.error('serviceHealthService.getNodeServicesHealth failed: ' + JSON.stringify(error));
                                return $q.reject(error.statusText);
                        });
-               },
+               }
                
        };
 });
index 010cc11..1a60b21 100644 (file)
@@ -139,7 +139,7 @@ appDS2.factory('ServiceHealthService', function ($http, $q, $log) {
                                $log.error('ServiceHealthService.deregisterService failed: ' + JSON.stringify(error));
                                return $q.reject(error.statusText);
                        });
-               },              
+               }
 
        };
 });
index 06f2959..fa81246 100644 (file)
                                        
                drawOrgChart(data);
 
-            },
+            }
         };
     };
 })();
\ No newline at end of file