Add tests of attribute-axis feature 88/139588/3
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 2 Dec 2024 14:49:10 +0000 (14:49 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Tue, 3 Dec 2024 15:49:03 +0000 (15:49 +0000)
commitcca2dc7d661fa6fbad66bfdde2638b7bfd6b9bcd
tree5dc4327ea1008a881bb059769537cf256a57e107
parent902d17332d3e5cebe545991e01a5e55f739f0f80
Add tests of attribute-axis feature

Following TDD, functional acceptance tests are added for
attribute-axis feature. This covers xpaths such as '//books/@title'

- Add stub to CpsQueryService throwing UnsupportedOperationException
- Add tests showing expected behaviour (tests currently ignored)
- Implementation will be provided in following commmit for CPS-2416

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