Update error handling for mapInfraActiveRequestToRequest 59/124159/2
authorMichael Pruss <michael.pruss@bell.ca>
Mon, 13 Sep 2021 13:06:49 +0000 (09:06 -0400)
committerJozsef Csongvai <jozsef.csongvai@bell.ca>
Mon, 9 May 2022 19:37:13 +0000 (15:37 -0400)
commit4eb30b65fcf63b3bd13f3f10bbbfed85057ded4d
tree88bdbcc9ff9b7f3ad2765299c671e29b440f2b51
parent131fd74f717f76bc23af1ef935f6e96654f703d6
Update error handling for mapInfraActiveRequestToRequest

Malformed instantiation requests persisted in requestdb
causing orchestrationRequests API to throw ValidateException
error when returning status on malformed requests.
This causes the endpoint to not return any entries.
To fix this, request body of malformed requests is
not returned in the payload. The request status is still
returned.

Issue-ID: SO-3762
Change-Id: I693a81020d4f3544c915d9f431913a02849805dd
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java