diff options
-rw-r--r-- | mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ServiceRecipeRepository.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ServiceRecipeRepository.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ServiceRecipeRepository.java index 898911fd1c..d49d5e864d 100644 --- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ServiceRecipeRepository.java +++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/data/repository/ServiceRecipeRepository.java @@ -25,7 +25,7 @@ import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; @RepositoryRestResource(collectionResourceRel = "serviceRecipe", path = "serviceRecipe") -public interface ServiceRecipeRepository extends JpaRepository<ServiceRecipe, Long> { +public interface ServiceRecipeRepository extends JpaRepository<ServiceRecipe, Integer> { ServiceRecipe findByActionAndServiceModelUUID(String action, String serviceModelUUID); ServiceRecipe findByAction(String action); |