fix null configuration in body
@@ -1203,6 +1203,7 @@ public class NetworkServiceRecordManagement
NetworkServiceDescriptor networkServiceDescriptor, DeployNSRBody body) {
for (VirtualNetworkFunctionDescriptor virtualNetworkFunctionDescriptor :
networkServiceDescriptor.getVnfd()) {
+ if (body.getConfigurations().get(virtualNetworkFunctionDescriptor.getName()) != null) {
for (ConfigurationParameter passedConfigurationParameter :
body.getConfigurations()
.get(virtualNetworkFunctionDescriptor.getName())
@@ -1233,6 +1234,7 @@ public class NetworkServiceRecordManagement
}
}
}
+ }
private void checkConfigParameter(
NetworkServiceDescriptor networkServiceDescriptor, DeployNSRBody body) {
