blob: 48dcc1b3d1b9933b36043094c1607ad83ec5e591 [file] [log] [blame]
Scott Baker970f24b2017-02-13 14:16:40 -08001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Onboard the exampleservice
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
10
11 # UI Container
12 xos-spa-gui:
13 type: tosca.nodes.Component
14 properties:
15 image: xosproject/xos-gui
16 ports: 4000:4000
17
Matteo Scandolo950da042017-02-17 20:35:48 -080018 gui-to-chameleon:
19 type: tosca.nodes.ComponentLink
20 properties:
21 container: xos_chameleon
22 alias: xos-chameleon
23 kind: internal
24 requirements:
25 - xos:
26 node: xos-spa-gui
27 relationship: tosca.relationships.LinkOfComponent
28
Scott Baker970f24b2017-02-13 14:16:40 -080029 gui-to-gw:
30 type: tosca.nodes.ComponentLink
31 properties:
32 container: xos-rest-gateway
33 alias: xos-rest-gw
34 kind: internal
35 requirements:
36 - xos:
37 node: xos-spa-gui
38 relationship: tosca.relationships.LinkOfComponent