summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-07-21 19:50:29 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-07-29 20:50:09 +0800
commitdb33fd6014c3d746d08002c7cfd061fcdad9868f (patch)
treecfa8406deecd8baf848834431f3581172985dc57 /tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml
parent9cf12e1857b10bdd7b49cbe7e64244670fb5a867 (diff)
Add transaction subsystem definition in the use case of
substitution_mappings As a developer; I want to implement the function of substitution_mapping; So that will complete the test file about transaction subsystem definitions for example. Change-Id: I5e44c2b4933afadf96743641279016af5afc39e0 JIRA: PARSER-68 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml b/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml
index 9996e4f..84d625d 100644
--- a/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml
+++ b/tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml
@@ -7,11 +7,24 @@ imports:
topology_template:
description: Template of online transaction processing service.
+ inputs:
+ mq_server_ip:
+ type: string
+ default: 127.0.0.1
+ description: IP address of the message queuing server to receive messages from.
+ mq_server_port:
+ type: integer
+ default1: 8080
+ description: Port to be used for receiving messages.
+
node_templates:
mq:
type: example.QueuingSubsystem
# properties:
# to be updated when substitution_mapping is implemented
+ properties:
+ server_ip: { get_input: mq_server_ip }
+ server_port: { get_input: mq_server_port }
# capabilities:
# message_queue_endpoint:
# to be updated when substitution_mapping is implemented