• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • NCMP
    • 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

       

       

       

            sourabh_sourabh Sourabh Sourabh
            ToineSiebelink Toine Siebelink
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: