diff options
author | golabek <tomasz.golabek@nokia.com> | 2019-02-27 16:47:09 +0100 |
---|---|---|
committer | golabek <tomasz.golabek@nokia.com> | 2019-03-08 13:27:55 +0100 |
commit | ff08d87f973c3aa4c041a55d42ae73a51593b7ca (patch) | |
tree | add13e327f2c50f4dcd0911d112f347a0caf240d /vid-app-common/src/main/webapp/app/vid/scripts/services | |
parent | 58cbfa63f239b22e8feb1440919b5fc2cf0118ce (diff) |
VnfInPlaceFields and ScaleOut rendered dynamically
* hardcoded workflows parameters moved to the internal API.
* html changed to dynamically render parameters from the new API.
Change-Id: Id2f61dbf88ae65401a8974422ab7c6da07053da2
Issue-ID: VID-398
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/services')
-rw-r--r-- | vid-app-common/src/main/webapp/app/vid/scripts/services/change-management.service.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/change-management.service.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/change-management.service.js index 5820ae212..45aedd1a1 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/services/change-management.service.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/change-management.service.js @@ -36,7 +36,7 @@ .success(function (response) { return {data: response}; }) - .catch(function (err) { + .catch(function () { return {data: []}; }); }; @@ -57,6 +57,13 @@ }); }; + 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(); |