-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #340 from smiclea/CORWEB-189
Move UI configuration file to server side
- Loading branch information
Showing
57 changed files
with
341 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// @flow | ||
|
||
import type { Config } from './src/types/Config' | ||
|
||
const conf: Config = { | ||
|
||
// The list of pages which will not appear in the navigation menu | ||
// Remove or comment to enable them | ||
disabledPages: [ | ||
'planning', | ||
'users', | ||
'projects', | ||
], | ||
|
||
// Whether to show the user domain name input when logging in | ||
showUserDomainInput: false, | ||
|
||
// The default user domain name used for logging in | ||
defaultUserDomain: 'default', | ||
|
||
// Shows the 'Use Current User/Project/Domain for Authentification' switch | ||
// when creating a new openstack endpoint | ||
showOpenstackCurrentUserSwitch: false, | ||
|
||
// Whether to use Barbican secrets when creating a new endpoint | ||
useBarbicanSecrets: true, | ||
|
||
// The timeout between polling requests | ||
requestPollTimeout: 5000, | ||
|
||
// The list of providers which offer storage listing | ||
storageProviders: ['openstack', 'azure'], | ||
|
||
// The list of providers which offer source options | ||
sourceOptionsProviders: ['aws'], | ||
|
||
// - Specifies the `limit` for each provider when listing all its VMs for pagination. | ||
// - If the provider is not in this list, the 'default' value will be used. | ||
// - If the `default` value is lower than the number of instances that fit into a page, the latter number will be used. | ||
// - `Infinity` value means no `limit` will be used, i.e. all VMs will be listed. | ||
instancesListBackgroundLoading: { default: 10, ovm: Infinity }, | ||
|
||
// A list of providers for which `destination-options` API call(s) will be made | ||
// If the item is just a string with the provider name, only one API call will be made | ||
// If the item has `envRequiredFields`, an additional API call will be made once the specified fields are filled | ||
providersWithExtraOptions: [ | ||
'openstack', | ||
'oracle_vm', | ||
{ | ||
name: 'azure', | ||
envRequiredFields: ['location', 'resource_group'], | ||
}, | ||
{ | ||
name: 'oci', | ||
envRequiredFields: ['compartment', 'availability_domain'], | ||
}, | ||
], | ||
} | ||
|
||
export const config = conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.