CPS-Core : Expose a java interface to update schema set 28/135728/4
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Tue, 15 Aug 2023 11:15:33 +0000 (12:15 +0100)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Fri, 18 Aug 2023 11:43:48 +0000 (12:43 +0100)
commit17aab0023e514cfe99b70ea161b271c9e42c5667
treeef37ad266262058ea027308eac48aba150714196
parenta92d488934c016f0f2645382f7fcdec0ad446f2e
CPS-Core : Expose a java interface to update schema set

- Exposed an interface to update anchor by schema set name.
- New interface is implemented into RI model.
- New native query is exposed to update id with given schema set name.
- A new integration test is written to test new interface into cps core.

Issue-ID: CPS-1800

Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: Ibf44712e11b53cb6673b04b9e3fd864321c90839
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
12 files changed:
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsAdminPersistenceServiceImpl.java
cps-ri/src/main/java/org/onap/cps/spi/repository/AnchorRepository.java
cps-service/src/main/java/org/onap/cps/api/CpsAdminService.java
cps-service/src/main/java/org/onap/cps/api/impl/CpsAdminServiceImpl.java
cps-service/src/main/java/org/onap/cps/spi/CpsAdminPersistenceService.java
cps-service/src/test/groovy/org/onap/cps/api/impl/CpsAdminServiceImplSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsAdminServiceIntegrationSpec.groovy
integration-test/src/test/resources/data/tree/new-test-tree.json [new file with mode: 0644]
integration-test/src/test/resources/data/tree/new-test-tree.yang [new file with mode: 0644]
integration-test/src/test/resources/data/tree/updated-test-tree.json [new file with mode: 0644]
integration-test/src/test/resources/data/tree/updated-test-tree.yang [new file with mode: 0644]