blob: 25f45b243179612de5a8e8ccf3efeeda5e1cd953 [file] [log] [blame]
Matteo Scandolo6050fda2017-02-16 13:01:52 -08001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Persist xos-sample-gui-extension
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
10
11 # UI Extension
12{% for ext in enabled_gui_extensions %}
13 {{ext.name}}:
14 type: tosca.nodes.XOSGuiExtension
15 properties:
Matteo Scandolo13a99882017-08-01 13:31:42 -070016 files: /xos/extensions/{{ext.name}}/vendor.js, /xos/extensions/{{ext.name}}/app.js {% if ext.extra_files is defined %}{% for file in ext.extra_files%}, /xos/extensions/{{ext.name}}/{{file}} {% endfor %}{% endif %}
Matteo Scandolo6050fda2017-02-16 13:01:52 -080017{% endfor %}