in app/com/gu/floodgate/reindex/ProgressTracker.scala [18:30]
def props(ws: WSClient, runningJobService: RunningJobService, jobHistoryService: JobHistoryService) =
Props(new ProgressTracker(ws, runningJobService, jobHistoryService))
case class TrackProgress(contentSource: ContentSource, runningJob: RunningJob)
case class UpdateProgress(result: Try[WSResponse], contentSource: ContentSource, runningJob: RunningJob)
case class Cancel(contentSource: ContentSource, runningJob: RunningJob)
}
class ProgressTracker(ws: WSClient, runningJobService: RunningJobService, jobHistoryService: JobHistoryService)
extends Actor
with ActorLogging
with StrictLogging {