Faster module searches (CPS-2190 #3) 90/137790/1 master
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 26 Apr 2024 09:09:54 +0000 (10:09 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 26 Apr 2024 09:48:29 +0000 (10:48 +0100)
commit2830723b8c5d5bb40c171c88f055adbc1a808f68
treedd32cb1b04c1724614c9f3f7bdc683a1be09e803
parent2b979f63a4020b65a2a85ecdb2bfa2b970eb9f76
Faster module searches (CPS-2190 #3)

This greatly improves performance of module searches by eliminating
unneeded SQL queries via Hibernate lazy fetching.

Issue-ID: CPS-2190
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ie9e65017d0027366456f1741cc37b10679317b25
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsAdminPersistenceServiceImpl.java
cps-ri/src/main/java/org/onap/cps/spi/repository/AnchorRepository.java
cps-service/src/main/java/org/onap/cps/api/impl/CpsAnchorServiceImpl.java
cps-service/src/main/java/org/onap/cps/spi/CpsAdminPersistenceService.java
cps-service/src/test/groovy/org/onap/cps/api/impl/CpsAnchorServiceImplSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/ModuleQueryPerfTest.groovy