From f6989c5ce8528e43a788cc72c977ed980150212e Mon Sep 17 00:00:00 2001 From: Eylon Malin Date: Thu, 3 Oct 2019 08:44:49 +0300 Subject: remove unused post method Issue-ID: VID-253 Signed-off-by: Eylon Malin Change-Id: I17260b3228ea4d0d4cff80bcfe2aa941cc8e19f2 --- vid-app-common/src/main/java/org/onap/vid/mso/MsoInterface.java | 6 ++---- .../src/main/java/org/onap/vid/mso/rest/MsoRestClientNew.java | 8 -------- 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'vid-app-common/src/main') diff --git a/vid-app-common/src/main/java/org/onap/vid/mso/MsoInterface.java b/vid-app-common/src/main/java/org/onap/vid/mso/MsoInterface.java index d1cb3a37b..a16b44925 100644 --- a/vid-app-common/src/main/java/org/onap/vid/mso/MsoInterface.java +++ b/vid-app-common/src/main/java/org/onap/vid/mso/MsoInterface.java @@ -21,14 +21,13 @@ package org.onap.vid.mso; import io.joshworks.restclient.http.HttpResponse; +import java.util.Map; import org.onap.vid.aai.HttpResponseWithRequestInfo; import org.onap.vid.changeManagement.RequestDetailsWrapper; -import org.onap.vid.model.SOWorkflowList; import org.onap.vid.changeManagement.WorkflowRequestDetail; +import org.onap.vid.model.SOWorkflowList; import org.onap.vid.mso.rest.RequestDetails; -import java.util.Map; - /** * Created by pickjonathan on 21/06/2017. */ @@ -124,6 +123,5 @@ public interface MsoInterface { HttpResponse post(String path, RequestDetailsWrapper requestDetailsWrapper, Class responseClass); - HttpResponse post(String path, RequestDetails requestDetails, Class responseClass); } diff --git a/vid-app-common/src/main/java/org/onap/vid/mso/rest/MsoRestClientNew.java b/vid-app-common/src/main/java/org/onap/vid/mso/rest/MsoRestClientNew.java index 6d7f74f36..82b2fd3d8 100644 --- a/vid-app-common/src/main/java/org/onap/vid/mso/rest/MsoRestClientNew.java +++ b/vid-app-common/src/main/java/org/onap/vid/mso/rest/MsoRestClientNew.java @@ -482,14 +482,6 @@ public class MsoRestClientNew implements MsoInterface { return client.post(path, getHeaders(), requestDetailsWrapper, responseClass); } - @Override - public HttpResponse post(String endpoint, RequestDetails requestDetails, Class responseClass) { - String path = baseUrl + endpoint; - - return client.post(path, getHeaders(), requestDetails, responseClass); - } - - public HttpResponse getWorkflowListByModelId(String endpoint){ String path = baseUrl + endpoint; -- cgit 1.2.3-korg