*/
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
*/
public String getServiceLocation(String service, String fallbackPortOnLocalhost) throws NoHealthyServiceException;
+
+ /**
+ * This method returns the location of Machine learning -
+ *
+ *
+ * @return Service location
+ */
+ public String getMLServiceLocation();
+
}