// Initialize configuration subsystem
val mc = Configurator.MasterConfigurator
mc.startServices()
- val port = mc.getInt(Configurator.Keys.rest_port).getOr(RESTActorService.DefaultHttpPort)
+ val port = mc.getInt(Configurator.Keys.rest_port).getOr(
+ throw new Exception("No %s specified in aquarium properties".format(Configurator.Keys.rest_port)))
val dialog = SprayHttpDialog("localhost", port)
val pingReq = HttpRequest(method = GET, uri = "/ping", headers = HttpHeader("Content-Type", "text/plain; charset=UTF-8")::Nil)