Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Jira
serverONAP Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-950

Refactor existing model sync code into separate package and classes so it can be used by both sync(current) service and new watchdog process.

...

    1. syncAndCreateSchemaSet(yangModelCmHandle);
    2. createAnchor(yangModelCmHandle);


       3. Take out common code at one place so that it can be resued.


Currently test is in : org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplModelSyncSpec.groovy


Note :

During our scheduled metting we decided to discuss refactoring with inventory prospective with @Toine in tomorrow's daily call.


Suggestions : 

  1. org.onap.cps.ncmp.inventory.sync.model