From f5485e25370ba15228845da85bdf856ac22bbbd5 Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Wed, 28 Mar 2018 12:42:14 +0300 Subject: PNF Plug & Play use case Change-Id: I6901e9cd61d09dd770c57b4310f5c6d71fd41bc5 Issue-ID: VID-203 Signed-off-by: Sonsino, Ofir (os0695) --- .../src/main/webapp/app/vid/scripts/services/creationService.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/services') 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 838ab371..56ec715b 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 @@ -241,7 +241,10 @@ var CreationService = function($log, AaiService, AsdcService, DataService,VIDCON parameterList = parameterList.concat([ getProjectParameter() ]); parameterList = parameterList.concat([ getOwningEntityParameter() ]); - + //if service model has a pnf, add a PNF ID parameter + if (DataService.getPnf()) { + parameterList = parameterList.concat([ FIELD.PARAMETER.PNF_ID ]); + } } else { parameterList = [ FIELD.PARAMETER.INSTANCE_NAME ]; -- cgit 1.2.3-korg