-
Story
-
Resolution: Done
-
Medium
-
None
Overview
- Extract save/update state OUTSIDE loop using existing batch methods for handling state updates to remove unnecessarily saving state each time
- Set to DELETED before loop
- Set to DELETE after loop
see:
- org.onap.cps.ncmp.api.impl.NetworkCmProxyDataServiceImpl#parseAndRemoveCmHandlesInDmiRegistration
- org.onap.cps.ncmp.api.impl.event.lcm.LcmEventsCmHandleStateHandlerImpl#persistCmHandleBatch
A/C
- Correct # of nodes should be stored in DB with correct state
- Demo to team
- Some performance feedback
- Sourabh
- ESH (Hungary team)
Open Questions
- How many iterations should loop before saving state?
- What package/class is the existing batch operations in?
Out of Scope
- Performance testing?