mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-23 23:51:08 +02:00
* replication gets its own subnav * glimmerize replication-summary-card * Simplify replication-summary-card * update replication subnav + tests * replication action block uses HDS card * add/update test selectors * test coverage * Add changelog * Update defaults on replication-summary-card * test that the view updates between replication types * typo
34 lines
713 B
JavaScript
34 lines
713 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
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',
|
|
'flash-messages',
|
|
'namespace',
|
|
'replication-mode',
|
|
'router',
|
|
'store',
|
|
'version',
|
|
'-portal',
|
|
],
|
|
externalRoutes: ['replication', 'vault'],
|
|
},
|
|
});
|
|
|
|
loadInitializers(Eng, modulePrefix);
|
|
|
|
export default Eng;
|