summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/normativeTypes/topology_template_duplicateNode.yml
blob: be16f471fc74e9ea8858544fae53c7f29077566e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
tosca_definitions_version: tosca_simple_yaml_1_0

description: >
  This TOSCA simple profile deploys nodejs, mongodb, each on a separate server
  with monitoring enabled for nodejs server where a sample nodejs application is running. 

topology_template:
  node_templates:
    mongo_server:
      type: tosca.nodes.Database
    mongo_server:
      type: tosca.nodes.Compute
     
  

  outputs:
    nodejs_url:
      description: URL for the nodejs server, http://<IP>:3000
      value: { get_attribute: [ app_server, private_address ] }
    mongodb_url:
      description: URL for the mongodb server.
      value: { get_attribute: [ mongo_server, private_address ] }