Created
July 31, 2017 16:28
-
-
Save jeroenr/9701ad118ccdc2347b39da2fc6500383 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Boot extends App | |
with HealthCheckRoute | |
with HealthCheckService { | |
val mongoClient = new MongoClient { | |
// insert real implementation here | |
def listDatabaseNames() = Future.successful(Nil) | |
} | |
override def checks: List[HealthCheck] = List(new MongoDbHealthCheck(mongoClient)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment