open-vault/ui/lib/kmip/addon/engine.js
Hamid Ghaf 27bb03bbc0
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

35 lines
720 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from './resolver';
import config from './config/environment';
const { modulePrefix } = config;
/* eslint-disable ember/avoid-leaking-state-in-ember-objects */
const Eng = Engine.extend({
modulePrefix,
Resolver,
dependencies: {
services: [
'auth',
'download',
'flash-messages',
'namespace',
'path-help',
'router',
'store',
'version',
'secret-mount-path',
],
externalRoutes: ['secrets'],
},
});
loadInitializers(Eng, modulePrefix);
export default Eng;