diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-09-09 17:41:48 +0800 |
---|---|---|
committer | xiaodong shang <shang.xiaodong@zte.com.cn> | 2016-09-12 15:20:19 +0000 |
commit | 0939de88944990ab85e68979822fc0c1f9077fe6 (patch) | |
tree | afcd36149b4afebcfa48a537ad603e8cc30daf94 /tosca2heat/heat-translator | |
parent | 164b3a8c65b4b9c8d8108a72ec63a0dedabee190 (diff) |
Add keys validation testcase in substitution_mapping class
Add keys validation in class of substitution_mapping according to
specification of
http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/TOSCA-Simple-Profile-YAML-v1.0.html:
1) Substitution mapping only supports keys of node_type, capabilities
and requirements;
2) The key of node_type is required, the others are optional.
JIRA:PARSER-80
Change-Id: Icd3284349175429e5ba5e52814819a6790f0e831
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit 44540b6c2b16637659099c65e31309fc7573ba7d)
Diffstat (limited to 'tosca2heat/heat-translator')
0 files changed, 0 insertions, 0 deletions