[CORD-988] Adding GUI and REST config files
Updating apache cord config and using it in local vagrant
Change-Id: I634ccc75a119c7e0cdb9549c488dda95e36bd840
diff --git a/roles/cord-profile/templates/onboard-xos-gui.yaml.j2 b/roles/cord-profile/templates/onboard-xos-gui.yaml.j2
index 48dcc1b..e2dd0d3 100644
--- a/roles/cord-profile/templates/onboard-xos-gui.yaml.j2
+++ b/roles/cord-profile/templates/onboard-xos-gui.yaml.j2
@@ -15,6 +15,28 @@
image: xosproject/xos-gui
ports: 4000:4000
+ # UI App Config
+ /var/www/dist/app.config.js:
+ type: tosca.nodes.ComponentVolume
+ properties:
+ host_path: {{ cord_profile_dir }}/app.config.js
+ read_only: false
+ requirements:
+ - xos:
+ node: xos-spa-gui
+ relationship: tosca.relationships.VolumeOfComponent
+
+ # UI Style Config
+ /var/www/dist/style.config.js:
+ type: tosca.nodes.ComponentVolume
+ properties:
+ host_path: {{ cord_profile_dir }}/style.config.js
+ read_only: false
+ requirements:
+ - xos:
+ node: xos-spa-gui
+ relationship: tosca.relationships.VolumeOfComponent
+
gui-to-chameleon:
type: tosca.nodes.ComponentLink
properties: