def getOwners()

in app/prism/Prism.scala [14:28]


  def getOwners(implicit
      config: AMIableConfig,
      ec: ExecutionContext
  ): Attempt[Owners] = {
    val url = ownersUrl(config.prismUrl)
    for {
      response <- Http.response(
        config.wsClient.url(url).get(),
        "Unable to fetch Owners",
        url
      )
      ownersJson <- ownersResponseJson(response)
      owners <- extractOwners(ownersJson)
    } yield owners
  }