[SDC-29] catalog 1707 rebase commit.
[sdc.git] / catalog-be / src / test / resources / normativeTypes / topology_template_notValidRelationNode.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >
4   This TOSCA simple profile deploys nodejs, mongodb, each on a separate server
5   with monitoring enabled for nodejs server where a sample nodejs application is running. 
6
7 topology_template:
8   node_templates:
9     nodejs:
10       type: tosca.nodes.WebServer      
11       requirements:
12         - host:
13             node: KUKU      
14     mongo_db:
15       type: tosca.nodes.Database
16       requirements:
17         - host: mongo_dbms     
18     mongo_dbms:
19       type: tosca.nodes.DBMS
20       requirements:
21         - host: mongo_server      
22     app_server:
23       type: tosca.nodes.Compute  
24     mongo_server:
25       type: tosca.nodes.Compute
26      
27   
28
29   outputs:
30     nodejs_url:
31       description: URL for the nodejs server, http://<IP>:3000
32       value: { get_attribute: [ app_server, private_address ] }
33     mongodb_url:
34       description: URL for the mongodb server.
35       value: { get_attribute: [ mongo_server, private_address ] }
36