aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-kserve/src/main/java
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2023-02-21 09:09:15 +0000
committerLiam Fallon <liam.fallon@est.tech>2023-02-21 09:11:28 +0000
commitb44b2609a010894a2c1d3211f7099aed6a45fe64 (patch)
treed43a55700b19d12670651d16ec51eb4f0297522f /participant/participant-impl/participant-impl-kserve/src/main/java
parent705bf225334bff05156ecf44ac72abffe01c859a (diff)
Fix build in kserve participant
The kserve participant build breaks due to refactoring in other classes. Issue-ID: POLICY-4482 Change-Id: I023fb74faad4b3b0d80d9fb8771d9b58497db191 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-kserve/src/main/java')
-rwxr-xr-xparticipant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/exception/KserveException.java1
-rwxr-xr-xparticipant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/k8s/InferenceServiceValidator.java1
2 files changed, 1 insertions, 1 deletions
diff --git a/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/exception/KserveException.java b/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/exception/KserveException.java
index 045c80c21..952599c85 100755
--- a/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/exception/KserveException.java
+++ b/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/exception/KserveException.java
@@ -24,6 +24,7 @@ import javax.ws.rs.core.Response;
import org.onap.policy.models.base.PfModelException;
public class KserveException extends PfModelException {
+ private static final long serialVersionUID = 7126834020527531225L;
public KserveException(String message) {
super(Response.Status.BAD_GATEWAY, message);
diff --git a/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/k8s/InferenceServiceValidator.java b/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/k8s/InferenceServiceValidator.java
index 65c4c7e27..5cffa48f8 100755
--- a/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/k8s/InferenceServiceValidator.java
+++ b/participant/participant-impl/participant-impl-kserve/src/main/java/org/onap/policy/clamp/acm/participant/kserve/k8s/InferenceServiceValidator.java
@@ -25,7 +25,6 @@ import lombok.SneakyThrows;
import org.onap.policy.clamp.acm.participant.kserve.exception.KserveException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Autowired;
public class InferenceServiceValidator implements Runnable {