From 2c0e36593e9369ff8ad74a21c415cf502805f0d0 Mon Sep 17 00:00:00 2001 From: hetengjiao Date: Sun, 27 Sep 2020 15:26:06 +0800 Subject: Update NSMF allocate workflow Issue-ID: SO-2963 Signed-off-by: hetengjiao Change-Id: Ia4c2fdc15a1fa44de064559cb39af46336e3f5ca --- .../src/main/groovy/org/onap/so/bpmn/common/scripts/OofUtils.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpmn/MSOCommonBPMN/src/main/groovy') diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/OofUtils.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/OofUtils.groovy index bd70ee79b7..30cbeaf2d8 100644 --- a/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/OofUtils.groovy +++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/OofUtils.groovy @@ -659,7 +659,7 @@ return json.toString() public String buildSelectNSIRequest(String requestId, TemplateInfo nstInfo, List nsstInfo, String messageType, Map serviceProfile, - List subnetCapabilities, Integer timeOut){ + List subnetCapabilities, Integer timeOut, boolean preferReuse){ def transactionId = requestId String correlator = requestId @@ -682,7 +682,7 @@ return json.toString() nsiReqBody.setServiceProfile(serviceProfile) nsiReqBody.setSubnetCapabilities(subnetCapabilities) nsiReqBody.setNSSTInfo(nsstInfo) - + nsiReqBody.setPreferReuse(preferReuse) ObjectMapper objectMapper = new ObjectMapper() -- cgit 1.2.3-korg