Changes made to upgrade pom version
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / service / WidgetMService.java
index dd03d06..1c53a0c 100644 (file)
  */
 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();
+
 }