From 707c053d180230d8c597cdc3b4bcde638b6bd9da Mon Sep 17 00:00:00 2001 From: talio Date: Tue, 24 Oct 2017 14:54:53 +0300 Subject: Submit fix failure in submit due to uploading files with extensions in uppercase Issue - Id : SDC-526 Change-Id: I444444407efe093369e4380dc78117aa396e181b Signed-off-by: talio --- .../org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src') diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java index ccadeced62..e871ecfe13 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-api/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/dao/type/VspDetails.java @@ -26,6 +26,7 @@ import org.openecomp.sdc.versioning.dao.types.Version; import org.openecomp.sdc.versioning.dao.types.VersionableEntity; import java.util.List; +import java.util.Objects; public class VspDetails implements VersionableEntity { @@ -225,7 +226,8 @@ public class VspDetails implements VersionableEntity { } public void setOnboardingOrigin(String onboardingOrigin) { - this.onboardingOrigin = onboardingOrigin; + this.onboardingOrigin = Objects.isNull(onboardingOrigin) ? null + : onboardingOrigin.toLowerCase(); } public String getOnboardingMethod() { -- cgit 1.2.3-korg