mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-15 19:17:02 +02:00
* setup PKI Ember engine * clean up SecretListHeader and add documentation. * move secret-list-header to addon folder * move options-for-backend helper * fix all for SecretListHeader to work * use secretListHeaderTab by moving to adodn. * add overview empty state * clean up * the tabs template and hbs route files * routing for tidy and configure, still some questions for design * wip * clean up from merge and past pr * add create index route * clean up comment * routing rework after discussion with Jordan * cleanup * remove app folder * change names on js files for debugging
46 lines
1.2 KiB
JavaScript
46 lines
1.2 KiB
JavaScript
import buildRoutes from 'ember-engines/routes';
|
|
|
|
export default buildRoutes(function () {
|
|
this.route('overview');
|
|
this.route('configuration', function () {
|
|
this.route('index', { path: '/' });
|
|
this.route('tidy');
|
|
this.route('create', function () {
|
|
this.route('index', { path: '/' });
|
|
this.route('import-ca');
|
|
this.route('generate-root');
|
|
this.route('generate-csr');
|
|
});
|
|
this.route('edit');
|
|
this.route('details');
|
|
});
|
|
this.route('roles', function () {
|
|
this.route('create');
|
|
this.route('role', { path: '/:name' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
});
|
|
});
|
|
this.route('issuers', function () {
|
|
this.route('create');
|
|
this.route('issuer', { path: '/:name' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
});
|
|
});
|
|
this.route('certificates', function () {
|
|
this.route('create');
|
|
this.route('certificate', { path: '/:name' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
});
|
|
});
|
|
this.route('keys', function () {
|
|
this.route('create');
|
|
this.route('key', { path: '/:name' }, function () {
|
|
this.route('details');
|
|
this.route('edit');
|
|
});
|
|
});
|
|
});
|