Merge "AAIService change URL to URI"
authorDan Timoney <dt5972@att.com>
Mon, 9 Jul 2018 12:16:35 +0000 (12:16 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 9 Jul 2018 12:16:35 +0000 (12:16 +0000)
aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIService.java

index 976530c..02fab58 100755 (executable)
@@ -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);
             }
         }