-
Bug
-
Resolution: Done
-
Medium
-
None
-
Beijing Release, Casablanca Release
-
None
in ToscaResourceInstaller class inside installTheResource twice we are saving same vnf_resources.
First vnf-resource creation is ensuring that allotted resource is not loadded as vnf-resource
if (!vfCustomizationCategory.equalsIgnoreCase("Allotted Resource"))
But then again at botton we are loading vnf-resource without checking allotted-reosurce.
List<NodeTemplate> serviceVfList = toscaResourceStruct.getSdcCsarHelper().getServiceVfList();
if (serviceVfList != null) {
for (NodeTemplate vfNode : serviceVfList)
}
This second call will load allotted-resource in vnf-resource table.
I am not sure why two call of loading vnf-resource and even if it is required in second call also we will need to check that it is not allotted-resource.
This is causing issue in SO-beijing release