Matteo Scandolo | 6050fda | 2017-02-16 13:01:52 -0800 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Persist xos-sample-gui-extension |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_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 Scandolo | 13a9988 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 16 | 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 Scandolo | 6050fda | 2017-02-16 13:01:52 -0800 | [diff] [blame] | 17 | {% endfor %} |