XML content on create anchors node support 56/131656/18
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 13 Dec 2022 07:40:19 +0000 (07:40 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Thu, 22 Dec 2022 14:26:34 +0000 (14:26 +0000)
commit6ce84d98f68b45f02f16dc99423670f4a53fd946
tree76c6e18fac0506acb762ce8078ad7d4605ff6d7d
parentdbf10db6f468075293d61e7bbeb9006fd15cfce6
XML content on create anchors node support

Add XML content type support on anchor node creation.

Issue-ID: CPS-1257
Change-Id: I7e7a9a1961b6e81de93a4e32e842b47f8a163a09
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Signed-off-by: Lee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>
18 files changed:
cps-application/pom.xml
cps-rest/docs/openapi/components.yml
cps-rest/docs/openapi/cpsData.yml
cps-rest/src/main/java/org/onap/cps/rest/controller/DataRestController.java
cps-rest/src/test/groovy/org/onap/cps/rest/controller/DataRestControllerSpec.groovy
cps-rest/src/test/groovy/org/onap/cps/rest/exceptions/CpsRestExceptionHandlerSpec.groovy
cps-service/pom.xml
cps-service/src/main/java/org/onap/cps/api/CpsDataService.java
cps-service/src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java
cps-service/src/main/java/org/onap/cps/utils/ContentType.java [new file with mode: 0644]
cps-service/src/main/java/org/onap/cps/utils/XmlFileUtils.java [new file with mode: 0644]
cps-service/src/main/java/org/onap/cps/utils/YangUtils.java
cps-service/src/test/groovy/org/onap/cps/api/impl/CpsDataServiceImplSpec.groovy
cps-service/src/test/groovy/org/onap/cps/utils/XmlFileUtilsSpec.groovy [new file with mode: 0644]
cps-service/src/test/groovy/org/onap/cps/utils/YangUtilsSpec.groovy
cps-service/src/test/resources/bookstore.xml [new file with mode: 0644]
cps-service/src/test/resources/bookstore_xpath.xml [new file with mode: 0644]
cps-service/src/test/resources/test-tree.xml [new file with mode: 0644]