Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-1253

[Integration] Issue during PNF service instantiation when /events/unauthenticated.PNF_READY doesn't exists

XMLWordPrintable

      Like in topic.

      If service for PNF will be created before topic /events/unauthenticated.PNF_READY will be created in dmaap then service will not be able to read from it when topic will appear.

      • work flow starts without any error
      • service is instantiated
      • aai entry for PNF is created
      • work-flow starts to wait for corresponding message on topic /events/unauthenticated.PNF_READY
      • even message will appear on topic, SO will not read it and will work-flow will not be finish

      In SO is missing mechanism that take care about re-subscription to /events/unauthenticated.PNF_READY topic when it appears.

       Workaround:

      • Before starting any PNF service verify if unauthenticated.PNF_READY  topic exists using command
        curl --header "Content-type: application/json" --request GET http://<kubernetes slave IP>:30227/topics/listall
        
      • if it doesn't exists send following curl in order to create topic
        curl
         --header "Content-type: application/json" --request POST --data '[{"correlationId": "test"}]' http://<kubernetes slave IP>:30227/events/unauthenticated.PNF_READY
        
      • once again verify if it exists.
      • If service will be started before topic creation there is need to restart SO-BPMN docker container

       

       

            lukaszm lukaszm
            kkuzmick kkuzmick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: