-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Yuval Aviyam edited this page Dec 24, 2017
·
1 revision
(An experimental project)
<dependency>
<groupId>com.wixpress.eureka</groupId>
<artifactId>wix-eureka-dl-api</artifactId>
</dependency>
Put in your ERB file the following line:
<eurekaUrl><%= service_url("com.wixpress.eureka.wix-eureka-dl-engine") %></eurekaUrl>
Init ClassificationService with rpcProxyFactory
rpcProxyFactory.builderFor(classOf[ClassificationService])
.withAbsoluteUrl(eurekaUrl + "/ClassificationService")
.build()
Init PredictionService with rpcProxyFactory
rpcProxyFactory.builderFor(classOf[PredictionService])
.withAbsoluteUrl(eurekaUrl + "/PredictionService")
.build()
Init CorrelationService with rpcProxyFactory
rpcProxyFactory.builderFor(classOf[PredictService])
.withAbsoluteUrl(eurekaUrl + "/CorrelationService")
.build()