PNF PNP workflow - current implementation



All variables mentioned below (unless stated otherwise) are BPMN execution variables.

CreateAndActivatePnfResource

Check inputs (PnfCheckInputs)

Inputs:

  • pnfCorrelationId

  • pnfUuid

  • serviceInstanceId

  • aai.pnfEntryNotificationTimeout (from application properties)



Checks if following variables are set (throws exception if not):

  • pnfCorrelationId

  • pnfUuid

  • serviceInstanceId

  • aai.pnfEntryNotificationTimeout (in application properties)

Check AAI for pnf_correlation_id (CheckAaiForPnfCorrelationIdDelegate)

Inputs:

  • pnfCorrelationId



Reads the info about PNF from AAI (org.onap.aai.domain.yang.Pnf) based on pnfCorrelationId.



Outputs:

  • aaiContainsInfoAboutPnf true if entry in AAI exists, false otherwise

Create Pnf entry in AAI (CreatePnfEntryInAaiDelegate)

Inputs:

  • pnfCorrelationId

  • pnfUuid



Creates PNF entry in AAI (org.onap.aai.domain.yang.Pnf) and sets:

  • pnfId (in Pnf object) as pnfUuid

  • pnfName (in Pnf object) as pnfCorrelationId

This is conditional task executed only if aaiContainsInfoAboutPnf is set to false.

Register in Dmaap (InformDmaapClient)