summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/java
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2018-03-15 15:58:59 +0800
committerc00149107 <chenchuanyu@huawei.com>2018-03-15 15:58:59 +0800
commit3bc80decc8d43d556f963166514e7a8fa1544c85 (patch)
tree8b0e821ac176f8be5cc6c37c4a3a1c1c1a01fe06 /bpmn/MSOCommonBPMN/src/main/java
parentf9107dc194830f5b197b9d7852810cffa7705acf (diff)
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 <chenchuanyu@huawei.com>
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main/java')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java2
1 files changed, 1 insertions, 1 deletions
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);