aboutsummaryrefslogtreecommitdiffstats
path: root/templates/ui/tripleo_ui_config.js.erb
blob: cd02798e49261f5f97edea6c2d0196a69d9785f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
window.tripleOUiConfig = {
  // Service URLs (defaults to UI host)
  //
  // A valid Keystone service URL is required. The other endpoints
  // will then be obtained automatically from the Keystone catalog.
  //
  'keystone': '<%= @endpoint_config_keystone %>',
  'heat': '<%= @endpoint_config_heat %>',
  'ironic': '<%= @endpoint_config_ironic %>',
  'ironic-inspector': '<%= @endpoint_config_ironic_inspector %>',
  'mistral': '<%= @endpoint_config_mistral %>',
  'swift': '<%= @endpoint_config_swift %>',
  'zaqar-websocket': '<%= @endpoint_config_zaqar %>',

  // Default websocket queue name
  'zaqar_default_queue': '<%= @zaqar_default_queue %>',

  // Languages
  // If you choose more than one language, a language switcher will appear in
  // the navigation bar.
  // Only 'en' (English) is enabled by default.
  'languages': <%= @enabled_languages.to_json %>,

  // Logging
  // 'loggers': ['console']
};