Introduced mocked SO workflows in VID FE
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / services / change-management.service.js
index 03e41b2..6998684 100644 (file)
                 });
         };
 
+        this.getSOWorkflows = function (vnfNames) {
+            return $http.get(COMPONENT.GET_SO_WORKFLOWS, {params: {vnfName: vnfNames}})
+            .success(function (response) {
+                return {data: response};
+            }).catch(function () {
+                return {data: []};
+            });
+        };
+
         this.getMSOChangeManagements = function() {
             var deferred = $q.defer();