class GcpJobStatusService implements JobStatusService {

  @Override
  public IngestJob get(String jobId) {
    log.debug("Request for getting a injection job. JobId: {}", jobId);
    return ingestJobRepository.findById(jobId)
        .orElseThrow(() -> new IngestJobNotFoundException("Not ingest job found by id = " + jobId));
  }

}