diff options
author | Boslet, Cory <cory.boslet@att.com> | 2020-07-19 17:05:35 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@att.com> | 2020-07-19 17:05:36 -0400 |
commit | f9ad74b5179086b22f7fffa7d58feec4f1452c97 (patch) | |
tree | 20f5776f495ee1c83200cd67235aa9bf5096c232 /adapters/mso-openstack-adapters | |
parent | c1f414d5b3592a0740c6c4e4e264a7e6ab35e12d (diff) |
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) <mb388a@att.com>
Change-Id: I321f42a33951f26dc39e2de45b61a455e6032bcb
Diffstat (limited to 'adapters/mso-openstack-adapters')
-rw-r--r-- | adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
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> vfModule = resourcesClient.get( - AAIUriFactory.createResourceUri(AAIObjectType.VF_MODULE, vnfId, vfModuleId, NotFoundException.class) - .depth(Depth.ONE)) + Optional<VfModule> vfModule = resourcesClient + .get(AAIUriFactory.createResourceUri(AAIObjectType.VF_MODULE, vnfId, vfModuleId).depth(Depth.ONE), + NotFoundException.class) .asBean(VfModule.class); AAIResultWrapper resultWrapper = new AAIResultWrapper(vfModule.get()); |