Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-917

SDNCCtx Builder substitutes attribute names when not present

    XMLWordPrintable

    Details

      Description

      When doing some AAI->SDNC attribute matching, it was noted that data retrieved from SDNC (when using the vnf-api) does not return the name (service-instance-name in AAI comparison).  This is expected as the API returns VNF related data only.  

       

      However, when the SDNC-ctxbuilder posts the event to validation, it updates the name with "vFW Service Instance" which then thrown an error.

       

      As per the Mapping API, this value is N/A in SDNC, but massaging the data should not occur.  

      This "vFW Service Instance" does not exist in SDNC

      https://wiki.onap.org/display/DW/Context+Builders+Mapping+to+Common+Model

      ["{\"event-header\":

      {\"entity-type\":\"poa-entity\",\"top-entity-type\":\"poa-entity\",\"event-type\":\"POA-EVENT\",\"domain\":\"onap\",\"id\":\"fea226c8-417d-4074-8dcb-ed315ed9961e\",\"topic-name\":\"POA-RULE-VALIDATION\",\"source-name\":\"RO\",\"event-id\":\"27076ade-8552-4bd9-b96d-f90a4426c449\"}

      ,\"entity\":{\"poa-event\":

      {\"modelVersionId\":\"7b4beec3-04a6-4513-8341-959589d2bd01\",\"modelInvariantId\":\"58f20afd-6ed1-4451-a19d-4fbee4aefa08\",\"serviceInstanceId\":\"7d518257-49bd-40ac-8d17-017a726ec12a\",\"xTransactionId\":\"e26acf21-0c4c-4705-beb1-675724145b69\",\"xFromAppId\":\"MSO\"}

      ,\"context-list\":{\"sdnc\":{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"vfList\":[{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"name\":\"zdyh3bsflb0001v_01\",\"vfModuleList\":[{\"minInstances\":0,\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"vmList\":[],\"maxInstances\":1,\"networkList\":[],\"uuid\":\"2c3f8902-f278-4ee3-93cf-9d2364cbafca\"}],\"invariantUUID\":\"null\",\"type\":\"vShaken_DNS_ns592n/vSHAKEN_IST_09042018 0\",\"uuid\":\"null\",\"vnfcList\":[{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"name\":\"dyh3bsflb0001vm001\",\"invariantUUID\":\"null\",\"type\":\"alb\",\"uuid\":\"null\"},{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"name\":\"dyh3bsflb0001vm002\",\"invariantUUID\":\"null\",\"type\":\"alb\",\"uuid\":\"null\"}]}],\"service\":{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"name\":\"vFW service instance\",\"uuid\":\"7d518257-49bd-40ac-8d17-017a726ec12a\"},\"attributeList\":[]},\"aai\":{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"vfList\":[{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"name\":\"vcpe_vnf_vcpevsp_vgmux_0830_201809061919\",\"vfModuleList\":[{\"minInstances\":0,\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"invariantUUID\":\"ced468ed-46ec-4e18-9bb7-1a861c98087c\",\"vmList\":[],\"maxInstances\":1,\"networkList\":[],\"uuid\":\"d2f0ea48-d996-4d9e-893e-f649cbb969aa\"}],\"invariantUUID\":\"17e561e9-d0c2-4959-a709-9335b2233966\",\"type\":\"vcpesvc_vgmux/vcpevsp_vgmux_0830 0\",\"uuid\":\"eaabc15d-c084-4e40-9d46-4d963a4c079b\",\"vnfcList\":[]}],\"service\":{\"dataQuality\":

      {\"status\":\"ok\"}

      ,\"attributeList\":[],\"name\":\"vcpe_svc_vcpesvc_vgmux_201809061919\",\"invariantUUID\":\"58f20afd-6ed1-4451-a19d-4fbee4aefa08\",\"uuid\":\"68352304-7bba-4609-8551-0d0b819376c3\"},\"attributeList\":[]}}}}"]root@pomba:/home/ubuntu#

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              jbalasub J. Ram Balasubramanian
              Reporter:
              jbalasub J. Ram Balasubramanian
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: