Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 572 Bytes
import com.twitter.finagle.memcached.protocol.Response
import com.twitter.logging.LoggerFactory
import com.twitter.logging.config._
import com.twitter.ostrich.admin.config.AdminServiceConfig
import com.twitter.parrot.config.ParrotServerConfig
import com.twitter.parrot.server._
import com.twitter.parrot.util.LocalCluster
import com.twitter.util.RandomSocket
new ParrotServerConfig[ParrotRequest, Response] {
com.twitter.parrot.util.ConsoleHandler.start(Level.ALL)
httpPort = RandomSocket().getPort
thriftServer = None
clusterService = Some(new LocalCluster)
}