February 2018
Intermediate to advanced
552 pages
13h 46m
English
In this section, we will perform the following steps to develop our Reactive System's Consumer API (wf-consumer-api) microservice:
case class WeatherForcasting(city:String, temperature:String)
object WeatherForcasting {
implicit val format: Format[WeatherForcasting] = Json.format[WeatherForcasting]
}
trait WFConsumerService extends Service { override def descriptor: Descriptor = { import Service._ named("wfconsumer").withCalls( restCall(Method.GET, "/api/wf", findTopTenWFData _), restCall(Method.GET, "/api/wf/one", findOneWFData _), restCall(Method.GET, ...Read now
Unlock full access