blob: e6dd96687e1fd3cdd072d776f9bccf689683a53a [file] [log] [blame]
Rizwan Haider752a48c2016-08-18 15:37:06 -04001tosca_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 xos:
11 type: tosca.nodes.XOS
12 properties:
Matteo Scandoloa317b872017-01-10 12:02:41 -080013 ui_port: 9000
14 bootstrap_ui_port: 9001
Rizwan Haider752a48c2016-08-18 15:37:06 -040015 docker_project_name: metronetwork
Zack Williams3670f442016-10-04 17:37:12 -070016 db_container_name: metronetworkbs_xos_db_1
Rizwan Haider752a48c2016-08-18 15:37:06 -040017
18 /opt/xos/xos_configuration/xos_common_config:
19 type: tosca.nodes.XOSVolume
20 properties:
21 host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] }
22 read_only: false
23 requirements:
24 - xos:
25 node: xos
26 relationship: tosca.relationships.UsedByXOS
Matteo Scandolo74a062a2016-09-23 14:15:06 -070027
28 /opt/xos/xos_configuration/xos_ecord_config:
29 type: tosca.nodes.XOSVolume
30 properties:
31 host_path: { path_join: [ SELF, CONFIG_DIR, ./xos_ecord_config, ENV_VAR ] }
32 read_only: true
33 requirements:
34 - xos:
35 node: xos
36 relationship: tosca.relationships.UsedByXOS