diff options
author | efiacor <fiachra.corcoran@est.tech> | 2021-11-26 13:55:33 +0000 |
---|---|---|
committer | efiacor <fiachra.corcoran@est.tech> | 2021-11-26 13:56:58 +0000 |
commit | 7de14af42606ea0afbb376e6f05de793108d555b (patch) | |
tree | 2096710265ba62c1547d1eacf829780229c8b6f9 /dmaap-bc/src/main/java/org/onap | |
parent | daf8076254e3e0ae562c0e27bbd2d0910e79f8d1 (diff) |
[DMAAP-BC] Fix failing jenkins
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I5183451b4c86e7be5ddc2f38ad83de9658eafb82
Issue-ID: DMAAP-1682
Diffstat (limited to 'dmaap-bc/src/main/java/org/onap')
-rw-r--r-- | dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java | 19 | ||||
-rw-r--r-- | dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java | 2 |
2 files changed, 2 insertions, 19 deletions
diff --git a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java index 934e541..b476723 100644 --- a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java +++ b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java @@ -22,24 +22,18 @@ package org.onap.dmaap.dbcapi.aaf; - - - - import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; +import java.net.ConnectException; import java.net.ProtocolException; import java.net.URL; import java.net.UnknownHostException; -import java.net.ConnectException; - import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLHandshakeException; - import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import org.apache.commons.codec.binary.Base64; @@ -50,25 +44,16 @@ import org.onap.dmaap.dbcapi.util.DmaapConfig; public class AafConnection extends BaseLoggingClass { - - - - private String aafCred; private String unit_test; - - private HttpsURLConnection uc; - public AafConnection( String cred ) { aafCred = cred; DmaapConfig p = (DmaapConfig)DmaapConfig.getConfig(); unit_test = p.getProperty( "UnitTest", "No" ); - } - private boolean makeConnection( String pURL ) { try { @@ -103,8 +88,6 @@ public class AafConnection extends BaseLoggingClass { return sb.toString(); } - - public int postAaf( AafObject obj, String pURL ) { logger.info( "entry: postAaf() to " + pURL ); diff --git a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java index 942fe6c..91f7df4 100644 --- a/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java +++ b/dmaap-bc/src/main/java/org/onap/dmaap/dbcapi/server/Main.java @@ -47,7 +47,7 @@ public class Main extends BaseLoggingClass { public void setProvFQDN(String provFQDN) { Main.provFQDN = provFQDN; } - private Main() { + Main() { } public static void main(String[] args) { (new Main()).main(); |