summaryrefslogtreecommitdiffstats
path: root/templates/ui
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ui')
-rw-r--r--templates/ui/tripleo_ui_config.js.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/ui/tripleo_ui_config.js.erb b/templates/ui/tripleo_ui_config.js.erb
new file mode 100644
index 0000000..aca21cd
--- /dev/null
+++ b/templates/ui/tripleo_ui_config.js.erb
@@ -0,0 +1,14 @@
+window.tripleOUiConfig = {
+ "keystone": "<%= @keystone_url %>",
+
+ // The UI automatically discovers below URLs by querying keystone but can be
+ // changed here if desired.
+ //"heat": "<%= @heat_url %>",
+ //"ironic": "<%= @ironic_url %>",
+ //"mistral": "<%= @mistral_url %>",
+ //"swift": "<%= @swift_url %>",
+ //"zaqar_websocket_url": "<%= @zaqar_websocket_url %>",
+
+ // Default websocket queue name
+ "zaqar_default_queue": "<%= @zaqar_default_queue %>"
+};