deb.open-vault/ui/lib/pki/addon/engine.js

35 lines
741 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Engine from '@ember/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from 'ember-resolver';
import config from './config/environment';
const { modulePrefix } = config;
export default class PkiEngine extends Engine {
modulePrefix = modulePrefix;
Resolver = Resolver;
dependencies = {
services: [
'auth',
'download',
'flash-messages',
'namespace',
'path-help',
'router',
'secret-mount-path',
'store',
'version',
],
externalRoutes: ['secrets', 'secretsListRootConfiguration', 'externalMountIssuer'],
};
}
loadInitializers(PkiEngine, modulePrefix);