Skip to content

Instantly share code, notes, and snippets.

@fmpwizard
Created February 18, 2011 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fmpwizard/834021 to your computer and use it in GitHub Desktop.
Save fmpwizard/834021 to your computer and use it in GitHub Desktop.
REST API
/**
* listenerFor(srvmgrVersion) returns a DispatcherActor that in turn
* will send the CellToUpdate clas class to the comet actors that are
* displaying info about the version we got json data for
*/
listenerFor(srvmgrVersion) match {
case a: LiftActor => a ! CellToUpdate(
testName, browser, srvmgrVersion, testResult, cellNotes
)
case _ => info("No actor to send an update")
}
debug("We will update column: %s, row: %s".format(testName, browser))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment