[CORD-1631] Adding extra files to gui extensions

Change-Id: I5268d9e34a859365c13087430a53d63711621b11
diff --git a/roles/cord-profile/templates/xos-gui-extensions.yml.j2 b/roles/cord-profile/templates/xos-gui-extensions.yml.j2
index 75105df..8d11a8a 100644
--- a/roles/cord-profile/templates/xos-gui-extensions.yml.j2
+++ b/roles/cord-profile/templates/xos-gui-extensions.yml.j2
@@ -13,5 +13,6 @@
     {{ext.name}}:
       type: tosca.nodes.XOSGuiExtension
       properties:
-        files: /xos/extensions/{{ext.name}}/vendor.js, /xos/extensions/{{ext.name}}/app.js
+        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 %}
diff --git a/roles/xos-gui-extension-build/templates/xos-gui-extensions.yml.j2 b/roles/xos-gui-extension-build/templates/xos-gui-extensions.yml.j2
index 6b5be5e..25f45b2 100644
--- a/roles/xos-gui-extension-build/templates/xos-gui-extensions.yml.j2
+++ b/roles/xos-gui-extension-build/templates/xos-gui-extensions.yml.j2
@@ -13,5 +13,5 @@
     {{ext.name}}:
       type: tosca.nodes.XOSGuiExtension
       properties:
-        files: /spa/extensions/{{ext.name}}/vendor.js, /spa/extensions/{{ext.name}}/app.js
+        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 %}