After onboarding of pnf service specific entries are not found in AAI
This is the result that I received from AAI.
<pnf>
<pnf-name>ericpnf2</pnf-name>
<pnf-id>b31ca984-8ebd-41a0-b2eb-f293a55a77e4</pnf-id>
<equip-type>val8</equip-type>
<equip-vendor>Ericsson</equip-vendor>
<equip-model>val6</equip-model>
<orchestration-status>Active</orchestration-status>
<ipaddress-v4-oam>10.10.10.44</ipaddress-v4-oam>
<sw-version>5gDUv18.05.201</sw-version>
<in-maint>false</in-maint>
<serial-number>6061ZW3</serial-number>
<ipaddress-v6-oam>2001:0db8:0:0:0:0:1428:57ab</ipaddress-v6-oam>
<resource-version>1595239436619</resource-version>
<nf-role>gNB</nf-role>
<relationship-list>
<relationship>
<related-to>service-instance</related-to>
<relationship-label>org.onap.relationships.inventory.ComposedOf</relationship-label>
<related-link>/aai/v19/business/customers/customer/ETE_Customer_807c7a02-249c-4db8-9fa9-bee973fe08ce/service-subscriptions/service-subscription/pNF/service-instances/service-instance/27a5b6a6-d1ee-4428-af58-d4b392fbb581</related-link>
<relationship-data>
<relationship-key>customer.global-customer-id</relationship-key>
<relationship-value>ETE_Customer_807c7a02-249c-4db8-9fa9-bee973fe08ce</relationship-value>
</relationship-data>
<relationship-data>
<relationship-key>service-subscription.service-type</relationship-key>
<relationship-value>pNF</relationship-value>
</relationship-data>
<relationship-data>
<relationship-key>service-instance.service-instance-id</relationship-key>
<relationship-value>27a5b6a6-d1ee-4428-af58-d4b392fbb581</relationship-value>
</relationship-data>
<related-to-property>
<property-key>service-instance.service-instance-name</property-key>
<property-value>Service_Ete_Name123452c4-3d7f-42ce-8188-818fab951269-2</property-value>
</related-to-property>
</relationship>
</relationship-list>
</pnf>
I see that it calls 5 building blocks,
those are
AssignServiceInstanceBB
AssignPnfBB
WaitForPnfReadyBB
ActivatePnfBB
ActivateServiceInstanceBB
But still this block of code is not executed:
} else if (bbName.contains(PNF)) { String pnfId = lookupKeyMap.get(ResourceKey.PNF); resources.getPnfs().stream() .filter(pnfs -> Objects.equals(key, pnfs.getModelInfo().getModelCustomizationId())).findFirst() .ifPresent(pnfs -> BBInputSetupPnf.populatePnfToServiceInstance(pnfs, pnfId, serviceInstance)); }
In class BBInputSetup.java.