return builder;
}
private EventSourceRest convertEventSource(EventSource source) {
EventSourceRest esr = new EventSourceRest();
esr.setId(source.getId());
esr.setDescription(source.getEventDefinition().getDescription());
esr.setDisplayName(source.getEventDefinition().getDisplayName());
esr.setName(source.getEventDefinition().getName());
esr.setLocation(source.getLocation());
esr.setResourceId(source.getResourceId());
return esr;
}