-
Bug
-
Resolution: Won't Do
-
Medium
-
Dublin Release
It should be possible to have a Macro service creation create a VNF without having to create the vfModule.
However while the building blocks do seem to allow for this it is blocked because a validation in the ApiHandler required the vfModules even though the json doesn't require it.
See
org.onap.so.apihandlerinfra.validation.UserParamsValidation
...
if(vnf.getVfModules().isEmpty())
{ throw new ValidationException ("vfModules in userParams vnf resources", true); }...
This stops the following been used in the Macro request to
soip:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances
with the attached request.
key part is
"vnfs": [
{
"modelInfo":
,
"cloudConfiguration":
,
"platform":
,
"lineOfBusiness": {},
"productFamilyId": "vCPE",
"instanceParams": [],
"vfModules": []
}
],