diff options
author | 2023-09-18 18:13:01 +0100 | |
---|---|---|
committer | 2023-09-20 09:00:32 +0000 | |
commit | 04980c989a22d7a16bf1a5afc7908587f2266ee8 (patch) | |
tree | 9b86c264a4fa802c971a3e2298061f42bc2917ae /catalog-be/src/main/java/org/openecomp | |
parent | d86cb2fa6591e7a5d3e5f2af3312d35def0e5837 (diff) |
Fix 'TOSCA-Meta-File-Version and CSAR-Version accept only following format X.Y'-bug
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I7a92e898da8ac0fa97710b01cb62de8529f43cd8
Issue-ID: SDC-4626
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java index 539b6b8536..0fcaf7afe3 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java @@ -67,7 +67,7 @@ public class CsarValidationUtils { private static final String FILE_NOT_FOUND_IN_CSAR_WITH_ID = " file not found in CSAR with id "; private static final String CSAR_STRUCTURE_IS_INVALID = "CSAR structure is invalid"; private static final String ENTRY_DEFINITIONS = "Entry-Definitions "; - private static final Pattern floatPattern = Pattern.compile("^\\d{1}[.]\\d{1}$"); + private static final Pattern floatPattern = Pattern.compile("^\\d+\\.\\d+$"); /** * Utility classes, which are collections of static members, are not meant to be instantiated |