Saved vnfOperationalEnvironmentId to be used later
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / tenantisolation / helpers / ActivateVnfDBHelper.java
index eb07212..de1d9e9 100644 (file)
@@ -50,7 +50,8 @@ public class ActivateVnfDBHelper {
                                                                                                                                                                                        String status,
                                                                                                                                                                                        String recoveryAction, 
                                                                                                                                                                                        int retryCount,
-                                                                                                                                                                                       String workloadContext) { 
+                                                                                                                                                                                       String workloadContext,
+                                                                                                                                                                                       String vnfOperationalEnvironmentId) { 
                OperationalEnvServiceModelStatus serviceModelStatus = new OperationalEnvServiceModelStatus();
                serviceModelStatus.setRequestId(requestId);
                serviceModelStatus.setOperationalEnvId(operationalEnvironmentId);
@@ -59,6 +60,7 @@ public class ActivateVnfDBHelper {
                serviceModelStatus.setRecoveryAction(recoveryAction);
                serviceModelStatus.setRetryCount(new Integer(retryCount));
                serviceModelStatus.setWorkloadContext(workloadContext);
+               serviceModelStatus.setVnfOperationalEnvId(vnfOperationalEnvironmentId);
                return serviceModelStatus;
        }