fix costum datatype definition in parameters 95/41295/1
authorshangxdy <shang.xiaodong@zte.com.cn>
Thu, 7 Sep 2017 11:00:35 +0000 (19:00 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Thu, 7 Sep 2017 11:00:35 +0000 (19:00 +0800)
commit5018163eae36d9ce8464a778960b7f77a19ba70a
treef42194196af02fb662578d45383978e6348da35a
parentdd361d8d9df7a69a4fc7c004db5b959440a024c2
fix costum datatype definition in parameters

Currently, support customized datatype in parameters is error when
transfer custom_defs in DataEntity.validate_datatype(self.type, value,
None, datatype), it should be full custom definitions , not only one
definition. the patch will fix it.

JIRA: PARSER-152

Change-Id: If6d59f21fa75cbdf4e8e16f093e3d807910ad234
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
tosca2heat/tosca-parser/toscaparser/parameters.py