Refactor existing model sync code into separate package 41/128341/3
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Wed, 6 Apr 2022 15:24:52 +0000 (16:24 +0100)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Tue, 12 Apr 2022 14:21:06 +0000 (15:21 +0100)
commit006c7dca01d6d04ce122eadc06707a5b0b70d76c
treed281c7b40396924106e697bfff46f88dea8e1fa0
parent3a13b2e965569304822fe4d56838a4fee4e7ad44
Refactor existing model sync code into separate package

- Created a new class to seperate sync related operations of modules.
- Kept newly created class into .../api/inventory/sync package.
- Created a separate groovy test.
- Fixed existing groovy test.

Issue-ID: CPS-950
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: Ie7cc36ea75daf43f1383757bcf2057c5cb4894b1
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImpl.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/inventory/sync/ModuleSyncService.java [new file with mode: 0644]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplRegistrationSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/inventory/sync/ModuleSyncServiceSpec.groovy [moved from cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplModelSyncSpec.groovy with 65% similarity]