blob: 25f45b243179612de5a8e8ccf3efeeda5e1cd953 [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
description: Persist xos-sample-gui-extension
imports:
- custom_types/xos.yaml
topology_template:
node_templates:
# UI Extension
{% for ext in enabled_gui_extensions %}
{{ext.name}}:
type: tosca.nodes.XOSGuiExtension
properties:
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 %}
{% endfor %}