Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1424

Updating CmHandleStates using batch operation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • None
    • NCMP

      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:

      1. org.onap.cps.ncmp.api.impl.NetworkCmProxyDataServiceImpl#parseAndRemoveCmHandlesInDmiRegistration
      2. org.onap.cps.ncmp.api.impl.event.lcm.LcmEventsCmHandleStateHandlerImpl#persistCmHandleBatch

       

      A/C

      1. Correct # of nodes should be stored in DB with correct state
      2. Demo to team
      3. Some performance feedback
        1. Sourabh
        2. ESH (Hungary team)
          1. https://login.microsoftonline.com/92e84ceb-fbfd-47ab-be52-080c6b87953f/saml2

       

      Open Questions

      1. How many iterations should loop before saving state?
      2. What package/class is the existing batch operations in?

       

      Out of Scope

      1. Performance testing?

            josephkeenan josephkeenan
            sourabh_sourabh Sourabh Sourabh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: