commit | cba6dbeab8ef2755c48fda32b860ad998e2b4f45 | [log] [tgz] |
---|---|---|
author | MichaelMorris <michael.morris@est.tech> | Fri Sep 24 17:20:57 2021 +0100 |
committer | MichaelMorris <michael.morris@est.tech> | Fri Sep 24 17:23:07 2021 +0100 |
tree | 2761481d13fc0181616410dc6fbaba37ab4a7d1d | |
parent | ab954c649651f185ab8b6014135ed7686039d5a0 [diff] |
Allow space and single quote in prop names Required in EO-CTM model Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: EOS-625 Change-Id: I9017083e1e26794b006abffe4db9472b5b788ca1
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ResourceImportManager.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ResourceImportManager.java index fbbd9fd..efceb50 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ResourceImportManager.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ResourceImportManager.java
@@ -98,7 +98,7 @@ @Component("resourceImportManager") public class ResourceImportManager { - static final Pattern PROPERTY_NAME_PATTERN_IGNORE_LENGTH = Pattern.compile("[\\w\\-\\_\\d\\:]+"); + static final Pattern PROPERTY_NAME_PATTERN_IGNORE_LENGTH = Pattern.compile("['\\w\\s\\-\\_\\d\\:]+"); private static final Logger log = Logger.getLogger(ResourceImportManager.class); private final InterfaceDefinitionHandler interfaceDefinitionHandler; private final ComponentsUtils componentsUtils;