Fix Json Serialize failed issue 07/26307/1
authorc00149107 <chenchuanyu@huawei.com>
Thu, 14 Dec 2017 08:07:27 +0000 (16:07 +0800)
committerc00149107 <chenchuanyu@huawei.com>
Thu, 14 Dec 2017 08:07:27 +0000 (16:07 +0800)
Fix Json Serialize failed issue for delete service, Get json String value of the object.

Change-Id: Id2375beede73581029fc5c048a26a6c7f17eb606
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{