def getPathDetails()

in path-manager/app/controllers/PathManagerController.scala [111:123]


  def getPathDetails(path: String) = Action {
    logger.debug(s"looking up path $path")
    val pathDetails = PathStore.getPathDetails(path)
    val pathsByType = pathDetails.groupBy(_.`type`)
    PathLookups.increment
    if(pathsByType.isEmpty) {
      logger.debug(s"path $path not registered")
      NotFound
    } else {
      logger.debug(s"path $path found")
      argoOk(Json.toJson(pathsByType))
    }
  }