-
Bug
-
Resolution: Done
-
Medium
-
Kohn Release
-
None
When single PNF along with Service Instantiation request is triggered, it works perfectly. But when same PNF Model Info is shared with another PNF with different instance name, it is able to instantiate first one but not able to instantiate the other one.
It gives error as:
2022-06-01T12:30:09.674Z|a58e9992-6a18-4bae-ac94-399416174173|org.onap.so.client.exception.ExceptionBuilder - Exception occurred
java.lang.Exception: Pnf with name ORAN_SIM1_0106_pnf_11 exist with orchestration status Active and is related to ORAN_SIM1_0106_5 service with certain service-instance-id: 829627b5-e6ba-4920-9aca-887eb298b716
It means during BBInputSetup for PNF it always picks up only the first PNF details.
Sample Request Body:
{
"requestDetails": {
"modelInfo":
{ "modelInvariantId": "d6f8f4e8-7de9-47c1-aa5c-4b6868738f5c", "modelType": "service", "modelName": "service_pnf_2305", "modelVersion": "2.0", "modelVersionId": "e199ca4e-08f9-4f10-a15d-b94d50e52a6a", "modelUuid": "e199ca4e-08f9-4f10-a15d-b94d50e52a6a", "modelInvariantUuid": "d6f8f4e8-7de9-47c1-aa5c-4b6868738f5c" },
"requestInfo": {
"productFamilyId": "5G",
"source": "VID",
"instanceName": "ORAN_SIM1_0106_5",
"suppressRollback": false,
"requestorId": "NBI"
},
"subscriberInfo":
{ "globalSubscriberId": "5GCustomer" },
"requestParameters": {
"subscriptionServiceType": "5G",
"userParams": [{
"service": {
"modelInfo":
{ "modelVersionId": "e199ca4e-08f9-4f10-a15d-b94d50e52a6a", "modelName": "service_pnf_2305", "modelType": "service" },
"instanceName": "ORAN_SIM1_0106_5",
"instanceParams": [],
"resources": {
"pnfs": [{
"modelInfo":
{ "modelCustomizationName": "pnf_only_2305 0", "modelCustomizationId": "88a3096a-af87-4853-99f6-7256a9ab6c3e", "modelInvariantId": "d6f8f4e8-7de9-47c1-aa5c-4b6868738f5c", "modelVersionId": "a6a9dc3d-204c-4dbb-862b-46214788b0e5", "modelName": "service_pnf_2305", "modelType": "pnf", "modelVersion": "2.0" },
"platform":
{ "platformName": "test" },
"lineOfBusiness":
{ "lineOfBusinessName": "LOB-5GCustomer" },
"productFamilyId": "5G",
"instanceParams": [],
"instanceName": "ORAN_SIM1_0106_pnf_11", ————> AssignPnfBB always picks up this pnf only
"processingPriority": 1
}, {
"modelInfo":
{ "modelCustomizationName": "pnf_only_2305 0", "modelCustomizationId": "88a3096a-af87-4853-99f6-7256a9ab6c3e", "modelInvariantId": "d6f8f4e8-7de9-47c1-aa5c-4b6868738f5c", "modelVersionId": "a6a9dc3d-204c-4dbb-862b-46214788b0e5", "modelName": "service_pnf_2305", "modelType": "pnf", "modelVersion": "2.0" },
"platform":
{ "platformName": "test" },
"lineOfBusiness":
{ "lineOfBusinessName": "LOB-5GCustomer" },
"productFamilyId": "5G",
"instanceParams": [],
"instanceName": "ORAN_SIM1_0106_pnf_12",
"processingPriority": 2
}]
}
}
},
{ "Homing_Solution": "none" }],
"aLaCarte": false,
"usePreload": false
},
"project":
{ "projectName": "basicnw-project" },
"owningEntity":
{ "owningEntityId": "67f2e84c-734d-4e90-a1e4-d2ffa2e75849", "owningEntityName": "OE-5GCustomer" }}
}