Name: marathon-client
Owner: Sumo Logic, Inc.
Description: null
Created: 2015-07-14 16:54:54.0
Updated: 2015-07-14 18:25:07.0
Pushed: 2015-12-18 18:07:18.0
Homepage: null
Size: 224
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Very early work on a Marathon API client using spray.io.
provided
scope, ie. you need to pull it yourself.)icit val timeout: Timeout = 5.seconds
icit val system = ActorSystem("simple-example")
rt system.dispatcher
auth = new BasicHttpCredentials("username", "password")
baseUri = Uri("www.domain.com") withPort 8080
marathon = new Marathon(baseUri, Some(auth))
{
intln(s"${Await.result(marathon.tasks.list(), Duration.Inf).tasks.mkString("\n")}")
tch {
se e: Exception => e.printStackTrace()
nally {
stem.shutdown()
Released under Apache 2.0 License.