Add module name to cps core output 57/129357/7
authoremaclee <lee.anjella.macabuhay@est.tech>
Tue, 24 May 2022 10:51:19 +0000 (11:51 +0100)
committeremaclee <lee.anjella.macabuhay@est.tech>
Thu, 2 Jun 2022 08:45:47 +0000 (09:45 +0100)
commit75a716328ab575ca81763f9b37285562ed6b8a58
tree67521d267116fd91b83aacb9205f13731d7dee42
parentf564bf5b4523ceb04bec6e866aec664ea57726d5
Add module name to cps core output

- add withModuleName method
- add getNodeIdentifierWithPrefix method
- add unit test in DataMapUtilsSpec
- add unit test in DataNodeBuilderSpec
- fix all existing unit tests

Issue-ID: CPS-870
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I51b70fa2dd3381eef9500b4339d4922c017e3000
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy
cps-ri/src/test/resources/data/cps-path-query.sql
cps-ri/src/test/resources/data/fragment.sql
cps-service/src/main/java/org/onap/cps/spi/model/DataNode.java
cps-service/src/main/java/org/onap/cps/spi/model/DataNodeBuilder.java
cps-service/src/main/java/org/onap/cps/utils/DataMapUtils.java
cps-service/src/test/groovy/org/onap/cps/spi/model/DataNodeBuilderSpec.groovy
cps-service/src/test/groovy/org/onap/cps/utils/DataMapUtilsSpec.groovy
csit/tests/cps-data/cps-data.robot