Fix SDNC flow Exception 37/23437/1
authorc00149107 <chenchuanyu@huawei.com>
Tue, 14 Nov 2017 08:41:16 +0000 (16:41 +0800)
committerc00149107 <chenchuanyu@huawei.com>
Tue, 14 Nov 2017 08:41:16 +0000 (16:41 +0800)
Fix SDNC flow Exception

Change-Id: I11478377105bfe0f5c02bb214e2748766d96c651
Issue-ID:SO-338
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/workflow/serviceTask/AbstractSdncOperationTask.java

index 6ca93f7..c6db924 100644 (file)
@@ -330,9 +330,10 @@ public abstract class AbstractSdncOperationTask extends BaseTask {
         logger.info("AbstractSdncOperationTask.execute begin!");
         GenericResourceApi genericResourceApiClient = getGenericResourceApiClient(execution);
 //        updateProgress(execution, RequestsDbConstant.Status.PROCESSING, null, "10", "execute begin!");
-        Map<String, String> inputs = getInputs(execution);
-//        updateProgress(execution, null, null, "30", "getGenericResourceApiClient finished!");
         try {
+            Map<String, String> inputs = getInputs(execution);
+//        updateProgress(execution, null, null, "30", "getGenericResourceApiClient finished!");
+
             sendRestrequestAndHandleResponse(execution, inputs, genericResourceApiClient);
             execution.setVariable("SDNCA_SuccessIndicator", true);
 //            updateProgress(execution, RequestsDbConstant.Status.FINISHED, null, RequestsDbConstant.Progress.ONE_HUNDRED, "execute finished!");