aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-07-09 12:16:35 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-09 12:16:35 +0000
commitf7c04ba242c8cead90536dc27a4620593304189a (patch)
tree561f40c2bdc1ae75d82826ff9b9676ad312bf75e
parent43090d8778d60ed62089927c1f6732140036791a (diff)
parent42742570bde5f765f8f70aa9b3f71f677a463ae5 (diff)
Merge "AAIService change URL to URI"
-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);
}
}