UserRolesController up + tests
[portal.git] / portal-BE / src / main / java / org / onap / portal / service / fn / FnUserService.java
index cd966fb..0565fc5 100644 (file)
@@ -44,7 +44,6 @@ import java.security.Principal;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Optional;
-import java.util.stream.Collectors;
 import org.onap.portal.dao.fn.FnUserDao;
 import org.onap.portal.domain.db.fn.FnUser;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -104,4 +103,8 @@ public class FnUserService implements UserDetailsService {
        public boolean existById(final Long userId) {
               return fnUserDao.existsById(userId);
        }
+
+       public List<FnUser> findAll(){
+              return fnUserDao.findAll();
+       }
 }