2022-09-02 18:17:13 +00:00
|
|
|
import buildRoutes from 'ember-engines/routes';
|
|
|
|
|
|
|
|
export default buildRoutes(function () {
|
|
|
|
this.route('overview');
|
2022-09-10 00:01:47 +00:00
|
|
|
this.route('configuration', function () {
|
|
|
|
this.route('tidy');
|
2022-11-18 00:50:58 +00:00
|
|
|
this.route('create');
|
2022-09-10 00:01:47 +00:00
|
|
|
this.route('edit');
|
|
|
|
});
|
|
|
|
this.route('roles', function () {
|
2022-09-20 15:25:57 +00:00
|
|
|
this.route('index', { path: '/' });
|
2022-09-10 00:01:47 +00:00
|
|
|
this.route('create');
|
2022-11-18 00:50:58 +00:00
|
|
|
this.route('role', { path: '/:role' }, function () {
|
2022-09-10 00:01:47 +00:00
|
|
|
this.route('details');
|
|
|
|
this.route('edit');
|
2022-11-18 00:50:58 +00:00
|
|
|
this.route('generate');
|
|
|
|
this.route('sign');
|
2022-09-10 00:01:47 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
this.route('issuers', function () {
|
2022-09-20 15:25:57 +00:00
|
|
|
this.route('index', { path: '/' });
|
2022-11-18 00:50:58 +00:00
|
|
|
this.route('import');
|
|
|
|
this.route('generate-root');
|
|
|
|
this.route('generate-intermediate');
|
|
|
|
this.route('issuer', { path: '/:issuer_ref' }, function () {
|
2022-09-10 00:01:47 +00:00
|
|
|
this.route('details');
|
|
|
|
this.route('edit');
|
2022-11-18 00:50:58 +00:00
|
|
|
this.route('sign');
|
|
|
|
this.route('cross-sign');
|
2022-09-10 00:01:47 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
this.route('certificates', function () {
|
2022-09-20 23:22:37 +00:00
|
|
|
this.route('index', { path: '/' });
|
2022-11-18 00:50:58 +00:00
|
|
|
this.route('certificate', { path: '/:serial' }, function () {
|
2022-09-10 00:01:47 +00:00
|
|
|
this.route('details');
|
|
|
|
this.route('edit');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.route('keys', function () {
|
2022-09-21 14:41:44 +00:00
|
|
|
this.route('index', { path: '/' });
|
2022-11-18 00:50:58 +00:00
|
|
|
this.route('create');
|
2022-09-21 14:41:44 +00:00
|
|
|
this.route('import');
|
2022-11-23 19:45:49 +00:00
|
|
|
this.route('key', { path: '/:key_id' }, function () {
|
2022-09-10 00:01:47 +00:00
|
|
|
this.route('details');
|
|
|
|
this.route('edit');
|
|
|
|
});
|
|
|
|
});
|
2022-09-02 18:17:13 +00:00
|
|
|
});
|