throw new CommandParsingException(request,"Resource name cannot be empty");
}
Resource resource = RESOURCES.get(name);
if (resource == null){
throw new ResourceNotFoundException(request,"Resource not found");
}
JsonNode response = resource.execute(request,callback);
return response;
} else {