From: Sangalang, Felix Date: Fri, 13 Sep 2019 12:29:06 +0000 (-0400) Subject: ServiceRecipeRepository id wrong type Long (vs X-Git-Tag: 1.5.3~39 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a0e244555bd17417855ae139503c0631f1092cee;p=so.git ServiceRecipeRepository id wrong type Long (vs ServiceRecipeRepository id wrong type Long (vs Integer). Issue-ID: SO-2329 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Iecc07ea771f18ce832a09de8b62b31b09754f7a5 --- 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 { +public interface ServiceRecipeRepository extends JpaRepository { ServiceRecipe findByActionAndServiceModelUUID(String action, String serviceModelUUID); ServiceRecipe findByAction(String action);