summaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authorTal Gitelman <tal.gitelman@att.com>2018-11-25 11:49:39 +0200
committerMichael Lando <michael.lando@intl.att.com>2018-11-26 17:17:39 +0000
commit6535675526d608c835f4702b2ee57799da250fbe (patch)
tree222d55438b2ee56938d50b593c04f455b4d7ffe9 /catalog-be
parent2bcd93a5879b9bfd8613061e5aba0656519d37a6 (diff)
SDC can not handle complex string in tosca yaml
Issue-ID: SDC-1918 Change-Id: I86957b5d4bf0dab5ca749623efbccd6f4b535f10 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/tosca/PropertyConvertor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/PropertyConvertor.java b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/PropertyConvertor.java
index e8169006d2..d128d5349f 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/PropertyConvertor.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/tosca/PropertyConvertor.java
@@ -198,7 +198,7 @@ public class PropertyConvertor {
}
private boolean valueStartsWithNonJsonChar(String value) {
- return value.startsWith("/") || value.startsWith(":");
+ return value.startsWith("/") || value.startsWith(":") || value.startsWith("#");
}
public void convertAndAddValue(Map<String, DataTypeDefinition> dataTypes,