From 38f2c232dabeff5078216a5143f4b0df00524dcc Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Wed, 15 Aug 2018 15:00:25 +0300 Subject: Remove Controller Type field Change-Id: I24a571aab0b4277762c915bb9900cca610c782a7 Issue-ID: VID-250 Signed-off-by: Sonsino, Ofir (os0695) --- .../src/main/webapp/app/vid/scripts/constants/vidConfiguration.js | 5 +---- .../new-change-management/new-change-management.controller.js | 5 +---- .../modals/new-change-management/new-change-management.html | 8 -------- 3 files changed, 2 insertions(+), 16 deletions(-) (limited to 'vid-app-common/src/main/webapp/app/vid') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/constants/vidConfiguration.js b/vid-app-common/src/main/webapp/app/vid/scripts/constants/vidConfiguration.js index f71213bf..b2441fbe 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/constants/vidConfiguration.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/constants/vidConfiguration.js @@ -106,8 +106,6 @@ appDS2.constant("VIDCONFIGURATION", (function() { var SCHEDULER_CALLBACK_URL = ""; var SCHEDULER_PORTAL_URL = ""; - - var SCALE_OUT_CONTROLLERS = ["", "SDNC", "APPC"]; var SDNC_SHOW_ASSIGNMENTS_URL = "https://sdnc.api.simpledemo.onap.org:8448/configAdapter/index#/resource_manager/"; @@ -124,7 +122,6 @@ appDS2.constant("VIDCONFIGURATION", (function() { COMPONENT_LIST_NAMED_QUERY_ID : COMPONENT_LIST_NAMED_QUERY_ID, SCHEDULER_CALLBACK_URL: SCHEDULER_CALLBACK_URL, SCHEDULER_PORTAL_URL: SCHEDULER_PORTAL_URL, - SDNC_SHOW_ASSIGNMENTS_URL: SDNC_SHOW_ASSIGNMENTS_URL, - SCALE_OUT_CONTROLLERS: SCALE_OUT_CONTROLLERS + SDNC_SHOW_ASSIGNMENTS_URL: SDNC_SHOW_ASSIGNMENTS_URL }; })()) diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js index 39182191..c55092e4 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js @@ -10,7 +10,7 @@ vm.hasScheduler = !!VIDCONFIGURATION.SCHEDULER_PORTAL_URL; vm.configUpdatePatternError = "Invalid file type. Please select a file with a CSV extension."; vm.configUpdateContentError = "Invalid file structure."; - vm.controllers = VIDCONFIGURATION.SCALE_OUT_CONTROLLERS; + vm.wizardStep = 1; vm.nextStep = function(){ vm.wizardStep++; @@ -225,7 +225,6 @@ 'operations_timeout':changeManagement.operationTimeout }; requestParametersData = { - controllerType: changeManagement.controllerType, payload: JSON.stringify(payloadObj) } }else if(workflowType=="VNF Config Update"){ @@ -237,13 +236,11 @@ if(moduleToScale.userParams) { requestParametersData = { - controllerType: changeManagement.controllerType, userParams: moduleToScale.userParams //,usePreload: true } }else{ requestParametersData = { - controllerType: changeManagement.controllerType, userParams: [] //,usePreload: false } diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.html b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.html index 5679af41..ec1d4cde 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.html +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.html @@ -84,14 +84,6 @@ -
-
- - -
-