aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2021-12-07 11:16:15 +0000
committerMichael Morris <michael.morris@est.tech>2021-12-08 12:37:38 +0000
commit5cbf514addcd6eecf2f1b86c46cf641d49d6c059 (patch)
tree7f83aba84b474d36915d039547567788b4a072b1 /catalog-be
parent987fc74925dc4051f08913393924d2b826d7e59c (diff)
Allow space and single quote in prop names
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3802 Change-Id: I9017083e1e26794b006abffe4db9472b5b788ca1 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/ResourceImportManager.java2
1 files changed, 1 insertions, 1 deletions
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 9980a96aad..cbae55d952 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
@@ -104,7 +104,7 @@ import org.yaml.snakeyaml.Yaml;
@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;