Code Review
/
portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Changes made to upgrade pom version
[portal.git]
/
ecomp-portal-BE-common
/
src
/
main
/
java
/
org
/
onap
/
portalapp
/
portal
/
service
/
WidgetMService.java
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
dd03d06
..
1c53a0c
100644
(file)
--- 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;
*/
package org.onap.portalapp.portal.service;
-import java.util.List;
-
import org.onap.portalapp.portal.exceptions.NoHealthyServiceException;
import org.onap.portalapp.portal.exceptions.NoHealthyServiceException;
-import com.ecwid.consul.ConsulException;
-import com.orbitz.consul.model.health.ServiceHealth;
-
public interface WidgetMService {
/**
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
*
* @param service
* @param fallbackPortOnLocalhost
@@
-56,4
+51,13
@@
public interface WidgetMService {
*/
public String getServiceLocation(String service, String fallbackPortOnLocalhost) throws NoHealthyServiceException;
*/
public String getServiceLocation(String service, String fallbackPortOnLocalhost) throws NoHealthyServiceException;
+
+ /**
+ * This method returns the location of Machine learning -
+ *
+ *
+ * @return Service location
+ */
+ public String getMLServiceLocation();
+
}
}