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

Use plural DB operations for updating data nodes

XMLWordPrintable

      Method updateDataNodesAndDescendants is using individual DB operations in for-loops. It can be improved to use plural DB methods.

      org.onap.cps.spi.impl.CpsDataPersistenceServiceImpl#updateDataNodesAndDescendants

      Investigate:

      • Error scenarios, e.g. DataNodeNotFoundException, may be acceptable to log failures

      A/C:

      • Add performance tests updateDataNodesAndDescendants
      • New code improves performance

            danielhanrahan Daniel Hanrahan
            danielhanrahan Daniel Hanrahan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: