Allow limiting results in queryDataLeaf 01/140401/2
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 5 Mar 2025 17:28:07 +0000 (17:28 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Tue, 11 Mar 2025 09:33:56 +0000 (09:33 +0000)
commitb701e3090b90b4bb3aef93c9f89a6d642e6e084a
tree46c3ba9a98d6e7a45832b2514b837545190321af
parent025b21992b7b88d03f630beb8299bf2be28286a9
Allow limiting results in queryDataLeaf

This exposes queryResultLimit parameter in queryDataLeaf,
same as was implemented for queryDataNodes API.

Issue-ID: CPS-2680
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ieb922ac1acc91dbfd67fb5ade7856213a2f93ce8
cps-ri/src/main/java/org/onap/cps/ri/CpsDataPersistenceServiceImpl.java
cps-service/src/main/java/org/onap/cps/api/CpsQueryService.java
cps-service/src/main/java/org/onap/cps/impl/CpsQueryServiceImpl.java
cps-service/src/main/java/org/onap/cps/spi/CpsDataPersistenceService.java
cps-service/src/test/groovy/org/onap/cps/impl/CpsQueryServiceImplSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/cps/QueryServiceIntegrationSpec.groovy