[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/style.config.js.j2 b/roles/cord-profile/templates/style.config.js.j2
new file mode 100644
index 0000000..01a7624
--- /dev/null
+++ b/roles/cord-profile/templates/style.config.js.j2
@@ -0,0 +1,19 @@
+angular.module('app')
+ .constant('StyleConfig', {
+ projectName: '{{ gui_project_name }}',
+ favicon: '{{ gui_favicon }}',
+ background: '{{ gui_background }}',
+ payoff: '{{ gui_payoff }}',
+ logo: '{{ gui_logo }}',
+ routes: [
+ {% for route in gui_routes %}
+ {
+ label: '{{ route.label }}',
+ state: '{{ route.state }}',
+ {% if route.parent is defined %}
+ parent: '{{ route.parent }}'
+ {% endif %}
+ },
+ {% endfor %}
+ ]
+});
\ No newline at end of file