2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-09-04 00:05:12 +00:00

portal health endpoint (#375)

* portal health endpoint
This commit is contained in:
Rebecca Star
2018-12-03 16:54:59 -05:00
committed by GitHub
parent 5a1e5b0879
commit 4a442789e3
11 changed files with 112 additions and 7 deletions

View File

@@ -26,6 +26,8 @@ import play.api.libs.json.{JsObject, JsValue, Json}
import vinyldns.core.crypto.{CryptoAlgebra, NoOpCrypto}
import vinyldns.core.domain.membership._
import vinyldns.core.domain.record._
import vinyldns.core.health.HealthService
import scala.util.Success
trait TestApplicationData { this: Mockito =>
@@ -239,7 +241,8 @@ trait TestApplicationData { this: Mockito =>
bind[Authenticator].to(mockAuth),
bind[UserRepository].to(mockUserRepo),
bind[UserChangeRepository].to(mockUserChangeRepo),
bind[CryptoAlgebra].to(new NoOpCrypto())
bind[CryptoAlgebra].to(new NoOpCrypto()),
bind[HealthService].to(new HealthService(List()))
)
.configure(testConfig)
.build()