From 4751c29632d2f32abba85dd91296fb91672a2f59 Mon Sep 17 00:00:00 2001 From: Wojciech Sliwka Date: Tue, 25 Jun 2019 11:42:46 +0200 Subject: Extend probe mechanism Fixes from latest review. Introduce probe interface. ResponseWithRequestInfo is not used - it belongs to aai package and requires javax.ws.rs.core.Response. Fallback in aai client will be removed as soon as sdc provides https support (hopefully in El Alto). Change-Id: I4527d447a273328d38ff2ef7f9d2a93453cec9f2 Issue-ID: VID-490 Signed-off-by: Wojciech Sliwka --- .../src/main/java/org/onap/vid/model/probes/HttpRequestMetadata.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vid-app-common/src/main/java/org/onap/vid/model/probes/HttpRequestMetadata.java') diff --git a/vid-app-common/src/main/java/org/onap/vid/model/probes/HttpRequestMetadata.java b/vid-app-common/src/main/java/org/onap/vid/model/probes/HttpRequestMetadata.java index 58d9e242f..1638a376c 100644 --- a/vid-app-common/src/main/java/org/onap/vid/model/probes/HttpRequestMetadata.java +++ b/vid-app-common/src/main/java/org/onap/vid/model/probes/HttpRequestMetadata.java @@ -81,10 +81,6 @@ public class HttpRequestMetadata extends StatusMetadata { duration); } - public HttpRequestMetadata(HttpResponse response, HttpMethod method, String description, long duration, String url) { - this(method, response.getStatus(), url, response.getBody(), description, duration); - } - public HttpMethod getHttpMethod() { -- cgit 1.2.3-korg