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

Filter data from AAI to avoid possible exceptions, remove null parameters in policy payload and add logs

XMLWordPrintable

      Filter service data from AAI to avoid below exception:

      10:57:58.465 [pool-6-thread-1] INFO  o.o.s.a.ms.models.Configuration - Exception while fetching serviceDetails: org.json.JSONException: JSONObject["environment-context"] not found.

       

       

      Remove null parameters from below Policy payload:

      Policy onset message for S-NSSAI: 001-00110 is {"closedLoopControlName":"ControlLoop-Slicing-116d7b00-dbeb-4d03-8719-d0a658fa735b","closedLoopAlarmStart":1650624498013,"closedLoopEventClient":"microservice.sliceAnalysisMS","closedLoopEventStatus":"ONSET","requestID":"94e7ee2c-4217-45ae-9f00-9f7bfa6b1b47","target":"generic-vnf.vnf-id","payload":"{\"name\":\"3f2f23fa-c567-4dd8-8f15-f95ae3e6fd84\",\"serviceInstanceID\":\"3f2f23fa-c567-4dd8-8f15-f95ae3e6fd84\",\"globalSubscriberId\":\"5GCustomer\",\"subscriptionServiceType\":\"5G\",\"networkType\":\"AN\",\"additionalProperties\":{\"modifyAction\":\"reconfigure\",\"snssaiList\":[\"001-00110\"],\"sliceProfileId\":\"3f2f23fa-c567-4dd8-8f15-f95ae3e6fd84\",\"resourceConfig\":{\"data\":[

      {\"nearRTRICId\":11,\"dLThptPerSlice\":40,\"uLThptPerSlice\":50}

      ]},\"nsiInfo\":{\"nsiName\":\"\",\"nsiId\":\"81811aad-3801-4327-8710-468a04db6ce7\"},\"scriptName\":\"AN\"},{color:#de350b}"serviceType\":null{color}}","from":"DCAE","version":"1.0.2","target_type":"VNF","AAI":{"vserver.is-closed-loop-disabled":"false","vserver.prov-status":"ACTIVE","generic-vnf.vnf-id":"3f2f23fa-c567-4dd8-8f15-f95ae3e6fd84"}}

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

              Created:
              Updated:
              Resolved: