class ConfigurationService {

  public Configuration createConfiguration(Configuration configuration, User user) {
    Configuration result = configurationRepository.save(configuration);
    logger.info("Created configuration " + result.getName() + " (id: " + result.getId() + ")");
    activityService.createActivity(user, result, Action.CREATED);
    return result;
  }

}