Add tests and adjust code for Sonar rules
[portal/ric-dashboard.git] / webapp-backend / src / main / java / org / oransc / ric / portal / dashboard / controller / CaasIngressController.java
index c796018..ad375f9 100644 (file)
@@ -2,7 +2,7 @@
  * ========================LICENSE_START=================================
  * O-RAN-SC
  * %%
- * Copyright (C) 2019 AT&T Intellectual Property and Nokia
+ * Copyright (C) 2019 AT&T Intellectual Property
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,8 +20,6 @@
 package org.oransc.ric.portal.dashboard.controller;
 
 import java.lang.invoke.MethodHandles;
-import java.security.KeyManagementException;
-import java.security.NoSuchAlgorithmException;
 
 import javax.servlet.http.HttpServletResponse;
 
@@ -74,8 +72,7 @@ public class CaasIngressController {
        private final SimpleKubernetesClient ciPltClient;
 
        @Autowired
-       public CaasIngressController(final SimpleKubernetesClient ciAuxApi, final SimpleKubernetesClient ciPltApi)
-                       throws KeyManagementException, NoSuchAlgorithmException {
+       public CaasIngressController(final SimpleKubernetesClient ciAuxApi, final SimpleKubernetesClient ciPltApi) {
                Assert.notNull(ciAuxApi, "auxApi must not be null");
                Assert.notNull(ciPltApi, "pltApi must not be null");
                this.ciAuxClient = ciAuxApi;