SumoLogic/marathon-client

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

marathon-client

Very early work on a Marathon API client using spray.io.

Dependencies
Examples
Get the list of running tasks.
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()

License

Released under Apache 2.0 License.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.