class FunctionRepository {

	public Function findById(Function function) {
		FunctionEntity entity = functionJdbcRepository.findById(new FunctionEntity().toEntity(function));
		return entity.toDomain();

	}

	@Autowired public  FunctionRepository(FunctionJdbcRepository functionJdbcRepository,
			MastersQueueRepository functionQueueRepository, FinancialConfigurationService financialConfigurationService,
			FunctionESRepository functionESRepository, @Value("${persist.through.kafka}") String persistThroughKafka);

}