class RepositoryUserService implements UserService {

    public User getOrCreateUserById(@NonNull String userId) {
        return userRepo.findById(userId)
                .orElseGet(() -> userRepo.save(new User(userId)));
    }

    public  RepositoryUserService(UserRepository userRepo,
                                 UserDataRepository dataRepo,
                                 LdapAdapter ldapAdapter,
                                 HierarchyTreeNodeRepository hierarchyTreeNodeRepo,
                                 HibernateSearchService hibernateSearchService);

}