Async MSO error format: handle more cases 29/100329/1
authorIttay Stern <ittay.stern@att.com>
Wed, 15 Jan 2020 17:52:33 +0000 (19:52 +0200)
committerIttay Stern <ittay.stern@att.com>
Wed, 15 Jan 2020 17:52:33 +0000 (19:52 +0200)
commita46f5b6345622acd863ea41b61b607b847732151
tree6f80e517c1ee2d7bc39f9a68a8aeb81381631dea
parent9dab9fa0a02e19123149e2fe661ec61cac955120
Async MSO error format: handle more cases

Try better not to fallback to "Http Code:400, null"

Notably, handle the case where "serviceException" is inside a "requestError"
container.

Issue-ID: VID-749

Change-Id: I3c7d609aed893bbbeb71ebe4b465289c71e5c32b
Signed-off-by: Ittay Stern <ittay.stern@att.com>
vid-app-common/src/main/java/org/onap/vid/mso/MsoUtil.java
vid-app-common/src/test/java/org/onap/vid/mso/MsoUtilTest.java
vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java