From 5e5d239283077beefc07e0891ebb76bbb5a3e906 Mon Sep 17 00:00:00 2001 From: ayalaben Date: Tue, 16 Oct 2018 18:13:22 +0300 Subject: VSP submit doesn't validate vlm version Change-Id: If98f41c186b330e7f17e51ef88c6b5e91121f2c9 Issue-ID: SDC-1843 Signed-off-by: ayalaben --- .../vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src') diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java index 56ea8daa53..df2e098be7 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java @@ -499,7 +499,7 @@ public class VendorSoftwareProductManagerImpl implements VendorSoftwareProductMa private Collection validateLicensingData(VspDetails vspDetails) { if (vspDetails.getVendorId() != null) { - Optional errorCode = vendorLicenseFacade.validateVendorForUsage(vspDetails.getVendorId()); + Optional errorCode = vendorLicenseFacade.validateVendorForUsage(vspDetails.getVendorId(),vspDetails.getVlmVersion()); if (errorCode.isPresent()) { return Collections.singleton(errorCode.get()); } -- cgit 1.2.3-korg