aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app/vid/scripts/services
diff options
context:
space:
mode:
authorgolabek <tomasz.golabek@nokia.com>2019-03-08 13:05:24 +0100
committergolabek <tomasz.golabek@nokia.com>2019-03-11 11:37:33 +0100
commit1cb4db0a9820f65064dde0120dae00fb67cec446 (patch)
tree194c67c9a4c4c355150d1324cfb7f2e7f568efed /vid-app-common/src/main/webapp/app/vid/scripts/services
parente2617e9d5b82f2605e1660750a0dae96a077d83f (diff)
Introduced feature toggle for workflows API
FLAG_HANDLE_SO_WORKFLOWS was added to list of flags and used in js Change-Id: I720cd01b001fd1be75ec49628d7bb4b04f883384 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.js3
1 files changed, 2 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 45aedd1a1..2a06e75b1 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
@@ -45,7 +45,8 @@
return $http.get(COMPONENT.GET_SO_WORKFLOWS, {params: {vnfName: vnfNames}})
.success(function (response) {
return {data: response};
- }).catch(function () {
+ }).catch(function (ex) {
+ console.error("Problem when getting workflows from SO API occurred.", ex.stack);
return {data: []};
});
};