summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2018-03-15 09:08:44 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-15 09:08:44 +0000
commit662686def0e86e95e76d4d3a0d1bb64ea8e78df4 (patch)
tree0458a4fa8fd7fc3175039ab24b478421eb6920a6
parent98e2587ba87b420b10b2e72a20607673e0ceb1e4 (diff)
parent3bc80decc8d43d556f963166514e7a8fa1544c85 (diff)
Merge "Fix get resource input json string issue"
-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);