Use attribute-axis in NCMP [#4] 92/140592/2
authoremaclee <lee.anjella.macabuhay@est.tech>
Mon, 24 Mar 2025 17:29:03 +0000 (17:29 +0000)
committeremaclee <lee.anjella.macabuhay@est.tech>
Tue, 25 Mar 2025 14:57:36 +0000 (14:57 +0000)
commit332098e4859a60b5edbd2dc4ffb0e1b3a701985c
treee65c9863392209b81dc8dbd943cc7191d5d60587
parentb3279eefb5ad55054e6098b266686def8367286d
Use attribute-axis in NCMP [#4]

- introduce getCmHandleReferencesByCpsPath for queries by cps
  path in replacement for use of
  'queryCmHandleAncestorsByCpsPath'

Issue-ID: CPS-2666
Change-Id: I38b76e1f255ad1751b13f6a22dbcf540fed764bd
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/CmHandleQueryService.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/CmHandleQueryServiceImpl.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/ParameterizedCmHandleQueryServiceImpl.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/inventory/CmHandleQueryServiceImplSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/inventory/ParameterizedCmHandleQueryServiceSpec.groovy