Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-3156

Fix bug in fetching PM data from DES

XMLWordPrintable

      PM data fetch from DES format has changed from 

      {
         "result":[
           

      {          "measValuesList":"[[\"11220\",\"false\",[[1.0,\"75\"],[2.0,\"84\"]]],[\"11221\",\"false\",[[1.0,\"76\"],[2.0,\"85\"]]],[\"11222\",\"false\",[[1.0,\"90\"],[2.0,\"95\"]]]]",          "sMeasTypesList":"[\"SM.PrbUsedDl.01-06E442\",\"SM.PrbUsedUl.01-06E442\"]"       }

      ,
           

      {          "measValuesList":"[[\"11225\",\"false\",[[1.0,\"175\"],[2.0,\"184\"]]],[\"11224\",\"false\",[[1.0,\"176\"],[2.0,\"185\"]]],[\"11222\",\"false\",[[1.0,\"105\"],[2.0,\"100\"]]]]",          "sMeasTypesList":"[\"SM.PrbUsedDl.01-06E442\",\"SM.PrbUsedUl.01-06E442\"]"       }

         ],
         "request":

      {       "snssai":"SM.PrbUsedDl.001-1100",       "time":"1538478000000"    }

      ,
         "result_count":2
      }

       

       

       

      to

       

      {
         "result":[
           

      {          "measValuesList":"[[\"false\",[[1.0,\"75\"],[2.0,\"84\"]],\"11220\"],[\"false\",[[1.0,\"76\"],[2.0,\"85\"]],\"11221\"],[\"false\",[[1.0,\"90\"],[2.0,\"95\"]],\"11222\",]]",          "sMeasTypesList":"[\"SM.PrbUsedDl.01-06E442\",\"SM.PrbUsedUl.01-06E442\"]"       }

      ,
           

      {          "measValuesList":"[[\"false\",[[1.0,\"175\"],[2.0,\"184\"]],\"11225\"],[\"false\",[[1.0,\"176\"],[2.0,\"185\"]],\"11224\"],[\"false\",[[1.0,\"105\"],[2.0,\"100\"]],\"11222\"]]",          "sMeasTypesList":"[\"SM.PrbUsedDl.01-06E442\",\"SM.PrbUsedUl.01-06E442\"]"       }

         ],
         "request":

      {       "snssai":"SM.PrbUsedDl.001-1100",       "time":"1538478000000"    }

      ,
         "result_count":2
      }

       

       

      Changing the collection in which the pm data was stored is somehow changing the position of arrays.

      Feeder was automatically storing data in below collection in mongodb 'unauthenticatedperformancemeasurements'

       

      Only update in array position is needed, critical for competing the testcases in  E2E Network Slicing Testing - Developer Wiki - Confluence (onap.org)

      E2E network slicing test(using resource occupancy details)

            niranjana niranjana
            niranjana niranjana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: