1 tosca_definitions_version: tosca_simple_yaml_1_0
4 Transaction subsystem, which is service template with topology_template,
5 act as a nested system inside another system and also act as stand
6 alone service template.
12 description: Template of a database including its hosting stack.
17 description: IP address of the message queuing server to receive messages from.
21 description: Port to be used for receiving messages.
25 description: Number of CPUs for the server.
28 - valid_values: [ 1, 2, 4, 8 ]
30 substitution_mappings:
31 node_type: example.TransactionSubsystem
33 message_receiver: [ app, message_receiver ]
35 database_endpoint: [ app, database ]
46 server_ip: { get_input: mq_server_ip }
52 type: tosca.nodes.WebServer
56 port_name: { get_input: receiver_port }
62 type: tosca.nodes.Compute
67 num_cpus: { get_input: my_cpus }
78 description: private IP address of the message receiver application
79 value: { get_attribute: [ server, private_address ] }
82 description: receiver_port of the message receiver application
83 value: { get_input: receiver_port }
87 members: [ websrv, server ]
88 type: tosca.groups.Root