-
Sub-task
-
Resolution: Done
-
Medium
-
None
-
None
-
None
Refactor existing model sync code into separate package and classes so it can be used by both sync(current) service and new watchdog process
Method: org.onap.cps.ncmp.api.impl.NetworkCmProxyDataServiceImpl#syncAndCreateSchemaSet
Need new package(s) for Synchronization code:
- org.onap.cps.ncmp.api.impl.sync.model
- org.onap.cps.ncmp.api.impl.sync.data (future not in scope here but explains why we have sync.model)
Possible have separate/multiple methods
syncAndCreateSchemaSet(yangModelCmHandle);
createAnchor(yangModelCmHandle);
currently test is semi-separate in tis spec: org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplModelSyncSpec.groovy
A/C.
- sync method(s) in a separate class that can also be more easily tested
- mentioned in
-
Page Loading...