예제 #1
0
 public HttpPostIntTest() {
   Log4jInit.setLevel("ca.nrc.cadc.net", Level.DEBUG);
   String hostname = NetUtil.getServerName(HttpPostIntTest.class);
   baseHttpUrl = "http://" + hostname + "/test";
   baseHttpsUrl = "https://" + hostname + "/test";
   SSL_CERT = FileUtil.getFileFromResource(TEST_CERT_FN, HttpDownloadTest.class);
   SSL_KEY = FileUtil.getFileFromResource(TEST_KEY_FN, HttpDownloadTest.class);
   System.setProperty(BasicX509TrustManager.class.getName() + ".trust", "true");
 }
예제 #2
0
 static {
   Log4jInit.setLevel("ca.nrc.cadc.tap", Level.INFO);
 }