X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ecomp-portal-BE-common%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportalapp%2Fportal%2Fservice%2FWidgetMService.java;h=1c53a0c3e06e1682d250685b45e3bf31c1263c7b;hb=8e83c25788017acd56271a72286f7dcbc974e76d;hp=dd03d06df404dd30b9b6d4008c2225990403b52a;hpb=6e50276a42ab82cfe34ced9cf97e545283f37f2a;p=portal.git diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/WidgetMService.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/WidgetMService.java index dd03d06d..1c53a0c3 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/WidgetMService.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/WidgetMService.java @@ -37,17 +37,12 @@ */ package org.onap.portalapp.portal.service; -import java.util.List; - import org.onap.portalapp.portal.exceptions.NoHealthyServiceException; -import com.ecwid.consul.ConsulException; -import com.orbitz.consul.model.health.ServiceHealth; - public interface WidgetMService { /** - * This method returns the location of one healthy node if found in Consul - - * If not found in / by Consul, it falls back to 'localhost' + * This method returns the location of Widget MS - + * * * @param service * @param fallbackPortOnLocalhost @@ -56,4 +51,13 @@ public interface WidgetMService { */ public String getServiceLocation(String service, String fallbackPortOnLocalhost) throws NoHealthyServiceException; + + /** + * This method returns the location of Machine learning - + * + * + * @return Service location + */ + public String getMLServiceLocation(); + }