diff options
author | vidhyasree <sn141y@att.com> | 2018-06-29 16:18:12 -0400 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-07-02 18:15:47 +0000 |
commit | 41db847244b0ad79e1c9fe0caecddc2baae1372c (patch) | |
tree | 17376a3d5e3d4e007f0e14cbc4ebba87bfbe38de /appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main | |
parent | f392eb16a6f0014d51b8072a0b4e0fc8f234036c (diff) |
Adding responses to payload in LCM API
For HealthCheck, UpgradePrecheck and UpgradePostcheck
Issue-ID: APPC-920
Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c
Signed-off-by: vidhyasree <sn141y@att.com>
Diffstat (limited to 'appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main')
-rw-r--r-- | appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |