aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-10-03 08:44:49 +0300
committerEylon Malin <eylon.malin@intl.att.com>2019-10-03 08:44:49 +0300
commitf6989c5ce8528e43a788cc72c977ed980150212e (patch)
treef6e635076a2d34313e51688efb7f00b794f4bf8a /vid-app-common/src/main/java/org/onap
parent6a4bbd8dded066fae4bc034d65a059e41b06661e (diff)
remove unused post method
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I17260b3228ea4d0d4cff80bcfe2aa941cc8e19f2
Diffstat (limited to 'vid-app-common/src/main/java/org/onap')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/mso/MsoInterface.java6
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/mso/rest/MsoRestClientNew.java8
2 files changed, 2 insertions, 12 deletions
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 {
<T> HttpResponse<T> post(String path, RequestDetailsWrapper<?> requestDetailsWrapper, Class<T> responseClass);
- <T> HttpResponse<T> post(String path, RequestDetails requestDetails, Class<T> 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 <T> HttpResponse<T> post(String endpoint, RequestDetails requestDetails, Class<T> responseClass) {
- String path = baseUrl + endpoint;
-
- return client.post(path, getHeaders(), requestDetails, responseClass);
- }
-
-
public HttpResponse<SOWorkflowList> getWorkflowListByModelId(String endpoint){
String path = baseUrl + endpoint;