diff options
author | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2023-01-26 12:03:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-01-26 12:03:10 +0000 |
commit | 528cf81a398b679e17ebccc446b759548722e7cc (patch) | |
tree | f20e1675fe91b80c585e62ac961e3f0347e00717 /cps-ri/src/main/java | |
parent | 16e2358e3fef5fc19f7bf9b57f682f580cff404e (diff) | |
parent | 665e22472f9658a4d439da0323e6e8760ec60840 (diff) |
Merge "Springboot Integration tests improvements"
Diffstat (limited to 'cps-ri/src/main/java')
-rwxr-xr-x | cps-ri/src/main/java/org/onap/cps/spi/repository/AnchorRepository.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/repository/AnchorRepository.java b/cps-ri/src/main/java/org/onap/cps/spi/repository/AnchorRepository.java index 471f1758cd..3dbd578c73 100755 --- a/cps-ri/src/main/java/org/onap/cps/spi/repository/AnchorRepository.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/repository/AnchorRepository.java @@ -1,7 +1,7 @@ /* * ============LICENSE_START======================================================= * Copyright (C) 2021 Pantheon.tech - * Modifications Copyright (C) 2021 Nordix Foundation + * Modifications Copyright (C) 2021-2023 Nordix Foundation * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,7 +30,9 @@ import org.onap.cps.spi.exceptions.AnchorNotFoundException; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; +import org.springframework.stereotype.Repository; +@Repository public interface AnchorRepository extends JpaRepository<AnchorEntity, Integer> { Optional<AnchorEntity> findByDataspaceAndName(@NotNull DataspaceEntity dataspaceEntity, @NotNull String name); |