class ElasticsearchIncidentRepository implements IncidentRepository {

	@Override
	public Incident getIncidentByCheckId(String checkId) {
		return elasticsearchClient.getObject(BASE_URL + "/" + getEsId(checkId), Incident.class);
	}

	public  ElasticsearchIncidentRepository(ElasticsearchClient elasticsearchClient);

}