From 73c4ddaef66358b3019f2e8e4fa4508d505e9389 Mon Sep 17 00:00:00 2001 From: "Boslet, Cory" Date: Fri, 10 May 2019 09:49:24 -0400 Subject: Added to write variablles on audit failure Added to write variablles on audit failure so bpmn knows whether success or not. Change-Id: I1eb0827a10ee75f4ee89bfb36d13035a2612e032 Issue-ID: SO-1862 Signed-off-by: Benjamin, Max (mb388a) --- .../main/java/org/onap/so/adapters/audit/AuditDeleteStackService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapters/mso-openstack-adapters/src/main') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditDeleteStackService.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditDeleteStackService.java index dcf61ed8a4..9b245ba695 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditDeleteStackService.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/audit/AuditDeleteStackService.java @@ -77,7 +77,7 @@ public class AuditDeleteStackService extends AbstractAuditService { UNABLE_TO_FIND_ALL_V_SERVERS_AND_L_INTERACES_IN_A_AI, getRetrySequence().length, 10000); } else if (externalTask.getRetries() != null && externalTask.getRetries() - 1 == 0) { logger.debug("The External Task Id: {} Failed, All Retries Exhausted", externalTask.getId()); - externalTaskService.complete(externalTask); + externalTaskService.complete(externalTask, variables); } else { logger.debug("The External Task Id: {} Failed, Decrementing Retries: {} , Retry Delay: ", externalTask.getId(), externalTask.getRetries() - 1, -- cgit 1.2.3-korg