From f9ad74b5179086b22f7fffa7d58feec4f1452c97 Mon Sep 17 00:00:00 2001 From: "Boslet, Cory" Date: Sun, 19 Jul 2020 17:05:35 -0400 Subject: Not found exception was in the wrong place. Not found exception was in the wrong place. Issue-ID: SO-3075 Signed-off-by: Benjamin, Max (mb388a) Change-Id: I321f42a33951f26dc39e2de45b61a455e6032bcb --- .../src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'adapters') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java index 3f5d25b93f..5aab8ef35d 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java @@ -484,9 +484,9 @@ public class HeatBridgeImpl implements HeatBridgeApi { Objects.requireNonNull(vnfId, "Null vnf-id!"); Objects.requireNonNull(vfModuleId, "Null vf-module-id!"); try { - Optional vfModule = resourcesClient.get( - AAIUriFactory.createResourceUri(AAIObjectType.VF_MODULE, vnfId, vfModuleId, NotFoundException.class) - .depth(Depth.ONE)) + Optional vfModule = resourcesClient + .get(AAIUriFactory.createResourceUri(AAIObjectType.VF_MODULE, vnfId, vfModuleId).depth(Depth.ONE), + NotFoundException.class) .asBean(VfModule.class); AAIResultWrapper resultWrapper = new AAIResultWrapper(vfModule.get()); -- cgit 1.2.3-korg