From 42742570bde5f765f8f70aa9b3f71f677a463ae5 Mon Sep 17 00:00:00 2001 From: "Agarwal, Ruchira(ra1926)" Date: Fri, 6 Jul 2018 18:32:29 +0000 Subject: AAIService change URL to URI Use URI instead of URL for resource-link Change-Id: I0d29f14a0425ff098d3b965e6d9ba54ab2c9aff7 Issue-ID: CCSDK-353 Signed-off-by: Agarwal, Ruchira(ra1926) --- .../src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'aai-service/provider/src/main/java') diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java index 976530c9..02fab585 100755 --- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java +++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java @@ -996,8 +996,7 @@ public class AAIService extends AAIDeclarations implements AAIClient, SvcLogicRe try { for (ResultData datum : resultDataList) { - String data_type = datum.getResourceType(); - URL url = new URL(datum.getResourceLink()); + URI url = new URI(datum.getResourceLink()); entity = this.getResource(url.toString(), GenericVnf.class); } } -- cgit 1.2.3-korg