aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js32
1 files changed, 5 insertions, 27 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
index 15ba51941..242a3dc8a 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/creationService.js
@@ -714,45 +714,23 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON
break;
case COMPONENT.VNF:
-
- requestDetails.requestInfo.productFamilyId = getValueFromList(
- FIELD.ID.PRODUCT_FAMILY, parameterList);
-
- var lineOfBusiness = getValueFromList(FIELD.ID.LINE_OF_BUSINESS, parameterList);
-
- if(lineOfBusiness) {
- requestDetails.lineOfBusiness = {
- lineOfBusinessName: lineOfBusiness
- };
- }
-
- requestDetails.platform = {
- platformName: getValueFromList(FIELD.ID.PLATFORM, parameterList)
- };
-
- break;
case COMPONENT.NETWORK:
requestDetails.requestInfo.productFamilyId = getValueFromList(
FIELD.ID.PRODUCT_FAMILY, parameterList);
var lineOfBusiness = getValueFromList(FIELD.ID.LINE_OF_BUSINESS, parameterList);
-
if(lineOfBusiness) {
- var lineOfBusinessNamesString = _.map(lineOfBusiness, "name").join(", ");
-
requestDetails.lineOfBusiness = {
- lineOfBusinessName: lineOfBusinessNamesString
+ lineOfBusinessName: lineOfBusiness
};
}
var platform = getValueFromList(FIELD.ID.PLATFORM, parameterList);
- if(platform !== null && platform !== ""){
- requestDetails.platform = {
- platformName: platform
- };
+ if (platform !== null && platform !== "") {
+ requestDetails.platform = {
+ platformName: platform
+ };
}
-
-
break;
case COMPONENT.VF_MODULE:
requestDetails.requestParameters.usePreload = getValueFromList(