Populate serviceInstanceId from instanceMap on 30/112330/1
authorKuleshov, Elena <evn@att.com>
Tue, 8 Sep 2020 20:45:49 +0000 (16:45 -0400)
committerBenjamin, Max (mb388a) <mb388a@att.com>
Tue, 8 Sep 2020 20:45:49 +0000 (16:45 -0400)
commit27d4ba1bdde932efa07837743ebf9a0b2594e1fe
treef0f823baeb5f06ec97c6f1f21b280f504a30077c
parent36982a7db770806b0a3e12d07686b4e3a72a0871
Populate serviceInstanceId from instanceMap on

Populate serviceInstanceId from instanceMap on validation error.
Use Optional for return value for serviceInstanceId assist methods.

Issue-ID: SO-3224
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: I36a44ae42bb89d621dec5a2f85266458ea0e0766
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/RequestHandlerUtils.java
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/ServiceInstances.java
mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/RequestHandlerUtilsTest.java