aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgarwal, Ruchira(ra1926) <ra1926@att.com>2018-07-06 18:32:29 +0000
committerAgarwal, Ruchira(ra1926) <ra1926@att.com>2018-07-06 18:45:42 +0000
commit42742570bde5f765f8f70aa9b3f71f677a463ae5 (patch)
tree43b312f113deceb0c44c4a404b9f068f6497dbed
parentccf87e9fe98de4be6d63f81aaa2b9034da27d039 (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>
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java3
1 files changed, 1 insertions, 2 deletions
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);
}
}