Add missing jar compiles
[aaf/authz.git] / cadi / aaf / src / main / java / org / onap / aaf / cadi / aaf / TestConnectivity.java
index b4bca20..243b3a6 100644 (file)
@@ -70,6 +70,8 @@ public class TestConnectivity {
                                aaflocate = access.getProperty(Config.AAF_LOCATE_URL);
                                if(aaflocate==null) {
                                        print(true,"Properties must contain ",Config.AAF_LOCATE_URL);
+                               } else if (!aaflocate.endsWith("/locate")) {
+                                       aaflocate += "/locate";
                                }
                        }
                        
@@ -107,11 +109,12 @@ public class TestConnectivity {
                                }
 
                                /////////
-                               print(true,"Test Proxy Access driven by AAFLocator");
-                               locator = new AAFLocator(si, new URI(aaflocate+"/AAF_NS.gw:2.0/proxy"));
-                               for(SecuritySetter<HttpURLConnection> ss : lss) {
-                                       permTest(locator,ss);
-                               }
+                               // Removed for ONAP
+//                             print(true,"Test Proxy Access driven by AAFLocator");
+//                             locator = new AAFLocator(si, new URI(aaflocate+"/AAF_NS.gw:2.0/proxy"));
+//                             for(SecuritySetter<HttpURLConnection> ss : lss) {
+//                                     permTest(locator,ss);
+//                             }
 
                                //////////
                                print(true,"Test essential BasicAuth Service call, driven by AAFLocator");