From f698ffb1b9117d02b07f95944070de31f9771126 Mon Sep 17 00:00:00 2001 From: Rupinder Date: Tue, 31 Mar 2020 15:36:37 +0530 Subject: removed more unused imports Removed more unused imports from the code Issue-ID: USECASEUI-423 Change-Id: Ib00104a2bcce6009524f777574c945c3235dbcf6 Signed-off-by: Rupinder --- .../slicingdomain/aai/bean/AAIServiceProfiles.java | 4 ---- .../service/slicingdomain/aai/bean/RelationshipData.java | 4 ---- .../server/service/slicingdomain/kpi/KpiSliceService.java | 1 - .../server/service/slicingdomain/so/SOSliceService.java | 1 - .../server/service/slicingdomain/so/bean/SOOperation.java | 2 -- .../org/onap/usecaseui/server/util/RestfulServices.java | 15 --------------- .../onap/usecaseui/server/util/nsmf/NsmfCommonUtil.java | 1 - 7 files changed, 28 deletions(-) diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceProfiles.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceProfiles.java index 4338f469..5702c141 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceProfiles.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/AAIServiceProfiles.java @@ -12,10 +12,6 @@ */ package org.onap.usecaseui.server.service.slicingdomain.aai.bean; -import javax.persistence.Column; -import javax.persistence.Id; - -import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/RelationshipData.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/RelationshipData.java index 843b2222..b579f42f 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/RelationshipData.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/aai/bean/RelationshipData.java @@ -12,10 +12,6 @@ */ package org.onap.usecaseui.server.service.slicingdomain.aai.bean; -import java.util.List; - -import com.fasterxml.jackson.annotation.JsonProperty; - public class RelationshipData { private String relationshipKey; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/kpi/KpiSliceService.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/kpi/KpiSliceService.java index e6637f5f..3794dad1 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/kpi/KpiSliceService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/kpi/KpiSliceService.java @@ -22,7 +22,6 @@ import org.onap.usecaseui.server.service.slicingdomain.kpi.bean.KpiUserNumber; import okhttp3.RequestBody; import retrofit2.Call; import retrofit2.http.Body; -import retrofit2.http.GET; import retrofit2.http.Headers; import retrofit2.http.POST; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/SOSliceService.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/SOSliceService.java index 4293c9a9..91e4b2d5 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/SOSliceService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/SOSliceService.java @@ -26,7 +26,6 @@ import okhttp3.RequestBody; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.Body; -import retrofit2.http.DELETE; import retrofit2.http.GET; import retrofit2.http.HTTP; import retrofit2.http.Headers; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/bean/SOOperation.java b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/bean/SOOperation.java index 58b04fdf..68a7a410 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/bean/SOOperation.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/slicingdomain/so/bean/SOOperation.java @@ -12,8 +12,6 @@ */ package org.onap.usecaseui.server.service.slicingdomain.so.bean; -import java.util.Date; -import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/server/src/main/java/org/onap/usecaseui/server/util/RestfulServices.java b/server/src/main/java/org/onap/usecaseui/server/util/RestfulServices.java index e2fe11a2..717fbbeb 100644 --- a/server/src/main/java/org/onap/usecaseui/server/util/RestfulServices.java +++ b/server/src/main/java/org/onap/usecaseui/server/util/RestfulServices.java @@ -17,32 +17,17 @@ package org.onap.usecaseui.server.util; import java.io.BufferedReader; import java.io.IOException; -import java.io.InputStreamReader; -import java.security.KeyManagementException; -import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; -import java.security.cert.CertificateException; -import java.security.cert.X509Certificate; import java.util.concurrent.TimeUnit; - -import javax.naming.Context; import javax.net.ssl.HostnameVerifier; -import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSession; import javax.net.ssl.SSLSocketFactory; import javax.net.ssl.TrustManager; -import javax.net.ssl.X509TrustManager; -import javax.servlet.ServletInputStream; import javax.servlet.http.HttpServletRequest; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import org.glassfish.jersey.client.ClientConfig; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.alibaba.dubbo.common.utils.IOUtils; import okhttp3.MediaType; import okhttp3.OkHttpClient; diff --git a/server/src/main/java/org/onap/usecaseui/server/util/nsmf/NsmfCommonUtil.java b/server/src/main/java/org/onap/usecaseui/server/util/nsmf/NsmfCommonUtil.java index b7669992..a7f83a47 100644 --- a/server/src/main/java/org/onap/usecaseui/server/util/nsmf/NsmfCommonUtil.java +++ b/server/src/main/java/org/onap/usecaseui/server/util/nsmf/NsmfCommonUtil.java @@ -17,7 +17,6 @@ package org.onap.usecaseui.server.util.nsmf; import java.text.ParseException; import java.text.SimpleDateFormat; -import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.List; -- cgit 1.2.3-korg