diff --git a/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/ArchivedRegistrationRequestRepository.java b/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/ArchivedRegistrationRequestRepository.java index 38eb446..6c12d33 100644 --- a/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/ArchivedRegistrationRequestRepository.java +++ b/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/ArchivedRegistrationRequestRepository.java @@ -1,9 +1,10 @@ package eu.nebulous.resource.discovery.registration.repository; import eu.nebulous.resource.discovery.registration.model.ArchivedRegistrationRequest; -import eu.nebulous.resource.discovery.registration.model.RegistrationRequest; import org.springframework.data.mongodb.repository.MongoRepository; +import java.util.List; + public interface ArchivedRegistrationRequestRepository extends MongoRepository { - RegistrationRequest findByRequester(String requester); + List findByRequester(String requester); } diff --git a/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/RegistrationRequestRepository.java b/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/RegistrationRequestRepository.java index 4e64bce..395d910 100644 --- a/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/RegistrationRequestRepository.java +++ b/management/src/main/java/eu/nebulous/resource/discovery/registration/repository/RegistrationRequestRepository.java @@ -3,6 +3,8 @@ package eu.nebulous.resource.discovery.registration.repository; import eu.nebulous.resource.discovery.registration.model.RegistrationRequest; import org.springframework.data.mongodb.repository.MongoRepository; +import java.util.List; + public interface RegistrationRequestRepository extends MongoRepository { - RegistrationRequest findByRequester(String requester); + List findByRequester(String requester); }