diff options
author | Tal Gitelman <tal.gitelman@att.com> | 2018-11-25 11:49:39 +0200 |
---|---|---|
committer | Michael Lando <michael.lando@intl.att.com> | 2018-11-26 17:22:11 +0000 |
commit | 4d34afb67ad28e83e07cdd365c985b6fb8745ebe (patch) | |
tree | 0a1109df00d7cc34f9300ea7f67c0ea211067e30 /catalog-be/src | |
parent | 8f2c29ba8962f036c2b4c652f6072d477a81d4f0 (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/src')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/tosca/PropertyConvertor.java | 2 |
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, |