def callFromArn: String => Call = arn => routes.Api.data()

in app/collectors/data.scala [32:43]


  def callFromArn: String => Call = arn => routes.Api.data(arn)
  def firstMatchingData(
      stack: String,
      app: String,
      stage: String
  ): Option[Value] = {
    values.find { data =>
      data.appRegex.findFirstMatchIn(app).isDefined &&
      data.stageRegex.findFirstMatchIn(stage).isDefined &&
      data.stackRegex.findFirstMatchIn(stack).isDefined
    }
  }