From 3bc80decc8d43d556f963166514e7a8fa1544c85 Mon Sep 17 00:00:00 2001 From: c00149107 Date: Thu, 15 Mar 2018 15:58:59 +0800 Subject: Fix get resource input json string issue Fix get resource input json string issue Change-Id: I1babb7e987948c4f86c231cef67586bf452aab12 Issue-ID: SO-452 Signed-off-by: c00149107 --- .../main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/MSOCommonBPMN/src/main/java/org/openecomp') diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java index 1cddc54f43..0a008d1044 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java @@ -304,7 +304,7 @@ public class ResourceInput { @Override public String toString() { ObjectMapper mapper = new ObjectMapper(); - mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, true); + mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, false); String jsonStr = ""; try { jsonStr = mapper.writeValueAsString(this); -- cgit 1.2.3-korg