[CORD-1631] Adding extra files to gui extensions

Change-Id: I5268d9e34a859365c13087430a53d63711621b11
diff --git a/profile_manifests/mock-ecord-global.yml b/profile_manifests/mock-ecord-global.yml
index 46927ed..b4a471b 100644
--- a/profile_manifests/mock-ecord-global.yml
+++ b/profile_manifests/mock-ecord-global.yml
@@ -36,6 +36,8 @@
 enabled_gui_extensions:
   - name: metro-net-gui
     path: orchestration/xos_services/metro-net/xos/gui
+    extra_files:
+      - app/style/style.css
 
 # paths defined in manifest/default.xml
 xos_services:
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 %}