blob: 8d11a8ab2d25716a2ec1915c6f2b6e7dcbc67916 [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 %}