From 52d9122c0e36a2b7488eff2d8eaa8f9edaf84338 Mon Sep 17 00:00:00 2001 From: Lina George Date: Thu, 9 Nov 2017 12:40:56 -0500 Subject: Fixed null payload issue for Stop Application Issue-Id: APPC-316 Change-Id: I572f1c62f340a26de1900ee5367b0d913376ee16 Signed-off-by: Lina George --- .../src/main/java/org/openecomp/appc/provider/AppcProviderLcm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-provider/appc-provider-bundle') diff --git a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderLcm.java b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderLcm.java index b13a74201..7d321989f 100644 --- a/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderLcm.java +++ b/appc-provider/appc-provider-bundle/src/main/java/org/openecomp/appc/provider/AppcProviderLcm.java @@ -1152,7 +1152,7 @@ public class AppcProviderLcm implements AutoCloseable, AppcProviderLcmService { Status status = ValidationService.getInstance().validateInput(input.getCommonHeader(), input.getAction(), action); if(null == status) { try { - RequestHandlerInput request = new RequestInputBuilder().requestContext().commonHeader(input.getCommonHeader()).actionIdentifiers(input.getActionIdentifiers()).action(action).rpcName(rpcName).build(); + RequestHandlerInput request = new RequestInputBuilder().requestContext().commonHeader(input.getCommonHeader()).actionIdentifiers(input.getActionIdentifiers()).payload(input.getPayload()).action(action).rpcName(rpcName).build(); status = buildStatusWithDispatcherOutput(executeRequest(request)); logger.info(String.format("Execute of '%s' finished with status %s. Reason: %s", input.getActionIdentifiers(), status.getCode(), status.getMessage())); } catch (ParseException e) { -- cgit 1.2.3-korg