Refactor check for no new modules in Module Sync 46/137346/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Wed, 21 Feb 2024 19:50:32 +0000 (19:50 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 22 Feb 2024 09:46:14 +0000 (09:46 +0000)
commit60baf82e54d286426ce4f99f24658c11304b8a05
tree7039431c34a29da6371fd52d851a75ea9525410e
parent97c659a5a1bb08bb57b74e98bd43b76a02706554
Refactor check for no new modules in Module Sync

This change moves the check for no new module references into
DmiModelOperations::getNewYangResourcesFromDmi
(The method is only used by ModuleSyncService)

Issue-ID: CPS-2027
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I3cc65e7a327148ebe01b98b61dc64b70872e2cf5
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/inventory/sync/ModuleSyncService.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/operations/DmiModelOperations.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/inventory/sync/ModuleSyncServiceSpec.groovy
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/operations/DmiModelOperationsSpec.groovy