From 9819e2b5c96c098a1901ace345fe9149af176e4a Mon Sep 17 00:00:00 2001 From: Marcus G K Williams Date: Wed, 16 May 2018 20:16:37 -0700 Subject: Revert placementInfo to placement in SNIROUtils Issue-ID: SO-628 Change-Id: I3bd802fc966f466b12556d19e347a130e152a51d Signed-off-by: Marcus G K Williams --- .../groovy/org/openecomp/mso/bpmn/common/scripts/SNIROUtils.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp') diff --git a/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SNIROUtils.groovy b/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SNIROUtils.groovy index 88ed9fb330..1233d0423b 100644 --- a/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SNIROUtils.groovy +++ b/bpmn/MSOCommonBPMN/src/main/groovy/org/openecomp/mso/bpmn/common/scripts/SNIROUtils.groovy @@ -294,8 +294,8 @@ class SNIROUtils{ if(isBlank(response)){ exceptionUtil.buildAndThrowWorkflowException(execution, 5000, "Sniro Async Callback Response is Empty") }else{ - if(JsonUtils.jsonElementExist(response, "solutionInfo.placementInfo")){ - placements = jsonUtil.getJsonValue(response, "solutionInfo.placementInfo") + if(JsonUtils.jsonElementExist(response, "solutionInfo.placement")){ + placements = jsonUtil.getJsonValue(response, "solutionInfo.placement") if(isBlank(placements) || placements.equalsIgnoreCase("[]")){ String statusMessage = jsonUtil.getJsonValue(response, "statusMessage") if(isBlank(statusMessage)){ -- cgit 1.2.3-korg