diff options
Diffstat (limited to 'mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ExternalServiceToInternalServiceRepository.java')
-rw-r--r-- | mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ExternalServiceToInternalServiceRepository.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ExternalServiceToInternalServiceRepository.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ExternalServiceToInternalServiceRepository.java index 91a912920e..546d1819dc 100644 --- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ExternalServiceToInternalServiceRepository.java +++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ExternalServiceToInternalServiceRepository.java @@ -24,9 +24,12 @@ import org.onap.so.db.catalog.beans.ExternalServiceToInternalService; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; -@RepositoryRestResource(collectionResourceRel = "externalServiceToInternalService", path = "externalServiceToInternalService") +@RepositoryRestResource(collectionResourceRel = "externalServiceToInternalService", + path = "externalServiceToInternalService") public interface ExternalServiceToInternalServiceRepository - extends JpaRepository<ExternalServiceToInternalService, Integer> { - ExternalServiceToInternalService findByServiceName(String serviceName); - ExternalServiceToInternalService findByServiceNameAndSubscriptionServiceType(String serviceName , String subscriptionServiceType); + extends JpaRepository<ExternalServiceToInternalService, Integer> { + ExternalServiceToInternalService findByServiceName(String serviceName); + + ExternalServiceToInternalService findByServiceNameAndSubscriptionServiceType(String serviceName, + String subscriptionServiceType); } |