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

Issue when PRH reads from VES_PNFREG_OUTPUT DMAAP topic

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Casablanca Maintenance Release
    • Fix Version/s: None
    • Labels:
    • Environment:

      WIND RIVER SB 00

      Description

      Like in subject.

      There is an issue when PRH reads from VES_PNFREG_OUTPUT DMAAP topic.

      After REST call to VES in order to put PNF registration message:

      curl -i -H "Content-type: application/json" -X POST -d '{"event": {"commonEventHeader":{"startEpochMicrosec":1538407540940,"sourceId":"val13","eventId":"registratio40","nfcNamingCode":"oam","internalHeaderFields":{},"eventType":"pnfRegistration","priority":"Normal","version":"4.0.1","reportingEntityName":"NOK6061ZW3","sequence":0,"domain":"pnfRegistration","lastEpochMicrosec":1538407540940,"eventName":"pnfRegistration_Nokia_5gDu","vesEventListenerVersion":"7.0.1","sourceName":"PAIRWISE","nfNamingCode":"gNB"},"pnfRegistrationFields":{"unitType":"val8","serialNumber":"6061ZW3","pnfRegistrationFieldsVersion":"2.0","manufactureDate":"1538407540942","modelNumber":"val6","lastServiceDate":"1538407540942","unitFamily":"BBU","vendorName":"Nokia","oamV4IpAddress":"13.13.13.13","oamV6IpAddress":"2001:0db8:0:0:0:0:1428:57ab","softwareVersion":"val7"}}}' http://10.12.5.96:30235/eventListener/v7
        

      You can verify that on topic:

      curl -i -X GET http://10.12.5.96:30227/events/unauthenticated.VES_PNFREG_OUTPUT/2/1 

      exists following entry:

      However PRH reads from

      ["{\"event\":{\"commonEventHeader\":{\"startEpochMicrosec\":1538407540940,\"sourceId\":\"val13\",\"eventId\":\"registratio40\",\"nfcNamingCode\":\"oam\",\"internalHeaderFields\":{\"collectorTimeStamp\":\"Sat, 01 26 2019 11:33:05 UTC\"},\"eventType\":\"pnfRegistration\",\"priority\":\"Normal\",\"version\":\"4.0.1\",\"reportingEntityName\":\"NOK6061ZW3\",\"sequence\":0,\"domain\":\"pnfRegistration\",\"lastEpochMicrosec\":1538407540940,\"eventName\":\"pnfRegistration_Nokia_5gDu\",\"vesEventListenerVersion\":\"7.0.1\",\"sourceName\":\"PAIRWISE\",\"nfNamingCode\":\"gNB\"},\"pnfRegistrationFields\":{\"unitType\":\"val8\",\"serialNumber\":\"6061ZW3\",\"pnfRegistrationFieldsVersion\":\"2.0\",\"manufactureDate\":\"1538407540942\",\"modelNumber\":\"val6\",\"lastServiceDate\":\"1538407540942\",\"unitFamily\":\"BBU\",\"vendorName\":\"Nokia\",\"oamV4IpAddress\":\"13.13.13.13\",\"oamV6IpAddress\":\"2001:0db8:0:0:0:0:1428:57ab\",\"softwareVersion\":\"val7\"}}}"]r 

       However PRH reads from

      curl  -i -X GET http://10.12.5.96:30227/events/unauthenticated.VES_PNFREG_OUTPUT/OpenDCAE-c12/c12 

       

      LOGS FROM PRH:

       \tat org.onap.dcaegen2.services.prh.service.consumer.DMaaPConsumerReactiveHttpClient.lambda$getDMaaPConsumerResponse$0(DMaaPConsumerReactiveHttpClient.java:79)\n\tat org.springframework.web.reactive.function.cli
      \n\tat org.onap.dcaegen2.services.prh.service.consumer.DMaaPConsumerReactiveHttpClient.lambda$getDMaaPConsumerResponse$0(DMaaPConsumerReactiveHttpClient.java:79)\n\tat org.springframework.web.reactive.function.c
      404 NOT_FOUND\n\tat org.onap.dcaegen2.services.prh.service.consumer.DMaaPConsumerReactiveHttpClient.lambda$getDMaaPConsumerResponse$0(DMaaPConsumerReactiveHttpClient.java:79)\n\tat org.springframework.web.reacti
      1-4265-a78d-29ff252c467c     |     |INVOKE     |pool-2-thread-1     |                                                                                                                                              
      E-c12/c12     |InvocationID=815112b3-a73d-4872-95f9-9a6547aa6885, InstanceUUID=0caca0d1-c5d1-4265-a78d-29ff252c467c, RequestID=SampleRequestID, ServiceName=http://message-router.onap.svc.cluster.local:3904/event
      c5d1-4265-a78d-29ff252c467c, RequestID=SampleRequestID, ServiceName=http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT/OpenDCAE-c12/c12     |     |     |pool-2-thread-1   
      tanceUUID=0caca0d1-c5d1-4265-a78d-29ff252c467c, RequestID=SampleRequestID, ServiceName=http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT/OpenDCAE-c12/c12     |     |     
      1-4265-a78d-29ff252c467c, RequestID=SampleRequestID, ServiceName=http://message-router.onap.svc.cluster.local:3904/events/unauthenticated.VES_PNFREG_OUTPUT/OpenDCAE-c12/c12     |     |     |pool-2-thread-1     |

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                mmigdal Marcin Migdal
                Reporter:
                kkuzmick Krzysztof Kuzmicki
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: