Add input validation test case 05/25405/4
authorshangxdy <shang.xiaodong@zte.com.cn>
Fri, 2 Dec 2016 08:21:21 +0000 (16:21 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Mon, 5 Dec 2016 08:43:05 +0000 (16:43 +0800)
commitbfa17e5ccf685e3fa5d6661c72397bf3e6953fe4
treef7122e7417c868f4260409389b501dc223127d01
parenta618161aad8ebbcf3a613ab3fe1cc4b615542e95
Add input validation test case

The required properties without default value in substituted node
template which be mapped must be
  as inputs of nested service template which defines substutition
mappings, and the inputs of nested
  service template which are not in the properties of the substituted
node template must provide
  default values.

JIRA:PARSER-113

Change-Id: Idce9ffa7de61f65032fa29f2ccf26c6433c14a40
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
tosca2heat/tosca-parser/toscaparser/common/exception.py
tosca2heat/tosca-parser/toscaparser/substitution_mappings.py
tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/validate/queuingsubsystem_invalid_input.yaml [new file with mode: 0644]
tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/validate/system_invalid_input.yaml [new file with mode: 0644]
tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py