commit | 42742570bde5f765f8f70aa9b3f71f677a463ae5 | [log] [tgz] |
---|---|---|
author | Agarwal, Ruchira(ra1926) <ra1926@att.com> | Fri Jul 06 18:32:29 2018 +0000 |
committer | Agarwal, Ruchira(ra1926) <ra1926@att.com> | Fri Jul 06 18:45:42 2018 +0000 |
tree | 43b312f113deceb0c44c4a404b9f068f6497dbed | |
parent | ccf87e9fe98de4be6d63f81aaa2b9034da27d039 [diff] |
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) <ra1926@att.com>
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 976530c..02fab58 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 @@ 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); } }