Fix Json Serialize failed issue 09/26309/2
authorc00149107 <chenchuanyu@huawei.com>
Thu, 14 Dec 2017 08:09:09 +0000 (16:09 +0800)
committerSeshu Kumar M <seshu.kumar.m@huawei.com>
Thu, 4 Jan 2018 09:24:38 +0000 (09:24 +0000)
Fix Json Serialize failed issue for delete service, Get json String value of the object.

Change-Id: Id0b17b61817f494b5c39aff357c6142b5d6a51a1
Issue-ID: SO-357
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/infrastructure/scripts/DoCustomDeleteE2EServiceInstance.groovy

index ffd8372..ecc1488 100644 (file)
@@ -406,7 +406,7 @@ public class DoCustomDeleteE2EServiceInstance extends AbstractServiceTaskProcess
                                                                }
                                                        }
                                                }
-                        execution.setVariable("serviceRelationShip", jArray)
+                        execution.setVariable("serviceRelationShip", jArray.toString())
                                        }
                                }
                        }else{