[BUG] Fix for module endpoints using alternate ID 10/139510/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Thu, 21 Nov 2024 09:44:15 +0000 (09:44 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 21 Nov 2024 10:39:00 +0000 (10:39 +0000)
commit810865ac3c11094edbb177a4c2a00702964db001
tree52a734522ff16acfc492ecde034a4904eac70fe6
parent9060818e7974ca09a06b715533161876b94fde84
[BUG] Fix for module endpoints using alternate ID

The endpoints for fetching modules and module definitions
previously returned empty result if a CM handle was not
found or not ready. Recent changes for alternate ID have
changed the behaviour so it returns an error instead.
This restores original behaviour by swallowing the exception.

Change-Id: I63091d04d171e6f4ac6ad1c44b359b9a0c4b8f65
Issue-ID: CPS-2509
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/inventory/NetworkCmProxyInventoryFacade.java