Merge "Improve Test coverage of InfluxLogger Issue-ID: NONRTRIC-875"
[nonrtric/plt/ranpm.git] / influxlogger / src / main / java / org / oran / pmlog / clients / AsyncRestClientFactory.java
index b082188..a1c5d53 100644 (file)
@@ -43,6 +43,7 @@ import javax.net.ssl.KeyManagerFactory;
 
 import org.oran.pmlog.configuration.WebClientConfig;
 import org.oran.pmlog.configuration.WebClientConfig.HttpProxyConfig;
+import org.oran.pmlog.oauth2.SecurityContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.util.ResourceUtils;
@@ -116,6 +117,7 @@ public class AsyncRestClientFactory {
             }
         }
 
+        @SuppressWarnings("java:S6204")
         private SslContext createSslContextRejectingUntrustedPeers(String trustStorePath, String trustStorePass,
                 KeyManagerFactory keyManager)
                 throws NoSuchAlgorithmException, CertificateException, IOException, KeyStoreException {