From: eyalholz Date: Thu, 30 Nov 2017 18:41:38 +0000 (+0200) Subject: Fix issue SO failed to create VNF X-Git-Tag: 1.0.1-ONAP X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=065ce020b32ef554f07662c6d4b1047abdd83395;p=so.git Fix issue SO failed to create VNF Failed with error message: Internal Error Occurred in CreateVnfInfra QueryCatalogDB Process Issue-ID: SO-352 Change-Id: I7b370102f865a1eb3a07c49d5f4cfcda03391728 Signed-off-by: eyalholz --- diff --git a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVnfInfra.groovy b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVnfInfra.groovy index 1c98b87027..8eea643db6 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVnfInfra.groovy +++ b/bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/CreateVnfInfra.groovy @@ -456,7 +456,7 @@ class CreateVnfInfra extends AbstractServiceTaskProcessor { JSONArray vnfs = cutils.getAllVnfsByVnfModelCustomizationUuid(execution, vnfModelCustomizationUuid, "v2") utils.log("DEBUG", "obtained VNF list: " + vnfs, isDebugEnabled) - execution.setVariable("CREVI_vnfs", vnfs) + execution.setVariable("CREVI_vnfs", vnfs.toString()) if (vnfs == null) { utils.log("ERROR", "No matching VNFs in Catalog DB for vnfModelCustomizationUuid=" + vnfModelCustomizationUuid, isDebugEnabled)