- * @param resourceVendor the resource vendor
- * @param vendorInfoNode the vendor info node
- * @return the list
- */
- @SuppressWarnings("unchecked")
- private List<Pair<String, String>> buildVendorInfo(String resourceVendor, NodeTemplate vendorInfoNode) {
- Map<String, Object> otherFlavorProperties =
- (Map<String, Object>) vendorInfoNode.getPropertyValue(VNF_CONF_TYPE_PROPERTY_VENDOR_INFO_CONTAINER);
-
- return otherFlavorProperties.keySet().stream()
- .map(key -> createVendorInfoPair((Map<String, Object>) otherFlavorProperties.get(key), resourceVendor))
- .collect(Collectors.toList());
- }
-
- /**
- * Creates the Vendor info pair.
+ * @param flavorMaps
+ * the collection of flavors and the properties for those flavors
+ * @param vfNodeTemplate
+ * the node template for the VF