OLD | NEW |
1 /* | 1 /* |
2 This file is part of the Juju GUI, which lets users view and manage Juju | 2 This file is part of the Juju GUI, which lets users view and manage Juju |
3 environments within a graphical interface (https://launchpad.net/juju-gui). | 3 environments within a graphical interface (https://launchpad.net/juju-gui). |
4 Copyright (C) 2012-2013 Canonical Ltd. | 4 Copyright (C) 2012-2013 Canonical Ltd. |
5 | 5 |
6 This program is free software: you can redistribute it and/or modify it under | 6 This program is free software: you can redistribute it and/or modify it under |
7 the terms of the GNU Affero General Public License version 3, as published by | 7 the terms of the GNU Affero General Public License version 3, as published by |
8 the Free Software Foundation. | 8 the Free Software Foundation. |
9 | 9 |
10 This program is distributed in the hope that it will be useful, but WITHOUT | 10 This program is distributed in the hope that it will be useful, but WITHOUT |
(...skipping 22 matching lines...) Expand all Loading... |
33 // The config has three socket settings. socket_port and socket_protocol | 33 // The config has three socket settings. socket_port and socket_protocol |
34 // modify the current application url to determine the websocket url (always | 34 // modify the current application url to determine the websocket url (always |
35 // adding "/ws" as the final path). socket_url sets the entire websocket | 35 // adding "/ws" as the final path). socket_url sets the entire websocket |
36 // url. For backwards compatibility in the GUI charm, if you provide the | 36 // url. For backwards compatibility in the GUI charm, if you provide the |
37 // socket port and/or protocol *and* the socket_url, the socket_url will be | 37 // socket port and/or protocol *and* the socket_url, the socket_url will be |
38 // ignored (the port/protocol behavior overrides socket_url). | 38 // ignored (the port/protocol behavior overrides socket_url). |
39 socket_protocol: 'ws', | 39 socket_protocol: 'ws', |
40 socket_port: 8081, | 40 socket_port: 8081, |
41 user: 'admin', | 41 user: 'admin', |
42 password: 'admin', | 42 password: 'admin', |
43 apiBackend: 'python', // Value can be 'python' or 'go'. | 43 apiBackend: 'go', // Value can be 'python' or 'go'. |
44 sandbox: true, | 44 sandbox: true, |
45 // When in sandbox mode should we create events to simulate a live env. | 45 // When in sandbox mode should we create events to simulate a live env. |
46 // You can also use the :flags:/simulateEvents feature flag. | 46 // You can also use the :flags:/simulateEvents feature flag. |
47 // There is also a hotkey to toggle the simulator. | 47 // There is also a hotkey to toggle the simulator. |
48 simulateEvents: true, | 48 simulateEvents: true, |
49 readOnly: false, | 49 readOnly: false, |
50 // Enable Google Analytics usage and calls. Also implies using cookies. | 50 // Enable Google Analytics usage and calls. Also implies using cookies. |
51 // For the debug configuration, analytics should generally be false to | 51 // For the debug configuration, analytics should generally be false to |
52 // prevent muddying the gathered statistics. | 52 // prevent muddying the gathered statistics. |
53 useAnalytics: false, | 53 useAnalytics: false, |
54 login_help: 'For this demonstration, use the password "admin" to connect.', | 54 login_help: 'For this demonstration, use the password "admin" to connect.', |
55 isJujucharms: false, | 55 isJujucharms: false, |
56 defaultViewmode: 'sidebar', | 56 defaultViewmode: 'sidebar', |
57 // Switches the logout button to a 'Get Juju' button | 57 // Switches the logout button to a 'Get Juju' button |
58 showGetJujuButton: false | 58 showGetJujuButton: false |
59 }; | 59 }; |
OLD | NEW |