Code Review
/
vfc
/
nfvo
/
catalog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ae020eb
)
Fix Tosca property parsing
67/46467/1
author
Denes Nemeth
<denes.nemeth@nokia.com>
Mon, 7 May 2018 21:33:51 +0000
(23:33 +0200)
committer
Denes Nemeth
<denes.nemeth@nokia.com>
Mon, 7 May 2018 21:37:04 +0000
(23:37 +0200)
Change-Id: Ib2a709d3ad3afbe5c7769d35e3401e29b9be36a5
Signed-off-by: Denes Nemeth <denes.nemeth@nokia.com>
Issue-ID: VFC-897
catalog/pub/utils/toscaparser/basemodel.py
patch
|
blob
|
history
diff --git
a/catalog/pub/utils/toscaparser/basemodel.py
b/catalog/pub/utils/toscaparser/basemodel.py
index
d39a7b7
..
47d9bba
100644
(file)
--- a/
catalog/pub/utils/toscaparser/basemodel.py
+++ b/
catalog/pub/utils/toscaparser/basemodel.py
@@
-212,6
+212,8
@@
class BaseInfoModel(object):
_properties[name] = prop.value.result()
elif isinstance(prop.value, dict) or isinstance(prop.value, list):
_properties[name] = self.buildProperties_ex(nodeTemplate, topology_template, prop.value)
+ elif prop.type == 'string':
+ _properties[name] = prop.value
else:
_properties[name] = json.dumps(prop.value)
elif isinstance(prop, dict):