From 41db847244b0ad79e1c9fe0caecddc2baae1372c Mon Sep 17 00:00:00 2001 From: vidhyasree Date: Fri, 29 Jun 2018 16:18:12 -0400 Subject: Adding responses to payload in LCM API For HealthCheck, UpgradePrecheck and UpgradePostcheck Issue-ID: APPC-920 Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c Signed-off-by: vidhyasree --- .../src/main/java/org/onap/appc/requesthandler/conv/Converter.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main') diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java index 6ec8ea9b9..0b8002b1b 100644 --- a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java +++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java @@ -100,6 +100,7 @@ public class Converter { outObj = new HealthCheckOutputBuilder(); ((HealthCheckOutputBuilder)outObj).setCommonHeader(commonHeader); ((HealthCheckOutputBuilder)outObj).setStatus(status); + ((HealthCheckOutputBuilder)outObj).setPayload(payload); return outObj; case LiveUpgrade: outObj = new LiveUpgradeOutputBuilder(); @@ -242,6 +243,7 @@ public class Converter { outObj = new UpgradePostCheckOutputBuilder(); ((UpgradePostCheckOutputBuilder)outObj).setCommonHeader(commonHeader); ((UpgradePostCheckOutputBuilder)outObj).setStatus(status); + ((UpgradePostCheckOutputBuilder)outObj).setPayload(payload); return outObj; case UpgradeBackup: outObj = new UpgradeBackupOutputBuilder(); @@ -257,6 +259,7 @@ public class Converter { outObj = new UpgradePreCheckOutputBuilder(); ((UpgradePreCheckOutputBuilder)outObj).setCommonHeader(commonHeader); ((UpgradePreCheckOutputBuilder)outObj).setStatus(status); + ((UpgradePreCheckOutputBuilder)outObj).setPayload(payload); return outObj; case AttachVolume: outObj = new AttachVolumeOutputBuilder(); -- cgit 1.2.3-korg