aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-12 11:23:14 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-12 11:23:25 +0800
commit7f291ba8f746b6ff36d88f48687381e17d6a2300 (patch)
tree54cbab5682cca0be596c92e3bbb1b103c15918a7
parenta6de6548ba15f72f0729ac7635de0d19124d1d9f (diff)
Fix instance instantiation for CCVPN
Change-Id: Ie3e13bbfe29cb66d42798700c0d3d18fe16bf02d Issue-ID: USECASEUI-170 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceInstanceService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceInstanceService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceInstanceService.java
index 9356ef82..88a516ff 100644
--- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceInstanceService.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/impl/DefaultServiceInstanceService.java
@@ -123,7 +123,7 @@ public class DefaultServiceInstanceService implements ServiceInstanceService {
parentServiceInstances.add(parentServiceInstance);
}
}
- object.put("childServiceInstances",mapper.writeValueAsString(parentServiceInstances));
+ object.put("childServiceInstances",parentServiceInstances);
result.add(object.toString());
}
}