From db33fd6014c3d746d08002c7cfd061fcdad9868f Mon Sep 17 00:00:00 2001 From: shangxdy Date: Thu, 21 Jul 2016 19:50:29 +0800 Subject: 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 --- .../toscaparser/tests/data/topology_template/system.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tosca2heat/tosca-parser/toscaparser/tests/data/topology_template/system.yaml') 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 -- cgit 1.2.3-korg