VnfInPlaceFields and ScaleOut rendered dynamically
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / services / change-management.service.js
index 5820ae2..45aedd1 100644 (file)
@@ -36,7 +36,7 @@
             .success(function (response) {
                 return {data: response};
             })
-                .catch(function (err) {
+                .catch(function () {
                     return {data: []};
                 });
         };
           });
         };
 
+      this.getLocalWorkflowParameter = function (workflowName){
+        return $http.get(COMPONENT.GET_LOCAL_WORKFLOW_PARAMETER.replace('@workflowName', encodeURIComponent(workflowName)))
+        .success(function (response) {
+          return {data: response.parameterDefinitions}
+        });
+      };
+
         this.getMSOChangeManagements = function() {
             var deferred = $q.defer();