class EventServiceImpl implements EventService, LocalDhisRepositoryPersistCallback<Event> {

    @HystrixCommand( ignoreExceptions = { DhisConflictException.class, UnauthorizedException.class } )
    @Nonnull
    @Override
    @CacheEvict( key = "{'find', #a0.programId, #a0.programStageId, #a0.enrollmentId, #a0.trackedEntityInstanceId}", cacheManager = "dhisCacheManager", cacheNames = "events" )
    public Event createOrMinimalUpdate( @Nonnull Event event )
    {
        return resourceRepositoryTemplate.save( event );
    }

    @Autowired public  EventServiceImpl( @Nonnull @Qualifier( "userDhis2RestTemplate" ) RestTemplate restTemplate, @Nonnull RequestCacheService requestCacheService, @Nonnull PolledProgramRetriever polledProgramRetriever );

}