Remove unused system properties from unit tests 27/67227/1
authorLee, Tian (tl5884) <tianl@amdocs.com>
Tue, 18 Sep 2018 09:02:25 +0000 (10:02 +0100)
committerLee, Tian (tl5884) <tianl@amdocs.com>
Tue, 18 Sep 2018 09:02:25 +0000 (10:02 +0100)
Change-Id: I5d56bf794c69381d03dda277afe4e110791b660a
Issue-ID: AAI-1606
Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
src/test/java/org/onap/aai/modelloader/restclient/TestAaiRestClient.java
src/test/java/org/onap/aai/modelloader/restclient/TestAaiServiceClient.java

index 8b1b22c..97b30f5 100644 (file)
@@ -51,8 +51,6 @@ public class TestAaiRestClient {
         props.setProperty("ml.distribution.ARTIFACT_TYPES", "MODEL_INVENTORY_PROFILE,MODEL_QUERY_SPEC,VNF_CATALOG");
         props.setProperty("ml.aai.BASE_URL", "https://localhost:8443");
         props.setProperty("ml.aai.MODEL_URL", "/aai/v9/service-design-and-creation/models/model/");
-        props.setProperty("ml.aai.KEYSTORE_FILE", "aai-client-cert.p12");
-        props.setProperty("ml.aai.KEYSTORE_PASSWORD", "OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o");
 
         ModelLoaderConfig config = new ModelLoaderConfig(props, ".");
 
index ac2d7e4..8494f33 100644 (file)
@@ -55,8 +55,6 @@ public class TestAaiServiceClient {
 
         Properties props = new Properties();
         props.put("ml.aai.KEYSTORE_PASSWORD", "2244");
-        props.put("ml.aai.KEYSTORE_FILE", "src/test/resources/auth/aai-client-cert.p12");
-        props.put("ml.aai.KEYSTORE_PASSWORD", "OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o");
         ModelLoaderConfig config = new ModelLoaderConfig(props, ".");
         aaiClient = new AaiRestClient(config);
     }