Set context for VFC Create api 73/18473/1
authorc00149107 <chenchuanyu@huawei.com>
Thu, 12 Oct 2017 08:31:14 +0000 (16:31 +0800)
committerc00149107 <chenchuanyu@huawei.com>
Thu, 12 Oct 2017 08:31:14 +0000 (16:31 +0800)
Set context for VFC Create api

Change-Id: I33363c15eaa7dc0aa17921792968814970a58df0
Issue-ID:SO-212
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcManager.java

index 03d427b..fed6d5e 100644 (file)
@@ -103,6 +103,7 @@ public class VfcManager {
     CustomerModel context = new CustomerModel();
     context.setGlobalCustomerId(segInput.getNsOperationKey().getGlobalSubscriberId());
     context.setServiceType(segInput.getNsOperationKey().getServiceType());
+    oRequest.setContext(context);
     String createReq = JsonUtil.marshal(oRequest);
 
     // Step4: Call NFVO or SDNO lcm to create ns