puppet-tripleo/templates/ui/tripleo_ui_config.js.erb
Honza Pokorny 5158c7ab16 Add a new configuration option for GUI loggers
This allows us to set up logging for the TripleO GUI.  By default, it enables
the 'console' and 'zaqar' loggers.

Change-Id: Iafc874643c29e63ff670831fe80f6601c3051865
Closes-Bug: #1716458
2017-09-18 08:19:43 -03:00

28 lines
907 B
Plaintext

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
//
// By default, all available languages are enabled. Use this setting to
// disable certain languages.
//
'excludedLanguages': <%= @excluded_languages.to_json %>,
// Logging
'loggers': <%= @enabled_loggers.to_json %>
};