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

CreateAndActivatePnfResource

Check inputs (PnfCheckInputs)

Inputs:


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

Check AAI for pnf_correlation_id (CheckAaiForPnfCorrelationIdDelegate)

Inputs:


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


Outputs:

Create Pnf entry in AAI (CreatePnfEntryInAaiDelegate)

Inputs:


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

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

Register in Dmaap (InformDmaapClient)