import Application from '@ember/application';
import Resolver from 'ember-resolver';
import loadInitializers from 'ember-load-initializers';
import config from 'vault/config/environment';
export default class App extends Application {
modulePrefix = config.modulePrefix;
podModulePrefix = config.podModulePrefix;
Resolver = Resolver;
engines = {
openApiExplorer: {
dependencies: {
services: ['auth', 'flash-messages', 'namespace', 'router', 'version'],
},
replication: {
services: [
'auth',
'flash-messages',
'namespace',
'replication-mode',
'router',
'store',
'version',
'wizard',
],
externalRoutes: {
replication: 'vault.cluster.replication.index',
kmip: {
'download',
'path-help',
'secret-mount-path',
secrets: 'vault.cluster.secrets.backends',
kubernetes: {
services: ['router', 'store', 'secret-mount-path', 'flashMessages'],
pki: {
};
}
loadInitializers(App, config.modulePrefix);