mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-23 11:41:24 +01:00
* missed a relationship * send full payload of an edit database connection * add role to Pki certificate * use latest patch for ember/test-helpers * clarify language on check-issuers decorator * fix redirect from vault route * add check that oidc provider is set up correctly --------- Co-authored-by: Chelsea Shaw <cshaw@hashicorp.com>
24 lines
561 B
JavaScript
24 lines
561 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Route from '@ember/routing/route';
|
|
import { inject as service } from '@ember/service';
|
|
import { withConfig } from 'pki/decorators/check-issuers';
|
|
import { hash } from 'rsvp';
|
|
|
|
@withConfig()
|
|
export default class PkiTidyRoute extends Route {
|
|
@service store;
|
|
|
|
model() {
|
|
const engine = this.modelFor('application');
|
|
return hash({
|
|
hasConfig: this.pkiMountHasConfig,
|
|
engine,
|
|
autoTidyConfig: this.store.findRecord('pki/tidy', engine.id),
|
|
});
|
|
}
|
|
}
|