Service template with substitution mapping definition can deployed 79/17979/2
authorshangxdy <shang.xiaodong@zte.com.cn>
Wed, 3 Aug 2016 19:05:47 +0000 (03:05 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Mon, 8 Aug 2016 09:46:34 +0000 (17:46 +0800)
commiteb5eb37bbbe0e97ddc8a0f2943943e1cabaa0cd1
tree29f3a1d47da8e5ac4f71f1387b19424ccea38760
parent12d7916e7d1e8047f4109c66616665b9f5011921
Service template with substitution mapping definition can deployed
standalone

According to specification of
http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/TOSCA-Simple-Profile-YAML-v1.0.html,the
two main use cases:
1. No matter whether or not the service template has substitution
mapping definition,it can be deployed standalone;
2. Also can be imported and used as nested service template substituted
a node template with substitution mapping definition;
3. substitution mapping will expose node_type,may expose capabilities
and requirements.

JIRA:PARSER-78

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