diff options
author | Sangalang, Felix <felix.sangalang@att.com> | 2019-09-13 08:29:06 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@att.com> | 2019-09-13 08:29:07 -0400 |
commit | a0e244555bd17417855ae139503c0631f1092cee (patch) | |
tree | bd330fc12433ed12a723821bf8e73f0a81aa065d /mso-catalog-db/src | |
parent | f4f42b9b89880e8992c483255ed04863a3577f64 (diff) |
ServiceRecipeRepository id wrong type Long (vs
ServiceRecipeRepository id wrong type Long (vs Integer).
Issue-ID: SO-2329
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: Iecc07ea771f18ce832a09de8b62b31b09754f7a5
Diffstat (limited to 'mso-catalog-db/src')
-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); |